passwd Command Reports User Unknown When Changing AD User Password In Samba ADS Configuration
(Doc ID 1990795.1)
Last updated on JANUARY 11, 2021
Applies to:Solaris Operating System - Version 10 1/13 U11 and later
Information in this document applies to any platform.
Unable to change passwords on the Solaris system using Samba's Winbind for AD integration.
Trying to change the password for a AD user with Solaris "passwd" command fails :
passwd: Changing password for <AD-user>
passwd: User unknown: <AD-user>
Assumption about the configuration that can result in the error:
The system is configured so that AD users can login.
1) /etc/samba/smb.conf contains
security = ADS
idmap options are present
2) Using /etc/pam.conf-winbind as /etc/pam.conf
3) /etc/nsswitch.conf contains winbind in passwd and group
passwd: files winbind
group: files winbind
hosts: files dns
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document