Re: Replacing passwd?

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Thu, 18 Nov 2004 11:10:12 -0600
In the last episode (Nov 18), Ivan Voras said:
> I've setup pam_ldap and nss_ldap and samba3 and smbldap, and it works
> fine, but it would be nice to replace /usr/bin/passwd with
> smbldap-passwd (which changes both NTLM and Unix password fields in
> LDAP, while passwd is unaware of LDAP, at least according to man
> page).  Is there a clean way of doing it so I don't have to replace
> it by hand after each installworld?

passwd just uses PAM to set passwords, so the cleanest way would be to
have a pam_smb module that does the password changes, and add it to
/etc/pam.d/passwd , or maybe tell have pam_ldap do it.

-- 
	Dan Nelson
	dnelson_at_allantgroup.com
Received on Thu Nov 18 2004 - 16:10:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC