On 8/17/2020 6:55 AM, Rowland penny via samba wrote:> wbinfo --group-info 'Domain Users' | awk -F ':' '{print $3}' > > wbinfo -i <username> | awk -F ':' '{print $3}' > > Rowland >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] (Sanitized, [username] = actual user.) -- Bob Wooden
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
On 8/17/2020 7:30 AM, Rowland penny via samba wrote:> > If you run 'wbinfo -u | grep username' , do you get output ? >root at mbr04:~# wbinfo -u | grep [username] [username] Yep, username exists. (Hair worn off my head in one spot from scratching.) -- Bob Wooden