[Samba] clear text password question

Chengjie Liu chengjie at yahoo.com
Thu May 8 20:48:34 GMT 2003


Hi,

This is more like a Windows configuration question.

I set up a samba server (version 2.2.8a) on my Linux system with "user"
security. I got three Windows 2000 systems, one professional, the other
two are servers. Two servers are in same private domain. Now the
professional machines can access Linux samba share without any problem.
But two Windows 2000 server machines can not. I got this error when
using Windows explorer:

The account is not authorized to login from this station.

If I use "net use x: \\linux\share user:/abc", I got this error:

System error 1240 has occurred.

Yes, I did checked "sending unencrypted password" options. From
Administrative Tools ->
Local Security Policy ->
Local Policy->
Security Options ->
Send Unencrypted Password to Connect to 3rd Party SMB Servers, it is
enabled.

>From registry,
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters\enableplaintextpassword
is 0x1.

But neither of above worked for me. I took tcpdump trace at Linux side.
When it's from working Windows 2000 profesional, here is the sequence:

- client started netbios session, server responded back
- client sent "negotiate protocol request"
- server sent "negotiate protocol response" with dialect index 5
(>LANMAN2.1)
and security mode 0x01 (plaintext password)
- client sent "session setup andx request"
- server sent "session setup andx response"
- continued

When it's from non-working Windows 2000 server, this is the sequence.
Note client closed connection after receiving protocol negoiation
results.

- client started netbios session, server responded back
- client sent "negotiate protocol request"
- server sent "negotiate protocol response" with dialect index 5
(>LANMAN2.1)
and security mode 0x01 (plaintext password)
- client closed connection, sent FIN
- client restarted with SYN

Anybody knows why is this?


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


More information about the samba mailing list