Le 06/11/2018 à 11:52, Martin Röh a écrit :
> Hi Soisik,
>
> as described I changed the sync destination from an openldap to an AD
> (also changing the attributes fitting the AD needs). If I start a sync
> now no entries for syncing are found, I only get this message:
>
> Nov 06 11:45:21 - INFO  - Starting sync for NIS2LDAP-User-SyncTask
> Nov 06 11:45:21 - DEBUG - Connecting to the NIS domain ...
> Nov 06 11:45:21 - DEBUG - Retrieving the information ...
> Nov 06 11:45:22 - DEBUG - Closing context ...
> Nov 06 11:45:25 - INFO  - All entries: 950, to modify entries: 0,
> successfully modified entries: 0, errors: 0
>
> It seems to me that there are no matches between the NIS and the AD
> and I think I set the mainidentifier in a wrong way:
>
> <mainIdentifier>"CN=" + srcBean.getDatasetFirstValueById("uid")) +
> ",OU=HH,OU=Benutzer,DC=PPI,DC=INT"></mainIdentifier>
>                                 <defaultDelimiter>;</defaultDelimiter>
>                                 <defaultPolicy>KEEP</defaultPolicy>
>                                 <conditions>
>                                         <create>false</create>
>                                         <update><![CDATA[rjs:
>                                                 var update = false;
>                                                
> java.lang.System.out.println("checking user -> " +
> srcBean.getDatasetFirstValueById("uid"));
>
> The println in the update condition is never reached.
>
> Is it possible to set a general println outside of the condition block
> so I can see every entry from the source the sync is working on ? An
> output of every mainIdentifier would also be helpful.
>


Hello,

the create condition is set to "false" so if the entry does not exists
in AD, it will not be created.


-- 
Clément Oudot | Identity Solutions Manager

[email protected]

Worteks | https://www.worteks.com

_______________________________________________________________
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