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.

Regards

Martin



Von:    "Soisik Froger" <[email protected]>
An:     [email protected]
Datum:  05.11.2018 19:20
Betreff:        Re: [lsc-users] Antwort: Antwort: Re: Antwort: Re: 
Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: NIS 
plugin and filtering
Gesendet von:   "lsc-users" <[email protected]>



On 05/11/2018 18:15, Martin Röh wrote:
> 
> Is there something special in relation to the AD ?
> 
> Regards
> 
> Martin

Hi Martin,

Please elaborate your question, I don't understand what is the exact 
problem with your AD sync, and you said that you get modify messages. Are 
you getting any error and what is not working accordingly to your 
expectations ?

-- 
Soisik Froger | Software Architect

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

_______________________________________________________________
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