Beware: Samba is a hoax

James Thompson jamest at
Fri Feb 5 15:46:28 GMT 1999

On Sat, 6 Feb 1999 alex at wrote:
> testparm provides NO ERRORS

That only checks for invalid configuration names (spelling) as far as I
know.  You can still set conflicting options in the file.

As far as the diagnostics text file.  I haven't read it in a long time so
this stuff might be in there.

Make sure your WinXX clients are only running tcp/ip not netbui (or
whatever it's called).  I remember something about WinXX machines
confusing themselves when more than one protocol was bound to the MS
client.  I run the MS tcp/ip, NIC driver, MS Windows Client and nothing

Here is a working smb.conf built by hand for a CVS version that I have on
a production environment acting as a PDC for some NT workstations. A
slightly modified copy also works on my home lan running on a RH5.1 server
w/ samba 2.0.0 serving Win95 and Win98 clients.

replace the your parts with your data

   workgroup = your-domain
   server string = NT Domain Server
   log file = /path/to/your/log.%m
   max log size = 50

   socket options = TCP_NODELAY 
   hosts allow = 127.
   security = user
   encrypt passwords = yes
   smbpasswd file = /path/to/your/passord/file

   load printers = yes
   printcap name = lpstat

   os level = 33
   local master = yes
   domain master = yes 
   preferred master = yes
   domain logons = yes
   wins support = yes
   dns proxy = yes

   logon path = \\%L\%U\WinNT\profile
   logon home = \\%L\%U
   logon drive = h:
   logon script = network.bat %m

   comment = Home Directories
   browseable = no
   writable = yes

   comment = All Printers
   path = /usr/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

   comment = Network Logon Service
   path = /path/to/your/system/netlogon/dir
   guest ok = yes
   writable = no
   share modes = no

I have experieced no problems with the above setup.  I hope this helps.

James Thompson    138 Cardwell Hall  Manhattan, Ks   66506    785-532-0561 
Kansas State University                          Department of Mathematics

More information about the samba mailing list