[Samba] failed to call wbcGetpwnam/wbcGetgrnam/wbcGetpwsid WBC_ERR_DOMAIN_NOT_FOUND
Alex Matthews
ams at stmiss.co.uk
Thu May 25 12:25:15 UTC 2017
Hiya,
I've run into a problem on a Samba 4.5.8 active directory domain
controller. The domain controller seems to work to authenticate against (I
have a couple of domain members). However wbinfo throws an error when used
locally. My configs are posted at the bottom of the page.
# wbinfo -t
checking the trust secret for domain SMC via RPC calls succeeded
# wbinfo -u
<list of domain users>
# wbinfo -g
<list of domain groups>
nsswitch:
passwd: compat winbind
group: compat winbind
# getent passwd
<list of LOCAL users>
# getent group
<list of LOCAL groups>
# wbinfo -i "testuser"
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user testuser
# wbinfo -i "SMC\testuser"
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user SMC\testuser
# wbinfo -n testuser
S-1-5-21-1989633265-3966479559-1628277992-3078
# wbinfo -S S-1-5-21-1989633265-3966479559-1628277992-3078
10000
# wbinfo --user-sidinfo S-1-5-21-1989633265-3966479559-1628277992-3078
failed to call wbcGetpwsid: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user sid S-1-5-21-1989633265-
3966479559-1628277992-3078
smb.conf: https://pastebin.com/yWPtWrEF
krb5.conf: https://pastebin.com/fYKGp0QQ
Any thoughts?
Thanks,
Alex
More information about the samba
mailing list