Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2004 11:10:12 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        current@freebsd.org
Subject:   Re: Replacing passwd?
Message-ID:  <20041118171012.GB19265@dan.emsphone.com>
In-Reply-To: <419CD314.80900@fer.hr>
References:  <419CD314.80900@fer.hr>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041118171012.GB19265>