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

Rowland Penny rpenny at samba.org
Mon Oct 25 15:28:02 UTC 2021


On Mon, 2021-10-25 at 15:32 +0200, peter knezel via samba wrote:
> 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

Change the '1000' above to the low value you set in smb.conf 'DOMAIN'
range.

It will also require altering in any pam files where it is set.

Rowland





More information about the samba mailing list