[Samba] Windows 7 client trying to authenticate with windows machine name

Jeremy Allison jra at samba.org
Tue May 26 14:30:19 MDT 2015


On Mon, May 25, 2015 at 02:45:14PM +0000, Kinn Joy wrote:
> Hello there. 
> 
> I'm having an issue authenticating a Windows 7 (not in a domain) against a Samba 4.1.17 (debian Jessie). It appears that the client is trying to authenticate using with it's machine name and not the user filled in the auth form. I'm using security = user and I can confirm that the share is working with Win8. Could you check my conf & the error and share me your thoughts ?
>     
> ## Samba Conf ##[global]   workgroup = plop   server string = %h serveur    security = user    netbios name = plop   dns proxy = no   log file = /var/log/samba/log.%m   max log size = 1000   syslog = 0   panic action = /usr/share/samba/panic-action %d   log level = 3   server role = standalone server   passdb backend = tdbsam   obey pam restrictions = yes   unix password sync = yes   passwd program = /usr/bin/passwd %u   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .   pam password change = yes   map to guest = never   map untrusted to domain = Yes   unix charset = UTF-8   dos charset = 850 ## Error MSG ##[2015/05/23 11:35:18.906698,  3] ../source3/auth/auth.c:177(auth_check_ntlm_password)  check_ntlm_password:  Checking password for unmapped user [kin-splio-PC]\[kin-splio]@[KIN-SPLIO-PC] with the new password interface[2015/05/23 11:35:18.906736,  3] ../source3/auth/auth.c:180(auth_check_ntlm_password)  check_ntlm_password:  mapped user is: [ATELIER]\[kin-splio]@[KIN-SPLIO-PC][2015/05/23 11:35:18.906842,  3] ../source3/auth/check_samsec.c:399(check_sam_security)  check_sam_security: Couldn't find user 'kin-splio' in passdb.[2015/05/23 11:35:18.906897,  2] ../source3/auth/auth.c:288(auth_check_ntlm_password)  check_ntlm_password:  Authentication for user [kin-splio] -> [kin-splio] FAILED with error NT_STATUS_NO_SUCH_USER[2015/05/23 11:35:18.906958,  2] ../auth/gensec/spnego.c:743(gensec_spnego_server_negTokenTarg)  SPNEGO login failed: NT_STATUS_NO_SUCH_USER[2015/05/23 11:35:18.965728,  3] ../source3/smbd/server_exit.c:221(exit_server_common)  Server exit (NT_STATUS_END_OF_FILE) 
> Thank you in advance, I have been searching quite some time and it's a real pain. I have seen some reg file to potentially fix the problem but I'm not comfortable with it yet. 

It doesn't look like it from what you've posted. A
machine name ends in '$'.


More information about the samba mailing list