Samba // wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND on linux domain member

linux domain member – idmap ad – getent passwd not working – wbinfo -i SAMDOM\\xyzuser returns wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND

PROBLEM: Users per default primary group “domain users” has not set gidNumber per default installation. Edit these groups props with ldbedit and add a gidNumber entry.

How solved? ( credits:

 wbinfo -n SAMDOM\\user1

to give you the SID (windows user ID) for the user, and then use

 wbinfo -S USERSID

with this sid to check UID assignment. Similarly, use

 wbinfo -n "SAMDOM\\Domain Users"
 wbinfo -Y GROUPSID

wbinfo -Y [Domain Users SID] returns that it could not get a gid


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s