[Samba] getenv does not return any AD DOMAIN users or groups - ?nsswitch is not setup for Samba?

Barry D. Adkins Barry at daram.com
Sun Nov 18 03:39:12 UTC 2018


> idmap config DOMAIN : range = 50000-1000000

SID was pasted wrong on previous posts.

wbinfo results:

:~$ wbinfo -K DomainUser1
Enter DomainUser1's password:
plaintext kerberos password authentication for [DomainUser1] succeeded (requesting cctype: FILE)
credentials were put in: FILE:/tmp/krb5cc_1000

:~$ wbinfo -K DomainUser2
Enter DomainUser2's password:
plaintext kerberos password authentication for [DomainUser2] succeeded (requesting cctype: FILE)
credentials were put in: FILE:/tmp/krb5cc_1000

:~$ wbinfo -i DomainUser1
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user DomainUser1

:~$ wbinfo -i DOMAIN\\DomainUser1
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user DOMAIN\DomainUser1

:~$ wbinfo -n DomainUser1
S-1-5-21-346857055-4293622516-4263914971-1113 SID_USER (1)

:~$ wbinfo -S S-1-5-21-346857055-4293622516-4263914971-1113
failed to call wbcSidToUid: WBC_ERR_DOMAIN_NOT_FOUND
Could not convert sid S-1-5-21-346857055-4293622516-4263914971-1113 to uid

Barry


More information about the samba mailing list