Ldap Error 32 Problem 2001
Contents |
here for a quick overview of the site Help Center Detailed answers to any
Javax.naming.authenticationexception Ldap Error Code 32 - No Such Object
questions you might have Meta Discuss the workings and policies of ldap error code 32 best match of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring active directory problem 2001 (no_object) developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is https://www.ibm.com/support/knowledgecenter/SSCRSX_2.1.0/doc/iwd/tst_trbl_ldap_messages.html a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Ldap error code 32 up vote 4 down vote favorite 2 I'm trying to synchronize OpenLDAP and Active directory together. To do so I'm using a program called LSC-Project which is http://stackoverflow.com/questions/10607865/ldap-error-code-32 specified to do this sort of thing. I have configured the program the best I can however I can't find a way to shake off the following error: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID- 031001CD, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=domname,DC=com' ]; remaining name 'uid=user1,ou=Users' May 09 15:19:25 - ERROR - Error while synchronizing ID uid=user1,ou=Users: java.lang.Exception: Technical problem while applying modifications to directory dn: uid=user1,ou=Users,dc=domname,dc=com changetype: add userPassword: 3+kU2th/WMo/v553A24a3SBw2kU= objectClass: uid This is the configuration file that the program runs on: ############################### Destination LDAP directory # ############################## dst.java.naming.provider.url = ldap://192.168.1.3:389/dc=Windows,dc=com dst.java.naming.security.authentication = simple dst.java.naming.security.principal = cn=Administrator,cn=Users,dc=Windows,dc=com dst.java.naming.security.credentials = 11111 dst.java.naming.referral = ignore dst.java.naming.ldap.derefAliases = never dst.java.naming.factory.initial = com.sun.jndi.ldap.LdapCtxFactory dst.java.naming.ldap.version = 3 dst.java.naming.ldap.pageSize = 1000 ######################### Source LDAP directory ######################### src.java.naming.provider.url = ldap://192.168.1.2:389/dc=Linux,dc=com src.java.naming.security.authentication = simple src.java.naming.security.principal = uid=root,ou=users,dc=Linux,dc=com src.java.naming.security.credentials = 11111 src.java.naming.referral = ignore src.java.naming.ldap.derefAliases = never src.java.naming.factory.initial = com.sun.jndi.ldap.LdapCtxFactory src.java.naming.ldap.version = 3 ####################### Tasks configuration ####################### lsc.tasks
Need help cloning? Learn how to clone a repository. Clone in SourceTree Atlassian SourceTree is a free Git and Mercurial client for Windows. Atlassian SourceTree is a free Git and Mercurial client for https://bitbucket.org/sdorra/scm-manager/issues/68/ldap-authentication-problem-2001-no_object Mac. Sebastian Sebastian scm-manager Issues Issues Issue #68 invalid LDAP Authentication - problem 2001 (NO_OBJECT) Benjamin Leov created an issue 2011-10-14 Hi, This may not be a bug, but I cannot seem to get LDAP to work properly when trying to specify users within OU's that are buried three levels deep from the base DN. I am trying to only select users based ldap error on a "memberOf" attribute, and can create a ldap query that selects them (using JXplorer), but when using this query in the search filter, it does not work. The query looks like this: {{{ (&(memberOf=(CN=JavaDevelopers,OU=Developers,OU=Services, OU=Organisation,DC=mycompany,DC=net)(sAMAccountName={0}))) }}} Im using an authenticated LDAP connection, and I can get it to work if I specify the full path to a OU (minus the "Users" OU of error code 32 course) that contains some users in the base DN, however I cannot do this as the users are spread across different OU's. Changing the search scope seems to have no effect. The full exception Im getting is: {{{ at java.lang.Thread.run(Unknown Source) [na:1.7.0] 23:36:39.301 [qtp1879666187-17] ERROR sonia.scm.auth.ldap.LDAPAuthenticationHand ler - exception occured during user search javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DS ID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of: 'OU=Organisation,DC=mycompany,DC=net' }}} Sorry if this is a silly question, and thanks for creating a great scm manager! Comments (5) Sebastian Sebastian repo owner changed status to open Error code 32 sounds that your ou could not be found, has your bind user enough rights to read this ou? I think your search filter has to much braces. (&(memberOf=(CN=JavaDevelopers,OU=Developers,OU=Services, OU=Organisation,DC=mycompany,DC=net)(sAMAccountName={0}))) Should be: (&(memberOf=CN=JavaDevelopers,OU=Developers,OU=Services, OU=Organisation,DC=mycompany,DC=net)(sAMAccountName={0})) Could you please post your whole configuration and all of the sonia.scm.auth.ldap.LDAPAuthenticationHandler log entries? 2011-10-17T11:29:09+00:00 Benjamin Leov reporter I'm using the same login details that I'm using with JXExplorer, and I've also used another application which can find the users, so it can't be a permission problem. I must have mis-typed the brackets; if the quer