Hello LSC Users,

We need urgently still help using the LSC tool. We are getting the following 
error connecting our AD:

c:\Install\lsc-2.0.1>bin\lsc2.bat -f etc -s all
Mai 21 15:06:51 - DEBUG - Loading XML configuration from: 
c:\Install\lsc-2.0.1\etc\lsc.xml
Mai 21 15:06:51 - INFO  - Reflections took 172 ms to scan 1 urls, producing 60 
keys and 226 values
Mai 21 15:06:51 - DEBUG - Importing XML schema file: schemas/lsc-core-2.0.xsd
Mai 21 15:06:52 - INFO  - Logging configuration successfully loaded from 
c:\Install\lsc-2.0.1\etc\logback.xml
Mai 21 15:06:52 - INFO  - LSC configuration successfully loaded from 
c:\Install\lsc-2.0.1\etc\
Mai 21 15:06:52 - INFO  - Connecting to LDAP server 
ldap://10.32.1.19:389/dc=eservices,dc=local as [email protected]
Mai 21 15:06:52 - INFO  - Connecting to LDAP server 
ldap://zbv-erf.sbb.spk-berlin.de:389/dc=sbb,dc=spk-berlin,dc=de as cn=xReader
Mai 21 15:06:52 - ERROR - Error opening the LDAP connection to the 
destination!(javax.naming.AuthenticationException: [LDAP: error code 49 - 
Invalid Credentials])
Mai 21 15:06:52 - ERROR - org.lsc.exception.LscConfigurationException: 
java.lang.reflect.InvocationTargetException
"Please look up the log file C:\Users\EICHST~1\AppData\Local\Temp\2\lsc.log to' 
see the error"

Enclosed you can find our lsc.xml configuration file. We checked many times 
that our password and user are correct and we have seen with Whireshark that 
happens a successful LDAP bind but afterwards nothing happens and the LSC Tools 
shows this error.

Many Thanks for your support.

Best regards

Konrad

Konrad Eichstädt
Staatsbibliothek zu Berlin
Preußischer Kulturbesitz
Potsdamer Str. 33
10785 Berlin
Informations- und Datenmanagement
IDM II elektronische Ressourcen
Tel: +49 030 266 432222

<?xml version="1.0" ?>

<lsc xmlns="http://lsc-project.org/XSD/lsc-core-2.0.xsd"; revision="0">

  <connections>
    <ldapConnection>
      <name>xasia-src-conn</name>
      <url>ldap://zbv-erf.sbb.spk-berlin.de:389/dc=sbb,dc=spk-berlin,dc=de</url>
      <username>cn=xReader</username>
      <password>b3Rlin3Rz00</password>
      <authentication>SIMPLE</authentication>
      <referral>IGNORE</referral>
      <derefAliases>NEVER</derefAliases>
      <version>VERSION_3</version>
      <pageSize>-1</pageSize>
      <factory>com.sun.jndi.ldap.LdapCtxFactory</factory>
      <tlsActivated>false</tlsActivated>
    </ldapConnection>

    <ldapConnection>
      <name>eservices-dest-conn</name>
      <url>ldap://10.32.1.19:389/dc=eservices,dc=local</url>
      <username>[email protected]</username>
      <password>Start123</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>
  </connections>
  
  <tasks>
      <task>
	     <name>XasiaToEservices</name>
		 <bean>org.lsc.beans.SimpleBean</bean>
		 <ldapSourceService>
            <name>opends-src-service</name>
            <connection reference="xasia-src-conn" />
            <baseDn>ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de</baseDn>
            <pivotAttributes>
              <string>uid</string>
            </pivotAttributes>
            <fetchedAttributes>
              <string>uid</string>
              <string>objectClass</string>             
            </fetchedAttributes>
			<getAllFilter>(objectClass=eduperson)</getAllFilter>
            <getOneFilter>(&amp;(objectClass=eduperson)
                (uid={uid}))</getOneFilter>
            <cleanFilter>(&amp;(objectClass=eduperson)   
                (uid={uid}))</cleanFilter>							
         </ldapSourceService>
         <ldapDestinationService>  
			<name>opends-dst-service</name>
			<connection reference="eservices-dest-conn" />
			<baseDn>ou=test,dc=eservices,dc=local</baseDn>
			<pivotAttributes>
			<string>uid</string>
			</pivotAttributes>
			<fetchedAttributes>
			   <string>uid</string>
			  <string>objectClass</string>
			</fetchedAttributes>
			<getAllFilter>(objectClass=inetorgperson)</getAllFilter>
			<getOneFilter>(&amp;(objectClass=inetorgperson)(uid={uid}))</getOneFilter>
		 </ldapDestinationService>		 
         <propertiesBasedSyncOptions>
            <mainIdentifier>srcBean.getMainIdentifier()</mainIdentifier>
            <defaultDelimiter>;</defaultDelimiter>
            <defaultPolicy>FORCE</defaultPolicy>
			<dataset>
				<name>objectClass</name>
				<policy>KEEP</policy>
				<createValues>
					<string>"user"</string>
					<string>"top"</string>
				</createValues>
			</dataset>
         </propertiesBasedSyncOptions>
	  </task>
  </tasks>

</lsc>
_______________________________________________________________
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