Problem with NT and samba - Us too...

Whiffen, Richard (Exchange) whiffen at
Thu Feb 19 19:21:06 GMT 1998

We're having the same problem that Hongwei describes in the second 
half of his message below.  The interesting thing for us is that 
Windows 3.11 users don't see the problem, but Win95 and WinNT users 
do.  Some times when users log in, it asks them for a username and 
password, and often times won't take the username and password.  Other 
times, it works great.  We're stumped.

Some info:
Password server is NT 4.0 SP3

Unix server is SunOS 4.1.4 w/Samba 1.9.17p4


        workgroup = WORKGROUP
        server string = Applications and Home Directory Server
        guest ok = no
        password server = ICI3
        security = server
        local master = no
        lock directory = /var/tmp
        remote announce =

        read only = no
        path = /home6
        create mask = 0775
        admin users = lafko
        comment = User Home Directories for SunOS

Hongwei Li (hongwei at
Wrote on:
Thu, 19 Feb 1998 09:26:30 +1100

I have samba 1.9.17p4 on my Linux box (2.0.33), many Windows NT 
4.0, and a Windows NT server 4.0.  My NT server has service pack3 and 
I set
plain text password for it.
If I set 'security=user' in my smb.conf, NT users can not browse any 
drives on Linux.  I tried many different ways, and eventually found 
ONLY 'security=server' AND 'password server=xxx', where xxx is the 
name of
my NT server, can work.  (That is, if I use my Linux box as xxx, it 
does not
work.)  It is okay if it does not show any problem.  However, from 
time to
time (once or twice a week or so) NT users still have trouble to mount 
drives.  The log files show something like:

switch message SMBsesssetupX (pid 16776)
Domain=[MyDoanName]  NativeOS=[Windows NT 1381] NativeLanMan=[]
password server MyNTserverName rejected the password
02/18/98 14:32:11 error packet at line 537 cmd=115 (SMBsesssetupX) 
02/18/98 14:32:19 Transaction 11 of length 166

no matter how correctly I type my user name and password.  I use the 
password on Linux box and NT server.   Then, I found if I kill smbd 
and nmbd
on samba server, and restart smbd and nmbd, I can immediately mount 
drives without any problem -- I did not touch the NT server.   Does 
have similar experience?  What is the actual reason for that?  What is 
best way to let samba run smoothly?

I appreciate any information and help!

Hongwei Li

Richard C Whiffen
Investment Company Institute
1401 H Street NW
Washington, DC 20005
(202) 326 5992
whiffen at

More information about the samba mailing list