# Protect passwords, using a regex so we can have generic accounts with # write access # Openldap will not authenticate against non-userPassword attributes # but we would have to duplicate most rules ... access to dn="(.+,)?,ou=.+,(dc=.+,?)+$$" attrs=lmPassword,ntPassword,sambaLMPassword,sambaNTPassword,userPassword ~ by self write ~ by dn="uid=root,ou=People,$2" write ~ by group="cn=Domain Controllers,ou=Group,$2" write ~ by anonymous auth ~ by * none
Several problems here:
1) It makes assumptions about where the ldap database is installed. 2) It makes assumptions about the underlying schema's that are loaded. 3) It makes assumptions about the data loaded.
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html