[Samba] nmbd logging in 3.0.6 ?

Laurenz, Dirk Dirk.Laurenz at fujitsu-siemens.com
Fri Sep 17 11:10:23 GMT 2004


Hello everybody,
 

-|  -----Original Message-----
-|  From: 
-|  samba-bounces+dirk.laurenz=fujitsu-siemens.com at lists.samba.o
rg [mailto:samba-bounces+dirk.laurenz=fujitsu--|  siemens.com at lists.samba.org] On Behalf Of J. W.Andersen, 
-|  Falster System Teknik
-|  Subject: [Samba] nmbd logging in 3.0.6 ?
-|  
-|  Due to a config typo, I could not find any log.nmbd og log.smbd.
-|  When I realized my own error, I was able to establish
-|  the log.smbd when starting the daemon with the -l (or --logfile)
-|  parameter. This, however, works only for smbd - nmbd seems
-|  to ignore the mentioned parameter totally.
-|  
-|  Cheers, Joern.


i have the same problem. I'm running successfully two server
instances on one host and want to redirect the logfiles for each instance.
This works for smbd but not for nmbd or winbindd. 
(i assume, they ignore the command line -l switch)


Here's a processlist of the running processes:
root      8540     1  0 11:46 ?        00:00:00 /usr/sbin/nmbd -D -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log
root      8546     1  0 11:46 ?        00:00:00 /usr/sbin/smbd -D -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log
root      8547  8546  0 11:46 ?        00:00:00 /usr/sbin/smbd -D -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log
root      8553     1  0 11:46 ?        00:00:05 /usr/sbin/winbindd -B -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log
root      8554  8553  0 11:46 ?        00:00:00 /usr/sbin/winbindd -B -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log
root      8756  8546  0 12:26 ?        00:00:00 /usr/sbin/smbd -D -s /samba/ages001/conf/etc/smb.conf -l /samba/ages001/conf/log



and any log directive from smb.conf
[...]
        log file        = /samba/ages001/conf/log/%m.log
        loglevel        = 10
        lock directory  = /samba/ages001/conf/locks/
        pid directory   = /samba/ages001/conf/pids/
        private dir     = /samba/ages001/conf/private/
        smb passwd file = /samba/ages001/conf/private/smbpasswd
        username map    = /samba/ages001/conf/private/smbusers
        utmp directory  = /samba/ages001/conf/utmp
        wtmp directory  = /samba/ages001/conf/wtmp
[...]

both winbindd and nmbd put there logfiles still into /var/log/samba.
Any help or hint would be appreciated.


Mit freundlichem Gruß,



Dirk Laurenz
Systems Engineer	

Fujitsu Siemens Computers
Sales Central Europe Deutschland 
Professional Service Organisation Nord / Ost

Hildesheimer Strasse 25
30880 Laatzen
Germany

Telephone:	+49 (511) 84 89 - 18 08
Telefax:	+49 (511) 84 89 - 25 18 08
Mobile:	+49 (170) 22 10 781
Email:	mailto:dirk.laurenz at fujitsu-siemens.com
Internet:	http://www.fujitsu-siemens.com
            http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleistungen/competencecenter.html
*******************************************************************************************************************
  


More information about the samba mailing list