[Samba] pam_winbind(passwd:chauthtok): valid_user: wbcGetpwnam gave WBC_ERR_DOMAIN_NOT_FOUND

peter knezel peter.knezel at gmail.com
Mon Oct 25 13:32:15 UTC 2021


Hello All,

trying to set a password for newly created nagios user with
uid=3972,gid=3972

but getting the following:

# passwd nagios
Current Kerberos password:
Current Kerberos password:
passwd: Authentication token manipulation error
passwd: password unchanged

auth.log shows:
Oct 25 13:22:39 myserver passwd[2055]: pam_winbind(passwd:chauthtok):
valid_user: wbcGetpwnam gave WBC_ERR_DOMAIN_NOT_FOUND

can it be somehow solved?

cat common-auth|grep -v '^$'|grep -v ^\#
auth    [success=3 default=ignore]      pam_krb5.so minimum_uid=1000
auth    [success=2 default=ignore]      pam_unix.so nullok_secure
try_first_pass
auth    [success=1 default=ignore]      pam_winbind.so krb5_auth
krb5_ccache_type=FILE cached_login try_first_pass
auth    requisite                       pam_deny.so
auth    required                        pam_permit.so
auth    optional                        pam_cap.so


Thanks and kind regards,
Peter


More information about the samba mailing list