I'm trying out LSC (2.0.4) and I'm having problems connecting to my
Active Directory (Windows 2008 R2)

I get the following message when trying to connect:

ERROR - Error opening the LDAP connection to the destination!
(javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid
Credentials])

I know the username password is correct. I can connect to AD via
ldapsearch and Apache Directory Studio with no problems. If I change the
username or password to something incorrect, I get this message instead:

ERROR - Error opening the LDAP connection to the destination!
(javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308:
LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e,
v1db1])

I've tried different passwords, and both DN and UPN usernames.

My lsc.xml contains the following AD ldap connection:

    <ldapConnection>
      <name>asdf-ad</name>
      <url>ldap://ip/DC=asdf,DC=local</url>
      <username>[email protected]</username>
      <password>password</password>
      <authentication>SIMPLE</authentication>
      <referral>IGNORE</referral>
      <derefAliases>NEVER</derefAliases>
      <version>VERSION_3</version>
      <pageSize>1000</pageSize>
      <factory>com.sun.jndi.ldap.LdapCtxFactory</factory>
      <tlsActivated>false</tlsActivated>
    </ldapConnection>

Am I missing something?

/Esben
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to