From: David C. <cl...@au...> - 2004-04-16 20:11:38
|
This revisits a topic from a couple years ago; I had to go back and find it. You might be interested to go back to this posting in the archives and follow the thread: http://www-124.ibm.com/pipermail/aixtoolbox-list/2002-July/000975.html Basically, samba can be started via inetd, or it can be started as standalone daemons (in AIX's case via startsrc/stopsrc), but shouldn't be done both ways. No clear answer was better than the other, so our package has it in inetd... but if you prefer the other way, you can remove the entries from /etc/inetd.conf and add them to srcmstr control as described in the aforementioned email link (you don't need to maniuplate ODM manually). On Fri, Apr 16, 2004 at 02:38:01PM +0300, Ema...@te... wrote: > Hello, > > I just installed samba on a 5.2 ML2 IBM 275 Maschine. But I didn't find a > way to start the daemons! > After a while I discovered that sshd is started/stoped with the program > startsrc/stopsrc. Is it possible to do this with samba as well? > I tried a little bit and with: > > odmadd samba-file > > I can add the nmbd/smbd daemons so I can start/stop them with > startsrc/stopsrc after a reboot with a startscript in /etc/rc.d/rc2.d > Maybe this can be included in the next release of samba. > > Bye > Emanuel > > P.S.: The entries in inetd.conf for smbd/nmbd should then be deleted > > > samba-file: > > SRCsubsys: > subsysname = "nmbd" > synonym = "" > cmdargs = "-D -l /var/log/samba" > path = "/usr/sbin/nmbd" > uid = 0 > auditid = 0 > standin = "/dev/console" > standout = "/dev/console" > standerr = "/dev/console" > action = 1 > multi = 0 > contact = 2 > svrkey = 0 > svrmtype = 0 > priority = 20 > signorm = 15 > sigforce = 9 > display = 1 > waittime = 20 > grpname = "samba" > > SRCsubsys: > subsysname = "smbd" > synonym = "" > cmdargs = "-D -l /var/log/samba" > path = "/usr/sbin/smbd" > uid = 0 > auditid = 0 > standin = "/dev/console" > standout = "/dev/console" > standerr = "/dev/console" > action = 1 > multi = 0 > contact = 2 > svrkey = 0 > svrmtype = 0 > priority = 20 > signorm = 15 > sigforce = 9 > display = 1 > waittime = 20 > grpname = "samba" > -- David Clissold cl...@au... |