Opened 16 years ago

Closed 15 years ago

Last modified 15 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 Changed 16 years ago by Yuri Dario

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

Milestone: Samba Server for OS/2 1.0.1

comment:3 Changed 15 years ago by Silvan Scherrer

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 Changed 15 years ago by Silvan Scherrer

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 Changed 15 years ago by Herwig Bauernfeind

Version: 3.0.28

comment:6 Changed 15 years ago by Herwig Bauernfeind

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.