Ldap error (application deployed side)

Asked By 20 points N/A Posted on -
qa-featured

Hi

I am using Sun ONE LDAP server, and where my application is deployed, they use MS AD. I store the values of User Name and Password (LDAP user name and password) in one table. In Sun ONE, I precede my user name with "cn=" and at my end I am able to connect to LDAP server, but where the application is deployed,gives error:Bind:error:netscape.ldap.LDAPexception:error result (49).

SHARE
Answered By 20 points N/A #101623

Ldap error (application deployed side)

qa-featured

Hey Heaven!

In Sun ONE LDAP server, the error "49" (Which you are facing in the above situation), means that your credentials are not correct. You have to make to make them correct to avoid this error.

Basically the main purpose of BIND is to serve the Client and Server with perfect and authenticated information. If the BIND succeeded to send the authenticated information to the Server, it will give a Success code to the Client. LDAP DN must have the "name or bind DN", which must have "naming attribute". As you define in the above scenario, "cn" is your naming attribute.

Thanks

 

Related Questions