[Samba] Howto Samba and Win2K?

Daniel S. Carlson dcarlson at mdtglobal.com
Sat Feb 23 13:32:03 GMT 2002


smb.conf does in fact reside in /etc/samba.  Checked rechecked permissions
are
[root at mail samba]# cd /etc/samba
[root at mail samba]# pwd
/etc/samba
[root at mail samba]# ls -l
total 14
-rw-r--r--    1 root     root           65 Feb 19 18:45 lmhosts
-rw-r--r--    1 root     root           41 Feb 12 06:57 MACHINE.SID
-rw-------    1 root     root         8192 Feb 21 09:04 secrets.tdb
-rw-r--r--    1 root     root          953 Feb 20 19:20 smb.conf
-rw-------    1 root     root          523 Feb 21 09:04 smbpasswd
-rw-r--r--    1 root     root          117 Feb 19 19:41 smbusers
-rw-r--r--    1 root     root           29 Feb 20 15:36 user.map

[root at mail samba]# cd /var/log/samba
[root at mail samba]# pwd
/var/log/samba
[root at mail samba]# ls -l
total 128
-rw-rw-rw-    1 root     root            5 Feb 19 19:15 log.daniel
-rw-rw-rw-    1 root     root            0 Feb 19 19:15 log.linux
-rw-r--r--    1 root     root         4624 Feb 20 19:16 log.nmbd
-rw-r--r--    1 root     root          754 Feb 17 04:02 log.nmbd.1.gz
-rw-r--r--    1 root     root          461 Feb 12 04:02 log.nmbd.2.gz
-rw-r--r--    1 root     root         4532 Feb 21 12:27 log.smbd
-rw-r--r--    1 root     root          375 Feb 17 04:02 log.smbd.1.gz
-rw-r--r--    1 root     root          117 Feb 11 21:20 log.smbd.2.gz
-rw-r--r--    1 root     root        87356 Feb 20 17:06 log.smbd.old

-----Original Message-----
From: Brian Ipsen [mailto:Brian.Ipsen at andebakken.dk]
Sent: Saturday, February 23, 2002 2:37 PM
To: 'Daniel S. Carlson'
Subject: RE: [Samba] Howto Samba and Win2K?


Hi!

 Your logfile says a lot:

>   Unable to open new log file /var/log/samba/log.linux: No
> such file or directory

Does this directory/path exist ? From the errors it looks like the directory
named samba doesn't exist in /var/log

>   params.c:OpenConfFile() - Unable to open configuration file
> "/etc/samba/smb.conf":
>         No such file or directory

Is your configuration file located as /etc/samba/smb.conf ? If not, place it
there.

/Brian

> -----Original Message-----
> From: samba-admin at lists.samba.org
> [mailto:samba-admin at lists.samba.org]On
> Behalf Of Daniel S. Carlson
> Sent: 23. februar 2002 21:01
> To: samba at lists.samba.org
> Subject: [Samba] Howto Samba and Win2K?
>
>
> I've got a home network with using win2k pro.  Do I need to
> set Samba up as
> a pdc for the w2k machines to connect?  Currently I've got my
> w2k machines
> set up as a workgroup and simply set up Samba as a member of
> that workgroup.
> My problem is that I cannot connect to it.  I see my samba
> box in my network
> neighborhood, however, I cannot browse it.  I'm running Samba
> 2.2.2 that
> came with Mandrake 8.1
>
>
> My smb.conf
>
> # Global parameters
> [global]
>         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
>
> [public]
>         path = /usr/samba/public
>         read only = No
>         create mask = 0766
>         guest ok = Yes
>
> When attemt to connect, I get this in my log.smbd
>
> [2002/02/21 09:04:51, 0] lib/debug.c:reopen_logs(337)
>   Unable to open new log file /var/log/samba/log.linux: No
> such file or
> directory
> [2002/02/21 09:04:51, 0] param/params.c:OpenConfFile(543)
>   params.c:OpenConfFile() - Unable to open configuration file
> "/etc/samba/smb.conf":
>         No such file or directory
> [2002/02/21 09:04:51, 0] lib/debug.c:reopen_logs(337)
>   Unable to open new log file /var/log/samba/log.linux: No
> such file or
> directory
> [2002/02/21 09:04:51, 0] lib/debug.c:reopen_logs(337)
>   Unable to open new log file /var/log/samba/log.linux: No
> such file or
> directory
> [2002/02/21 09:04:51, 0] lib/debug.c:reopen_logs(337)
>   Unable to open new log file /var/log/samba/log.linux: No
> such file or
> directory
> [2002/02/21 09:04:51, 0] lib/debug.c:reopen_logs(337)
>   Unable to open new log file /var/log/samba/log.linux: No
> such file or
> directory
>
> Any ideas?
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





More information about the samba mailing list