[Samba] NT4 bug with UNICODE servers

Gerald (Jerry) Carter jerry at samba.org
Thu Dec 11 16:05:14 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I thought some people might need to know about this
(https://bugzilla.samba.org/show_bug.cgi?id=815):


Summary :  NT4.0 client can not map drives on a
~           3.0 (cleartext) standalone server


- ------- Comment #4 From Gerald (Jerry) Carter  2003-12-10 13:48

This is an NT4 bug when talking to unicode enabled servers.
Notice the password length values and how the string 'test'
is stored.

The workaround is to set 'unicode = no' in smb.conf.  If
you need extended character support you will have to

~    (a) move to encrypted passwords, or
~    (b) upgrade from Windows NT 4.0

SMB (Server Message Block Protocol)
~    SMB Header
~    Session Setup AndX Request (0x73)
~        Word Count (WCT): 13
~        AndXCommand: Tree Connect AndX (0x75)
~        Reserved: 00
~        AndXOffset: 162
~        Max Buffer: 16644
~        Max Mpx Count: 50
~        VC Number: 1
~        Session Key: 0x0000406e
~        ANSI Password Length: 10
~        ^^^^^^^^^^^^^^^^^^^^^^^^
~        Unicode Password Length: 18255
~        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
~        Reserved: 00000000
~        Capabilities: 0x000000d4
~        Byte Count (BCC): 101
~        ANSI Password: 45740065007300740000
~    Tree Connect AndX Request (0x75)
~        Word Count (WCT): 4
~        AndXCommand: No further commands (0xff)
~        Reserved: 00
~        AndXOffset: 0
~        Flags: 0x0000
~        Password Length: 1
~        Byte Count (BCC): 48
~        Password: 00
~        Path: \\192.168.1.41\PUBLIC
~        Service: A:

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/2JW6IR7qMdg1EfYRAnqkAKDDjCf1/3qmNq7Kxv6jRVLcNKWBPgCgsEVX
dXHtr7pJKByiYcHKo0Be/mo=
=u0z1
-----END PGP SIGNATURE-----



More information about the samba mailing list