SMB2: Windows 7 users without passwd cannot connect
Server (TESTBAK) configuration:
Ubuntu 12.10 minimal CD install
samba package version 2:3.6.6-3ubuntu5
minimalistic smb.conf contains:
[global]
workgroup = THUISNET
null paswords = yes
max protocol = SMB2
log level = 3
[Testshare]
comment = Quite volatile
path = /tmp/
Client (INTREPID, 10.39.94.9) configuration:
Windows 7 Professional 64 bit
Attempt from user RuudTrudy to browse TESTBAK fails.
/var/log/
[2012/12/30 13:41:20.574134, 3] lib/access.
Allowed connection from 10.39.94.9 (10.39.94.9)
[2012/12/30 13:41:20.574341, 3] smbd/oplock.
init_oplocks: initializing messages.
[2012/12/30 13:41:20.574452, 3] smbd/oplock_
Linux kernel oplocks enabled
[2012/12/30 13:41:20.574644, 3] smbd/process.
Transaction 0 of length 108 (0 toread)
[2012/12/30 13:41:20.576672, 3] ../libcli/
Got NTLMSSP neg_flags=
[2012/12/30 13:41:20.577432, 3] ../libcli/
Got user=[RuudTrudy] domain=[Intrepid] workstation=
[2012/12/30 13:41:20.577597, 3] auth/auth.
check_
[2012/12/30 13:41:20.577661, 3] auth/auth.
check_
[2012/12/30 13:41:20.578230, 3] passdb/
Forcing Primary Group to 'Domain Users' for RuudTrudy
[2012/12/30 13:41:20.578411, 3] auth/check_
Account for user 'RuudTrudy' has no password and null passwords are allowed.
[2012/12/30 13:41:20.578761, 3] auth/auth.
check_
[2012/12/30 13:41:20.578853, 2] auth/auth.
check_
[2012/12/30 13:41:20.579028, 3] auth/token_
Failed to fetch domain sid for THUISNET
[2012/12/30 13:41:20.579166, 3] auth/token_
Failed to fetch domain sid for THUISNET
[2012/12/30 13:41:20.580167, 3] smbd/password.
Adding homes service for user 'RuudTrudy' using home directory: '/home/RuudTrudy'
[2012/12/30 13:41:20.580342, 2] smbd/smb2_
Wrong session key length 0 for SMB2 signing
[2012/12/30 13:41:20.580598, 3] smbd/server_
Server exit (NT_STATUS_
Wireshark shows that smbd bluntly closes the connection at this point, leaving the client clueless...
Same user on Windows XP client can connect (but that client does not use SMB2).
Removing max protocol = SMB2 obviously resolves the issue.
So my question:
Does SMB2 protocol prohibit users with empty passwords?
Regards,
Ruud Pendavingh
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu samba Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Ruud Pendavingh for more information if necessary.