Kinn Joy
2015-May-25 14:45 UTC
[Samba] Windows 7 client trying to authenticate with windows machine name
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. Regards, Kin
Kinn Joy
2015-May-25 18:06 UTC
[Samba] Windows 7 client trying to authenticate with windows machine name
Well, this is some ugly text formating, let me fix that :)? ## 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)? Hope someone will have an idea :) Thanks. Kin Le Lundi 25 mai 2015 16h49, Kinn Joy <kieran.joyeux at yahoo.fr> a ?crit : 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. Regards, Kin -- To unsubscribe from this list go to the following URL and read the instructions:? https://lists.samba.org/mailman/options/samba
Kinn Joy
2015-May-26 11:37 UTC
[Samba] Windows 7 client trying to authenticate with windows machine name
Gents, Any clue on what could be the problem and how to solve it ? My conf and error inside the following pastebin : smb error win7 - Pastebin.com | ? | | ? | | ? | ? | ? | ? | ? | | smb error win7 - Pastebin.com## Samba Conf ## [global] ? ?workgroup = plop ? ?server string = %h serveur ? ?security = user ? ? ?netbios name = plop ? ?dns proxy = no ? ?log file = /var/log/sam... | | | | Afficher sur pastebin.com | Aper?u par Yahoo | | | | ? | Thanks a lot. Regards, Kin Le Lundi 25 mai 2015 20h10, Kinn Joy <kieran.joyeux at yahoo.fr> a ?crit : Well, this is some ugly text formating, let me fix that :)? ## 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)? Hope someone will have an idea :) Thanks. Kin ? ? Le Lundi 25 mai 2015 16h49, Kinn Joy <kieran.joyeux at yahoo.fr> a ?crit : ? 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. Regards, Kin -- To unsubscribe from this list go to the following URL and read the instructions:? https://lists.samba.org/mailman/options/samba ? -- To unsubscribe from this list go to the following URL and read the instructions:? https://lists.samba.org/mailman/options/samba
Jeremy Allison
2015-May-26 20:30 UTC
[Samba] Windows 7 client trying to authenticate with windows machine name
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 '$'.
Kinn Joy
2015-May-27 07:25 UTC
[Samba] Windows 7 client trying to authenticate with windows machine name
You are right, it's the windows user it's using. Le Mardi 26 mai 2015 22h30, Jeremy Allison <jra at samba.org> a ?crit : 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 '$'.
Possibly Parallel Threads
- Windows 7 client trying to authenticate with windows machine name
- Windows 7 client trying to authenticate with windows machine name
- Windows 7 client trying to authenticate with windows machine name
- [PATCH] ifplop.c32: Detect if PLoP USB/CD INT13h hook is enabled/disabled
- Driver for Powercom BNT/KIN/IMP/IMD series