Samba username mapping is not working for users with Samba version 3.5.10
(Doc ID 1532392.1)
Last updated on JANUARY 11, 2021
Applies to:Solaris Operating System - Version 10 3/05 to 11.1 [Release 10.0 to 11.0]
Information in this document applies to any platform.
Solaris 10 Samba running version 3.5.10 (Patch 119757-21 installed) would not correctly map a Unix user to a Windows Domain user using the username mapping file.
The user attempting to access the share is repeatedly prompted for the username and password.
The username mapping file created by the administrator was in the format of:
unixuser = DOMAIN.CORP.COM\windowsuser
The log.smbd file, with log level = 3 set in the /etc/samba/smb.conf file's [global] section would record entries such as the following.
[2013/02/11 14:23:30.052099, 3] auth/auth.c:219(check_ntlm_password)
check_ntlm_password: Checking password for unmapped user [DOMAIN]\[windowsuser]@[CLIENT] with the new password interface
[2013/02/11 14:23:30.052178, 3] auth/auth.c:222(check_ntlm_password)
check_ntlm_password: mapped user is: [DOMAIN]\[windowsuser]@[CLIENT]
[2013/02/11 14:23:30.425304, 2] auth/auth.c:319(check_ntlm_password)
check_ntlm_password: Authentication for user [windowsuser] -> [windowsuser] FAILED with error NT_STATUS_NO_SUCH_USER
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document