Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#54 closed defect (fixed)

SWAT can neither start nor stop the Samba daemons

Reported by: Herwig Bauernfeind Owned by: Silvan Scherrer
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 by Yuri Dario, 17 years ago

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 by Yuri Dario, 16 years ago

Milestone: Samba Server for OS/2 1.0.1

comment:3 by Silvan Scherrer, 16 years ago

Owner: changed from Paul Smedley to Silvan Scherrer
Priority: majorminor
Status: newassigned

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

comment:4 by Silvan Scherrer, 16 years ago

Resolution: fixed
Status: assignedclosed

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

final fix after a lot of fiddeling around :)

comment:5 by Herwig Bauernfeind, 16 years ago

Version: 3.0.28

comment:6 by Herwig Bauernfeind, 16 years ago

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