Mesg Ldap Error 32 No Such Object
+0530 Content-class: urn:content-classes:message Thread-index: AcSVtjpb7/rjNX9QQgqZfpnpEV79Kw== Thread-topic: Error Code 32 - No such object
Error Code 32 Ldap
? When i try to connect from a LDAP
Ldap No Such Object 32
Browser (Softerra) giving following information Host : Port : 389 Base DSN : ldap error no such object dc=my-domain,dc=com I get a error message : ERROR 32 No such object. I do not know what the problem is. ? Using JExplorer https://www.ibm.com/support/knowledgecenter/SSCRSX_2.1.0/doc/iwd/tst_trbl_ldap_messages.html Browser client with the same inputs i get following error : LDAP Error Code 32 - No such object - remaining name 'dc=my-domain,dc=com' Also, when i do : rpm -qa openldap i get this: openldap-2.0.27-11 openldap-2.2.13-2 I am not sure which of the above versions is installed. http://www.openldap.org/lists/openldap-software/200409/msg00141.html Thanks My /etc/openldap/slapd.conf looks like this : # $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.7 2001/09/27 20:00:31 Kurt Exp $ # # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/redhat/autofs.schema include /etc/openldap/schema/redhat/kerberosobject.schema # Define global ACLs to disable default read access. # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org #pidfile //var/run/slapd.pid #argsfile //var/run/slapd.args # Create a replication log in /var/lib/ldap for use by slurpd. #replogfile /var/lib/ldap/master-slapd.replog # Load dynamic backend modules: # modulepath /usr/sbin/openldap # moduleload back_ldap.la # moduleload back_ldbm.la # moduleload back_passwd.la # moduleload back_shell.la # # The next three lines allow use of TLS for connections using a dummy test # certificate, but you should generate a proper
Speaker BureauLog inRegisterSearchSearchCancelError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn https://community.oracle.com/thread/1159891 JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in Naming and Directory (JNDI) All PlacesJavaJava APIsNaming and Directory (JNDI) This discussion is archived 2 Replies Latest reply on ldap error Feb 3, 2004 11:16 PM by 843793 Error Code 32: No Such Object 843793 Sep 22, 2003 9:12 PM Hi guys, This is my simple JNDI code import javax.naming.*; import javax.naming.directory.*; import java.util.Hashtable; class DirectoryOps { public static void main(String[] args) { // Creating the Connection Parameters Hashtable no such object env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory"); env.put(Context.PROVIDER_URL, "ldap://localhost:9389/o=Intranet,dc=company,dc=com"); env.put(Context.SECURITY_AUTHENTICATION, "simple"); env.put(Context.SECURITY_PRINCIPAL, "cn=Gilson Wilson"); env.put(Context.SECURITY_CREDENTIALS, "gilson"); try { // Create directory context DirContext ctx = new InitialDirContext(env); // Close the directory context ctx.close(); } catch (Exception e) { e.printStackTrace(); } } }This is the error I get javax.naming.AuthenticationException: [LDAP: error code 32 - No Such Object] at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:272) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2640) at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:290) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.(InitialContext.java:195) at javax.naming.directory.InitialDirContext.(InitialDirContext.java:80) at DirectoryOps.main(DirectoryOps.java:28)Anyone faced this before? 3275Views Tags: none (add) This content has been marked as final. Show 2 replies 1. Re: Error Code 32: No Such Object 843793 Sep 26, 2003 10:34 AM (in response to 843793) I think your problem is