JAVA LDAP ERROR javax.naming.NamingException: [LDAP: error code 1 – 000004DC: LdapErr: DSID-0C09075A

We Are Going To Discuss About JAVA LDAP ERROR javax.naming.NamingException: [LDAP: error code 1 – 000004DC: LdapErr: DSID-0C09075A. So lets Start this Java Article.

JAVA LDAP ERROR javax.naming.NamingException: [LDAP: error code 1 – 000004DC: LdapErr: DSID-0C09075A

  1. JAVA LDAP ERROR javax.naming.NamingException: [LDAP: error code 1 – 000004DC: LdapErr: DSID-0C09075A

    The exceptions says that it requires an authentication (bind) before performing the operation (search).
    As it's shown in the documentation try to use simple authentication

  2. JAVA LDAP ERROR javax.naming.NamingException: [LDAP: error code 1 – 000004DC: LdapErr: DSID-0C09075A

    The exceptions says that it requires an authentication (bind) before performing the operation (search).
    As it's shown in the documentation try to use simple authentication

Solution 1

The exceptions says that it requires an authentication (bind) before performing the operation (search).
As it’s shown in the documentation try to use simple authentication

// Authenticate as S. User and password "mysecret"
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, "cn=S. User, ou=NewHires, o=JNDITutorial");
env.put(Context.SECURITY_CREDENTIALS, "mysecret");

Original Author Abylay Sabirgaliyev Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment