[Samba] RES: Problems with public sharing on samba4

Danilo Pessoa Cardoso danilo.cardoso at levelup.com.br
Mon Oct 28 05:51:34 MDT 2013


Guys...help! xD

-------------------------------------------------------------------------------------------------------------------------------

De: Danilo Pessoa Cardoso 
Enviada em: quinta-feira, 24 de outubro de 2013 12:12
Para: 'samba at lists.samba.org'
Assunto: ENC: Problems with public sharing on samba4

Hello guys,
I got a really annoying problem with public sharing on samba4. Here what's happening:
I installed the samba4 packet on a Debian (3.5.0-42-generic). After that I edited the /etc/samba/smb.conf as follows:

[global]
       workgroup = WORKGROUP
        netbios name = dc-000-051
        security = user
        map to guest = Bad User
        guest account = www-data
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65535 SO_SNDBUF=65535 SO_KEEPALIVE
        disable netbios = yes
        dns proxy = no
        default case = lower
        guest ok = yes
        guest only = yes
        strict sync = no
        sync always = no
        syslog = 1
        syslog only = yes
        load printers = no
        debug timestamp = yes
        hosts allow = ALL
        # Debug Logging Information
        log level = 3
        log file = /var/log/samba.log
        debug timestamp = yes

[webuser01]
        comment = webuser1 workspace
        path = /var/shared/webuser01
        browseable = yes
        read only = no
        guest ok = yes
        force user = www-data
        force group = www-data
        create mask = 0775
        directory mask = 0775

But when I try to access this share on a windows 7 machine, I got a login box and every combination of username and password that I try fails.

On the /var/log/samba.log :

[2013/10/24 11:37:56,  3] ../auth/ntlmssp/ntlmssp_server.c:365(ntlmssp_server_preauth)
  Got user=[danilo.cardoso] domain=[INTERNAL-DOMAIN] workstation=[PC-001-036] len1=24 len2=234
[2013/10/24 11:37:56,  3] ../source4/auth/ntlm/auth.c:297(auth_check_password_send)
  auth_check_password_send: Checking password for unmapped user [INTERNAL-DOMAIN]\[dan.pc]@[WF005-002932]
[2013/10/24 11:37:56,  2] ../source4/dsdb/samdb/cracknames.c:806(DsCrackNameOneFilter)
  DsCrackNameOneFilter domain ref search failed: NULL Base DN invalid for a one-level search
[2013/10/24 11:37:56,  2] ../source4/auth/ntlm/auth_util.c:185(map_user_info_cracknames)
  map_user_info: Cracknames of domain 'INTERNAL-DOMAIN \' -> RESOLVE_ERROR
[2013/10/24 11:37:56,  2] ../source4/auth/ntlm/auth.c:447(auth_check_password_recv)
  auth_check_password_recv: NO_METHOD authentication for user [(null)\(null)] FAILED with error NT_STATUS_NO_SUCH_USER
[2013/10/24 11:37:56,  2] ../auth/gensec/spnego.c:746(gensec_spnego_server_negTokenTarg)
  SPNEGO login failed: NT_STATUS_NO_SUCH_USER

Can you guys help me figure it out what the problem is!?

Thanks

Regards,
Dan


More information about the samba mailing list