samba-users August 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] Windows 7 with smb2 can not connect as gue

[Samba] Windows 7 with smb2 can not connect as guest ?

From: Francois Lepretre <flsamba_at_nospam>
Date: Wed Aug 25 2010 - 10:09:12 GMT


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
[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]

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 :



    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

    comment = Partage
    browseable = yes
    writable = yes
    path = /space/partage
    guest ok = yes


Any idea ?

Thanks in advance for your help,


-- To unsubscribe from this list go to the following URL and read the instructions: