[Samba] getent passwd blank response

Rowland penny rpenny at samba.org
Mon Aug 17 12:30:17 UTC 2020


On 17/08/2020 13:18, Robert E. Wooden via samba wrote:
> root at mbr04:~# wbinfo --group-info 'Domain Users' | awk -F ':' '{print 
> $3}'
> 10000
> root at mbr04:~# wbinfo -i [username] | awk -F ':' '{print $3}'
> failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
>
> Could not get info for user [username]

Hmm, I only get that if I ask for the info for a user that doesn't exist:

rowland at devstation:~$ wbinfo -i abernathy | awk -F ':' '{print $3}'
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user abernathy

Are you sure that 'username' exists in AD ?

If you run 'wbinfo -u | grep username' , do you get output ?

Rowland







More information about the samba mailing list