We are developing an authentication system based on OpenLDAP.
We have created a specific schema, with some password fields intended to be used in different kinds of applications. This attributes (password1, password2, ... passwordx) inherit the userPassword attribute.
One of our applications use the ldap_bind method to authenticate its users, and we want it to bind against the attribute password1. However the ldap_bind seems to be hardcoded to just check the userPassword attribute.
We have tried using the rwm overlay, and even though we could see the password1 translated to userPassword with an ldapsearch we are unable to bind against it.
Is there any overlay besides rwm that could be used to fulfill this authentication scenario?
Thanks for any help someone might give us.