[Samba] Samba domain member and rfc2307 user IDs

Rowland penny rpenny at samba.org
Mon Aug 1 07:50:04 UTC 2016

On 31/07/16 23:58, Kevin Davidson wrote:
>> But SMB connections to shares are still failing with NT_STATUS_NO_SUCH_USER
>>    check_ntlm_password:  Checking password for unmapped user [DOMAIN]\[Administrator]@[TEST-PC] with the new password interface
>> [2016/07/31 23:54:06.825990,  3] ../source3/auth/auth.c:181(auth_check_ntlm_password)
>>    check_ntlm_password:  mapped user is: [DOMAIN]\[Administrator]@[TEST-PC]
>> [2016/07/31 23:54:06.860006,  3] ../source3/auth/auth_util.c:1229(check_account)
>>    Failed to find authenticated user DOMAIN\administrator via getpwnam(), denying access.

You are trying with the Administrator account and this doesn't exist, so 
you need to map this to the 'root' user. Add this to smb.conf:

     username map = /etc/samba/user.map

and then create /etc/samba/user.map with this content:

!root = DOMAIN\Administrator DOMAIN\administrator Administrator 

Restart Samba and try again.


More information about the samba mailing list