[Samba] Change AD user password from Linux
Masao Garcia
masaog at fshac.com
Wed Jan 20 14:33:11 MST 2010
John,
Thanks for the reply. I edited my common-password file like yours and now I
am prompted to enter the user's current password but after that, it gives me
the "User not known to the underlying authentication module" error.
Auth.log now gives me:
pam_winbind(passwd:chauthtok): getting password (0x00000020)
Jan 20 15:15:33 LTSP2 passwd[6505]: pam_winbind(passwd:chauthtok): request
failed: Named pipe dicconnected, PAM error was System error (4), NT error
was NT_STATUS_PIPE_DISCONNECTED
Jan 20 15:15:33 LTSP2 passwd[6505]: pam_winbind(passwd:chauthtok): internal
module error (retval = 4, user = 'idyson')
Jan 20 15:15:33 LTSP2 passwd[6505]: pam_unix(passwd:chauthtok): user
"idyson" does not exist in /etc/passwd
I forgot to include my /etc/nsswitch.conf file:
passwd: files winbind
group: files winbind
shadow: files
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: files ldap
-----Original Message-----
From: john [mailto:lists.john at gmail.com]
Sent: Wednesday, January 20, 2010 2:16 PM
To: Masao Garcia
Cc: samba at lists.samba.org
Subject: Re: [Samba] Change AD user password from Linux
Hi Masao,
I have essentially the same setup as you (ltsp, AD, Winbind). My users
are able to change their passwords with the 'passwd' command.
Here's the contents of
/etc/pam.d/common-password file
password sufficient pam_winbind.so
password required pam_unix.so nullok obscure min=4 max=8 md5
Hth,
John
More information about the samba
mailing list