smbpasswd in an LDAP directory

Ignacio Coupeau icoupeau at
Sat Jun 30 09:18:57 GMT 2001

Gerald Carter wrote:
> FYI....
> I just checked in a schema file for storing smbpasswd in LDAP
> (works with OpenLDAP 2.0) and some import/export perl scripts.
> This does not means that Samba can read information directly
> from LDAP, but for those interested in have a cron job gernated
> the smbpasswd file from LDAP, this will work.  Also means that
> LDAP can be used to replicate smbpasswd to multiple servers :)

Looks fine, and can solve a lot of problems... perhaps in the a test about pwdLastSet (old/newer than) may help
with the passwd-sync for an user that changes the passwd in several
severs sharing the same lm/ntPassword...

Ignacio Coupeau, Ph.D.     e-mail: icoupeau at
CTI, Director              fax:    948 425619
University of Navarra      voice:  948 425600
Pamplona, SPAIN  

More information about the samba-technical mailing list