Francois Lepretre
2010-Aug-25 10:09 UTC
[Samba] Windows 7 with smb2 can not connect as guest ?
Hello, on our servers we have shares with no authentication required (no DC, security = share, guest ok = yes). Worked fine for years, but now with Samba 3.5.4, when I enable smb2, Windows 7 clients can not connect anymore to these shares. Looking at the logs, I can see : [...] [2010/08/25 10:13:08.058358, 3] auth/auth_sam.c:399(check_sam_security) check_sam_security: Couldn't find user 'comp2_2' in passdb. [2010/08/25 10:13:08.058371, 5] auth/auth.c:268(check_ntlm_password) check_ntlm_password: sam authentication for user [comp2_2] FAILED with error NT_STATUS_NO_SUCH_USER [2010/08/25 10:13:08.058386, 2] auth/auth.c:314(check_ntlm_password) check_ntlm_password: Authentication for user [comp2_2] -> [comp2_2] FAILED with error NT_STATUS_NO_SUCH_USER [...] So it seems Samba tries to authenticate the user whereas it's a 'guest ok' share. In the meantime, XP clients have no problem connecting. Here is the smb.conf : ----------------------------------- [global] workgroup = WIZZ server string = Prod1bis File Server %v log file = /var/log/samba/log.%m max log size = 50 max protocol = smb2 log level = 10 security = share encrypt passwords = yes dns proxy = no guest account = root load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes getwd cache = yes [partage] comment = Partage browseable = yes writable = yes path = /space/partage guest ok = yes ----------------------------------- Any idea ? Thanks in advance for your help, Francois
Jeremy Allison
2010-Aug-25 17:39 UTC
[Samba] Windows 7 with smb2 can not connect as guest ?
On Wed, Aug 25, 2010 at 12:09:12PM +0200, Francois Lepretre wrote:> Hello, > > on our servers we have shares with no authentication required (no > DC, security = share, guest ok = yes). > > Worked fine for years, but now with Samba 3.5.4, when I enable smb2, > Windows 7 clients can not connect anymore to these shares.I'd recommend not enabling SMB2 on 3.5.x, it's not ready for production use. SMB2 will be production ready in 3.6.0. Jeremy.