Possible Duplicate:
What's the difference in using distinguished name with cn or uid when logging into LDAP?
I'm trying to trick an application into logging in a user. I'm not trying to hack anything, we bought an application that tries to connect with some rigid settings. I'm trying to make it work.
Basically I have to define the Search Base:
ou=employees,ou=Main,o=mycompany
And if I try to log in as johnsmith, it pre-prends the username as uid to the search base like this :
uid=johnsmith,ou=employees,ou=Main,o=mycompany
Well it turns out that the Novell eDirectory uses cn as the distinguished name ( not uid ).
Is there any way I can trick the application using wildcards? I was hoping something like this might work :
uid=*,cn=johnsmith,ou=employees,ou=Main,o=mycompany
but this does not work. ^