[Samba] Windows won't send passwd to samba server

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Fri May 31 07:28:02 GMT 2002

Hi CJ,
are you using UNENCRYPTED passwords?  (ie if you do testparm|grep "encrypt
pass"  does it come back and say 
"encrypt passwords = no")  If so, then this is normal windows client
behavior (for later clients like win2k) - they can successfully negotiate
cleartext passwords, but will not actually SEND a cleartext password across
the wire until you respond to a prompt that asks for username password
again.  The first time, it sends a null password (as you see in the trace),
and then when it fails, should ask you for a username and password.  If you
type in the correct username and password then, it should work...
Hope this helps,

-----Original Message-----
From: CJ ferguson [mailto:cjferg at pacbell.net]
Sent: Friday, May 31, 2002 1:13
To: samba at lists.samba.org
Subject: [Samba] Windows won't send passwd to samba server


I cannot get my Windows98 machines to connect to my Samba server(2.2.4)
shares. It appears that my Win machines are not transmitting the password.
The Samba server looks OK. On the server machine, "smbclient -L <server> -U
user1" prompts me for a passwd, then, after authentication, displays the
shares. When I attempt to map a share from my Win machines, the samba log
file shows

  Defaulting to Lanman password for user1
  Null passwords not allowed.
  Rejecting user 'user1': authentication failed
  error string = No such file or directory

I verified the null passwd being sent from the Win machines by turning on
the sniffer(ethereal) on the samba server and looking at the packets coming
through. In packets labeled by the sniffer "Session Setup AndX Request", I
can see the account name, and primary domain name, but when it comes to the
password, the length is set to '1' and the password is set to '00'. I am
using the same login and passwords for both my Linux and Win98 machines.

What am I missing?

I would appreciate any info or insight as to what will help me solve my

CJ Ferguson
fergsffd at yahoo.com

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