The current TC LDAPLoginModule does not suit my needs.
- First off, I cannot expect my users to enter their complete DN in order to login,
- Secondly, we iPlanet and I cannot make use of the FormatDN parameter because the dn is different since the LDAP db is organized by location.
For user = scott, the dn could be uid=scott,ou=Users,ou=LocationA,ou=Engineering,dc=cae,dc=ca
For user = tom, the dn could be uid=tom,ou=Users,ou=LocationB,ou=Administration,dc=cae,dc=ca
I simply want the user to enter "scott" or "tom" in the login box. Since I cannot make use of the FormatDN param, I was thinking that I would have to extend LDAPLoginModule in order to get the param "scott", query LDAP to find the DN for uid=scott and then pass it to LDAPLoginModule.
Has anyone else had this issue? Can the TC dev team give me pointers as to how I can get the login value from the LDAPLoginModule.initialize() params?