[Samba] getent passwd blank response

Rowland penny rpenny at samba.org
Mon Aug 17 13:21:56 UTC 2020


On 17/08/2020 14:13, Robert E. Wooden via samba wrote:
> On 8/17/2020 7:59 AM, Rowland penny via samba wrote:
>> Could it be that 'username' doesn't have a uidNumber ?
>>
>>
> Well, when I run "id [username]" on the DC, I get a 
> "uid=3000013(SUBDOM\[username])" and"gid=10000", etc.
>
> When I run "id [username]" on the member server (mbr04) I get "id: 
> 'SUBDOM\[username]': no such user".
>
>
The '3000013' is not a uidNumber, it is an 'xidNumber' and these are 
only used on a DC and unless you sync 'idmap.ldb' from the first DC to 
all other DC's, you cannot guarantee getting the same ID on all DC's

uidNumber attributes are not added automatically, you must add them 
manually, same goes for gidNumber attributes.

Rowland





More information about the samba mailing list