My ou OpenLDAP is in the cn admin.
The structure in LDA Admin is:
dc=projectldap,dc=local
        cn=admin
                ou=OpenLDAP

that’s why I have the cn=admin in my string.
I will create the ou outside of the cn=admin and take out that part of my 
mainIdentifier.

Kind Regards,
Colin


-----Ursprüngliche Nachricht-----
Von: lsc-users [mailto:lsc-users-boun...@lists.lsc-project.org] Im Auftrag von 
Clément OUDOT
Gesendet: Mittwoch, 25. Oktober 2017 14:04
An: lsc-users@lists.lsc-project.org
Betreff: Re: [lsc-users] lsc config



Le 25/10/2017 à 13:45, Thorn, Colin a écrit :
> After doing a bit more research I rewrote the objectClass dataset to:
>
>          <dataset>
>            <name>objectClass</name>
>            <policy>KEEP</policy>
>            <createValues>
>              <string>"top"</string>
>              <string>"person"</string>
>              <string>"organizationalPerson"</string>
>              <string>"inetOrgPerson"</string>
>            </createValues>
>          </dataset>
>
>
> I am now getting the following error:
>
> Oct 25 13:42:40 - ERROR - Error while adding entry cn=Son 
> Goku,cn=admin,ou=OpenLDAP,dc=openldap,dc=local in directory 
> :javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; 
> remaining name 'cn=Son Goku,cn=admin,ou=OpenLDAP,dc=openldap,dc=local'
>
>
> I first thought it wants the User to already exist (which would counter the 
> reason I am doing this), but after creating the user on OpenLDAP with cn=Son 
> Goku it still shows the same error.
>
> Sorry for asking questions I keep answering my self.

You try to create an entry in branch
"cn=admin,ou=OpenLDAP,dc=openldap,dc=local" which does not exists. I think the 
"cn=admin" should not be there, remove it from your mainIdentifier 
configuration.


--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité Savoir-faire 
Linux
137 boulevard de Magenta - 75010 PARIS
Blog: http://sflx.ca/coudot

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

lsc-users mailing list
lsc-users@lists.lsc-project.org
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
lsc-users@lists.lsc-project.org
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to