Hi Konrad,

I suggest that you look at the mandatory attributes to create a new LDAP
entry in Active Directory as mentionned in the following post :

http://social.technet.microsoft.com/Forums/en-US/winserverDS/thread/a56b24c8-5929-46f6-8efe-757b450edc9c/

Regards,
-- 
Sebastien BAHLOUL
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/


2013/5/24 Eichstädt, Konrad <konrad.eichsta...@sbb.spk-berlin.de>

>  Hi Sebastian, ****
>
> ** **
>
> Many many thanks for your support Iam close to my target J Now the
> connection is established but Iam getting the following error: ****
>
> ** **
>
> Mai 24 10:44:06 - DEBUG - In object
> "uid=berenicecm,ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de":  List of
> attributes considered for writing in destination: [uid, objectClass]****
>
> Mai 24 10:44:06 - DEBUG - In object
> "uid=berenicecm,ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de":
> Attribute "uid" is in FORCE status****
>
> Mai 24 10:44:06 - DEBUG - In object
> "uid=berenicecm,ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de":  Adding
> attribute "uid" with values [berenicecm]****
>
> Mai 24 10:44:06 - DEBUG - In object
> "uid=berenicecm,ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de":
> Attribute "objectClass" is in KEEP status****
>
> Mai 24 10:44:06 - DEBUG - In object
> "uid=berenicecm,ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de":  Adding
> attribute "objectClass" with values [ieaUser, shadowAccount, eduPerson,
> inetOrgPerson, ieaContakt]****
>
> Mai 24 10:44:06 - ERROR - Error while adding entry
> uid=berenicecm,ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de in directory
> :javax.naming.directory.NoSuchAttributeException: [LDAP: error code 16 -
> 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion
> operation, data 0, v1db1 ]; remaining name
> 'uid=berenicecm,ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de'****
>
> Mai 24 10:44:06 - ERROR - Error while synchronizing ID
> uid=berenicecm,ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de:
> java.lang.NullPointerException****
>
> Mai 24 10:44:06 - DEBUG - java.lang.NullPointerException****
>
> java.lang.NullPointerException: null****
>
>         at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:774)
> [lsc-core-2****
>
> .0.1.jar:na]****
>
>         at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:673)
> [lsc-core-2****
>
> .0.1.jar:na]****
>
>         at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:652)
> [lsc-core-2****
>
> .0.1.jar:na]****
>
>         at java.lang.Thread.run(Unknown Source) [na:1.7.0_21]****
>
> dn: uid=berenicecm,ou=user,dc=crossasia,dc=sbb,dc=spk-berlin,dc=de****
>
> ** **
>
> Do you have an idea how I can handle this? ****
>
> ** **
>
> Many Thanks, ****
>
> ** **
>
> 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****
>
> ** **
>
> *Von:* Sébastien Bahloul [mailto:sebastien.bahl...@gmail.com]
> *Gesendet:* Freitag, 24. Mai 2013 10:18
>
> *An:* Eichstädt, Konrad
> *Cc:* lsc-users
> *Betreff:* Re: AW: [lsc-users] LSC Error connecting AD****
>
> ** **
>
> Hi Konrad,
>
> I looked to at your lsc.xml file, and you need to specify a full URL with
> a base DN for the AD connection :
>
> <url>ldap://ruegen.sbb.spk-berlin.de:389/*dc=foo,dc=bar*</url>
>
> Regards,
> --
> Sebastien BAHLOUL
> IAM / Security specialist
> Ldap Synchronization Connector : http://lsc-project.org
> Blog : http://sbahloul.wordpress.com/
>
>
> 2013/5/24 Eichstädt, Konrad <konrad.eichsta...@sbb.spk-berlin.de>:
> > Hi Sebastian,
> >
> >
> >
> > definitely the basDN is not null within the configuration:
> >
> >
> >
> > <ldapDestinationService>
> >
> >
> > <name>opends-dst-service</name>
> >
> >                                                <connection
> > reference="eservices-dest-conn" />
> >
> >
> > <baseDn>OU=Test,DC=eservices,DC=local</baseDn>
> >
> >
> >
> > Or have I check this anywhere else?
> >
> >
> >
> > 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
> >
> >
> >
> > Von: Sébastien Bahloul [mailto:sebastien.bahl...@gmail.com]
> > Gesendet: Freitag, 24. Mai 2013 09:16
> > An: Eichstädt, Konrad
> > Cc: lsc-users
> >
> >
> > Betreff: Re: AW: [lsc-users] LSC Error connecting AD
> >
> >
> >
> > Hi Konrad,
> >
> > There's an issue with the context DN of the LDAP destination. Can you
> check
> > that the ldap URL base dn is not null ?
> >
> > Le 24 mai 2013 08:37, "Eichstädt, Konrad"
> > <konrad.eichsta...@sbb.spk-berlin.de> a écrit :
> >
> > Hi Sebastian,
> >
> >
> >
> > after I changing the log level to DEBUG I got the following message:
> >
> >
> >
> > c:\Install\lsc-2.0.1>bin\lsc2.bat -f etc -s all
> >
> > Mai 24 08:35:42 - DEBUG - Loading XML configuration from:
> > c:\Install\lsc-2.0.1\etc\lsc.xml
> >
> > Mai 24 08:35:43 - INFO  - Reflections took 172 ms to scan 1 urls,
> producing
> > 60 keys and 226 values
> >
> > Mai 24 08:35:43 - DEBUG - Importing XML schema file:
> > schemas/lsc-core-2.0.xsd
> >
> > Mai 24 08:35:43 - INFO  - Logging configuration successfully loaded from
> > c:\Install\lsc-2.0.1\etc\logback.xml
> >
> > Mai 24 08:35:43 - INFO  - LSC configuration successfully loaded from
> > c:\Install\lsc-2.0.1\etc\
> >
> > Mai 24 08:35:43 - INFO  - Connecting to LDAP server
> > ldap://ruegen.sbb.spk-berlin.de:389 as lsc@eservices.local
> >
> > Mai 24 08:35:43 - ERROR - org.lsc.exception.LscConfigurationException:
> > java.lang.reflect.InvocationTargetException
> >
> > Mai 24 08:35:43 - DEBUG - org.lsc.exception.LscConfigurationException:
> > java.lang.reflect.InvocationTargetException
> >
> > org.lsc.exception.LscConfigurationException:
> > java.lang.reflect.InvocationTargetException
> >
> >         at org.lsc.Task.<init>(Task.java:124) ~[lsc-core-2.0.1.jar:na]
> >
> >         at org.lsc.SimpleSynchronize.init(SimpleSynchronize.java:103)
> > ~[lsc-core-2.0.1.jar:na]
> >
> >         at org.lsc.SimpleSynchronize.launch(SimpleSynchronize.java:145)
> > ~[lsc-core-2.0.1.jar:na]
> >
> >         at org.lsc.Launcher.run(Launcher.java:224)
> [lsc-core-2.0.1.jar:na]
> >
> >         at org.lsc.Launcher.launch(Launcher.java:159)
> > [lsc-core-2.0.1.jar:na]
> >
> >         at org.lsc.Launcher.main(Launcher.java:142)
> [lsc-core-2.0.1.jar:na]
> >
> > Caused by: java.lang.reflect.InvocationTargetException: null
> >
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >
> > ~[na:1.7.0_21]
> >
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> > Source)
> >
> > ~[na:1.7.0_21]
> >
> >         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> > Sou
> >
> > rce) ~[na:1.7.0_21]
> >
> >         at java.lang.reflect.Constructor.newInstance(Unknown Source)
> > ~[na:1.7.0_
> >
> > 21]
> >
> >         at org.lsc.Task.<init>(Task.java:104) ~[lsc-core-2.0.1.jar:na]
> >
> >         ... 5 common frames omitted
> >
> > Caused by: java.lang.NullPointerException: null
> >
> >         at org.lsc.jndi.JndiServices.getContextDn(JndiServices.java:1036)
> > ~[lsc-
> >
> > core-2.0.1.jar:na]
> >
> >         at
> > org.lsc.jndi.AbstractSimpleJndiService.<init>(AbstractSimpleJndiServi
> >
> > ce.java:176) ~[lsc-core-2.0.1.jar:na]
> >
> >         at
> > org.lsc.jndi.SimpleJndiDstService.<init>(SimpleJndiDstService.java:97
> >
> > ) ~[lsc-core-2.0.1.jar:na]
> >
> >         ... 10 common frames omitted
> >
> > "Please look up the log file
> C:\Users\EICHST~1\AppData\Local\Temp\2\lsc.log
> > to s
> >
> > ee the error"
> >
> >
> >
> > Do  have any idea what the root cause is?
> >
> >
> >
> > Many Thanks,
> >
> >
> >
> > Best regards
> >
> >
> >
> > 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
> >
> >
> >
> > Von: lsc-users-boun...@lists.lsc-project.org
> > [mailto:lsc-users-boun...@lists.lsc-project.org] Im Auftrag von
> Eichstädt,
> > Konrad
> > Gesendet: Freitag, 24. Mai 2013 08:02
> > An: Sébastien Bahloul
> > Cc: lsc-users
> > Betreff: Re: [lsc-users] LSC Error connecting AD
> >
> >
> >
> > Hi Sebastian,
> >
> >
> >
> > Unfortunately not the only message which the log file contains are:
> >
> >
> >
> > "24.05.2013  [lsc] Starting LSC"
> >
> > "24.05.2013  [lsc] LSC finished running"
> >
> >
> >
> > This message isn’t very helpful. Is there any possibility to get more
> debug
> > traces or something with a special option?
> >
> >
> >
> > 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
> >
> >
> >
> > Von: Sébastien Bahloul [mailto:sebastien.bahl...@gmail.com]
> > Gesendet: Donnerstag, 23. Mai 2013 16:59
> > An: Eichstädt, Konrad
> > Cc: Clément OUDOT; lsc-users
> > Betreff: Re: AW: [lsc-users] LSC Error connecting AD
> >
> >
> >
> > Hi Konrad,
> >
> >
> >
> > Is there anything interesting inside the
> > C:\Users\EICHST~1\AppData\Local\Temp\3\lsc.log file (full stacktrace,
> > complementary error) ?
> >
> >
> >
> > Regards,
> >
> >
> > Sebastien BAHLOUL
> > IAM / Security specialist
> > Ldap Synchronization Connector : http://lsc-project.org
> > Blog : http://sbahloul.wordpress.com/
> >
> >
> >
> > 2013/5/23 Eichstädt, Konrad <konrad.eichsta...@sbb.spk-berlin.de>
> >
> > Hello All,
> >
> > Many Thanks for your support. I believe that I moved with your help one
> step
> > forward. I assume that the connection problem is solved but now I'am
> getting
> > the following error:
> >
> > c:\Install\lsc-2.0.1>bin\lsc2.bat -f etc -s all -n
> > Mai 23 16:26:54 - DEBUG - Loading XML configuration from:
> > c:\Install\lsc-2.0.1\etc\lsc.xml
> > Mai 23 16:26:54 - INFO  - Reflections took 188 ms to scan 1 urls,
> producing
> > 60 keys and 226 values
> > Mai 23 16:26:54 - DEBUG - Importing XML schema file:
> > schemas/lsc-core-2.0.xsd
> > Mai 23 16:26:55 - INFO  - Logging configuration successfully loaded from
> > c:\Inst
> > all\lsc-2.0.1\etc\logback.xml
> > Mai 23 16:26:55 - INFO  - LSC configuration successfully loaded from
> > c:\Install\
> > lsc-2.0.1\etc\Mai 23 16:26:55 - INFO  - Connecting to LDAP server
> > ldap://ruegen.sbb.spk-berlin.de:389 as lsc@eservices.local
> > Mai 23 16:26:55 - ERROR - org.lsc.exception.LscConfigurationException:
> > java.lang.reflect.InvocationTargetException
> > "Please look up the log file
> C:\Users\EICHST~1\AppData\Local\Temp\3\lsc.log
> > to see the error"
> >
> > Enclosed you find my lsc.xml file. Have you any idea what the problem now
> > is?
> >
> > Many Thanks again,
> >
> >
> > 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
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Clément OUDOT [mailto:clem.ou...@gmail.com]
> >
> > Gesendet: Donnerstag, 23. Mai 2013 08:59
> > An: Sébastien Bahloul
> > Cc: Eichstädt, Konrad; lsc-users
> >
> > Betreff: Re: AW: [lsc-users] LSC Error connecting AD
> >
> > 2013/5/22 Sébastien Bahloul <sebastien.bahl...@gmail.com>:
> >> Hi Konrad,
> >>
> >> I'm sorry but Wireshark was my last piece of advice. Some checks to
> >> defeat this issue :
> >> - could you try to switch to a dummy password  ?
> >> - could you confirm the JDK/JRE version ?
> >> - could you confirm that Wireshark is showing a password based
> >> authentication for both LSC and LDAP browser connection (and not
> >> SSPI/Kerberos) on the same LDAP server host and port ?
> >> - could you check the connection LDAP extended controls that are used
> >> by both tools (LSC and LDAP brower) ?
> >>
> >
> > Could you maybe send us your wireshark capture?
> >
> > Clément.
> >
> >  ****
>
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
lsc-users@lists.lsc-project.org
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to