[Samba] Log file problems

Daniel S. Carlson daniel at carlsoncomputing.com
Wed Feb 20 18:04:02 GMT 2002

I'm running Mandrake 8.1 with Samba 2.2.2.  Client is W2K.

I'm having a problem where my W2K machine cannot connect to my samba server.
I've found something interesting in my log file.  It says it cannot open
/etc/samba/smb.conf.  However when I run testparm finds it.  Any ideas why I
would get these errors in my log file?

root at mail samba]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
Loaded services file OK.


        workgroup = CCNETWORK
        netbios name = LINUX
        server string = Samba Server %v
        encrypt passwords = Yes
        update encrypted = Yes
        map to guest = Bad User
        root directory = /usr/samba
        log file = /var/log/samba/log.%m
        max log size = 50
        large readwrite = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = lpstat
        preferred master = False
        local master = No
        domain master = False
        printing = cups

        comment = Home Directories
        read only = No
        create mask = 0750
        browseable = No


2002/02/20 19:43:25, 0] lib/debug.c:reopen_logs(337)
  Unable to open new log file /var/log/samba/log.daniel: No such file or
[2002/02/20 19:43:25, 0] param/params.c:OpenConfFile(543)
  params.c:OpenConfFile() - Unable to open configuration file
        No such file or directory

More information about the samba mailing list