On Tue, Dec 11, 2018 at 11:35 AM Clément OUDOT
<[email protected]> wrote:
>
>
>
> Le 11/12/2018 à 08:46, Lior Dotan a écrit :
> >> Try to use 'java.lang.System.out.println' in your js code to print the
> >> value at the end of the dataset to check is in lowercase.
> > I had a small error in my javascript code, it should be:
> > -                        mail.toLowerCase();
> > +                        mail = mail.toLowerCase();
> >
> > After fixing it, when I print the value like you suggested it is in
> > lower case but LSC still syncs the record.
>
> Try to set DEBUG logLevel in all logger in logback.xml and send logs.

this is what I got:

Dec 11 15:15:15 - DEBUG - In object "[email protected]":  List of
attributes considered for writing in destination: [uid, mail,
givenName, objectClass, mobile, description, sn]
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"uid" is in MERGE status
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"uid" will not be written to the destination
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"mail" is in FORCE status
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Adding
attribute "mail" with values [[email protected]]
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"givenName" is in MERGE status
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Adding
attribute "givenName" with values [John]
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"objectClass" is in KEEP status
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Adding
attribute "objectClass" with values [top, person,
organizationalPerson, user]
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"mobile" is in MERGE status
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"mobile" will not be written to the destination
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"description" is in MERGE status
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"description" will not be written to the destination
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Attribute
"sn" is in FORCE status
Dec 11 15:15:15 - DEBUG - In object "[email protected]":  Adding
attribute "sn" with values [Doe]
Dec 11 15:15:15 - DEBUG - Lauching '/usr/local/bin/ad_connector.py
[email protected] '
Dec 11 15:15:15 - DEBUG - Writing to STDIN # Tue Dec 11 15:15:15 UTC 2018
dn: [email protected]
changetype: add
mail: [email protected]
givenName: John
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
sn: Doe


Dec 11 15:15:15 - DEBUG - Waiting for command to stop ...
_______________________________________________________________
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