Dear Clément,

so LSC does not provide the possibility to decode base64 before writing it into 
the destination LDAP?

Regarding the Error:

I checked the schema for the four objectclasses (inetOrgPerson, 
organizationalPerson, person, top) I am using and found all using the following 
command:
ldapsearch -H ldap://ldap.mydomain.com -x -s base -b "cn=subschema" 
objectclasses

objectClasses: ( 2.5.6.0 NAME 'top' DESC 'top of the superclass chain' ABSTRACT 
MUST objectClass )
objectClasses: ( 2.16.840.1.113730.3.2.2 NAME 'inetOrgPerson' DESC 
'RFC2798:.....
objectClasses: ( 2.5.6.6 NAME 'person' DESC 'RFC2256.......
objectClasses: ( 2.5.6.7 NAME 'organizationalPerson' DESC 
'RFC2256:..................


Kind Regards,
Colin

-----Ursprüngliche Nachricht-----
Von: lsc-users [mailto:[email protected]] Im Auftrag von 
Clément OUDOT
Gesendet: Montag, 8. Januar 2018 13:54
An: General discussions and help for Ldap Synchronization Connector (LSC) - 
Start here! <[email protected]>
Betreff: Re: [lsc-users] LDAP error 21 / Special characters

2018-01-08 13:49 GMT+01:00 Thorn, Colin <[email protected]>:
> Dears,
>

Hello,

>
> I have been unable to find the reasoning behind the following error 
> when running the sync:
>
> With previous syncs, using the same servers and same objectclass I did 
> not get this error.
>
>
>
> Error while adding entry cn=Test
> Test,ou=location,ou=Employees,ou=Users,dc=ldap,dc=local in directory
> :javax.naming.directory.InvalidAttributeValueException: [LDAP: error 
> code 21
> - objectClass: value #3 invalid per syntax]; remaining name cn=Test 
> Test,ou=location,ou=Employees,ou=Users'

This means that there is an objectClass value that is not defined in your 
destination LDAP directory. Check the schema.

> I am also wondering, is there a possibility to sync users who have 
> special characters in their name?
>
> E.g.: I have a coworker with the frist name Bärbl.
>
> When trying to sync I get only a whole bunch of characters: dn::
> Y249QsOkcmJsIENocmlzdCxvdT1Lcm9uYmVyZyxvdT1FbXBsb3llZXMsb3U9TVZDIFVzZX
> JzLGRjPXByb2plY3RsZGFwLGRjPWxvY2Fs
>
>

This is the standard LDIF syntax, non ASCII values are encoded in base64.


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

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

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to