Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#54 closed defect (fixed)

SWAT can neither start nor stop the Samba daemons

Reported by: herwigb Owned by: diver
Priority: minor Milestone: Samba Server for eCS (OS/2) 1.0.1
Component: Samba Server Version: 3.0.28
Keywords: SWAT cannot start stop smbd nbmd Cc: herwig.bauernfeind@…

Description

SWAT (when run as an Apache 2.28 cgi) is unable to start/stop the Samba daemons smbd.exe, nmbd.exe (and on my private builds also winbindd.exe).

This was tested both with the official 3.0.28 build at changeset 118 level and with my private build at the same level.

No logs attached, as I haven't found out how to create logs from SWAT.

Change History (6)

comment:1 Changed 10 years ago by ydario

from _diver: in http://svn.netlabs.org/samba/browser/branches/samba-3.0/source/web/startstop.c the start of smbd and nmbd uses fork(). but because the parent exits wih exit(0) also the child dies. so spawn() would be better

comment:2 Changed 10 years ago by ydario

  • Milestone set to Samba Server for OS/2 1.0.1

comment:3 Changed 9 years ago by diver

  • Owner changed from psmedley to diver
  • Priority changed from major to minor
  • Status changed from new to assigned

update: in my own tree it works. doing some more tests and if all works well commiting source

comment:4 Changed 9 years ago by diver

  • Resolution set to fixed
  • Status changed from assigned to closed

Changeset http://svn.netlabs.org/samba/changeset/171 fixes this issue.

final fix after a lot of fiddeling around :)

comment:5 Changed 9 years ago by herwigb

  • Version set to 3.0.28

comment:6 Changed 9 years ago by herwigb

  • Summary changed from SWAT can neither start nor stop the Samba daemons (smbd, nmbd, winbindd) to SWAT can neither start nor stop the Samba daemons
Note: See TracTickets for help on using tickets.