Le 12/06/2018 à 08:28, Lior Dotan a écrit :
> Hi,
>
> I'm trying to sync groups from AD to external scripts which I was able
> to do in the past.
> The problem now is that the update script is called with 'cn= ' only,
> without the group name even though the get script is called with the
> group name.
> Any idea what's going on?
>
> Jun 12 08:35:51 - INFO  - Starting sync for SyncCreateGroupTask
> Jun 12 08:35:51 - DEBUG - Using pagedResults control for 1000 entries at a 
> time
> Jun 12 08:35:51 - DEBUG - Lauching '/usr/local/bin/ad_get.sh
> CN=Management,OU=Microsoft Exchange,DC=TEST,DC=LOCAL '
> Jun 12 08:35:51 - DEBUG - Writing to STDIN cn: Management
>
> Jun 12 08:35:51 - DEBUG - Waiting for command to stop ...
> Jun 12 08:35:53 - DEBUG - Messages dump on stderr by script:
> Jun 12 08:35:53 - WARN  - The ldif file is empty
> Jun 12 08:35:53 - WARN  - The ldif file is empty
> Jun 12 08:35:53 - ERROR - Entries count: 0
> Jun 12 08:35:53 - DEBUG - Unsupported scripting engine: Oracle Nashorn
> Jun 12 08:35:54 - DEBUG - In object "cn=":  List of attributes
> considered for writing in destination: [member, objectClass, cn]
> Jun 12 08:35:54 - DEBUG - In object "cn=":  Attribute "member" is in
> FORCE status
> Jun 12 08:35:54 - DEBUG - In object "cn=":  Adding attribute "member"
> with values [CN=Joe Doe, OU=Operation, OU=Test, DC=TEST, DC=LOCAL,
> CN=John Dough,  CN=Test Test2]
> Jun 12 08:35:54 - DEBUG - In object "cn=":  Attribute "objectClass" is
> in KEEP status
> Jun 12 08:35:54 - DEBUG - In object "cn=":  Attribute "objectClass"
> will not be written to the destination
> Jun 12 08:35:54 - DEBUG - In object "cn=":  Attribute "cn" is in KEEP status
> Jun 12 08:35:54 - DEBUG - In object "cn=":  Attribute "cn" will not be
> written to the destination
> Jun 12 08:35:54 - DEBUG - Lauching '/usr/local/bin/ad_connector.py cn= '
>
>

Your scripts seems to return nothing. Be sure to respect
STDIN/STDOUT/STDERR usage:
https://lsc-project.org/documentation/plugins/executable/howto_scripts

-- 
Clément Oudot | Identity Solutions Manager

clement.ou...@worteks.com

Worteks | https://www.worteks.com

_______________________________________________________________
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