Thanks. Consider doing the following operations:
- check that the source service is configured with a samaccountname
attribute
- put the loglevel to DEBUG (see logback.xml)
- rerun and check the corresponding logs

Regards,
Le 12 janv. 2015 09:04, <[email protected]> a écrit :

>   Thanks Sebastien.
>
>
>
> Configuration is as below and I am trying yellow marked parameter for
> group name field in AD but it is giving random value.
>
>
>
> <ldapDestinationService>
>
>           <name>testad-dst-service</name>
>
>           <connection reference="testAD" />
>
>           <baseDn>dc=testrjil,dc=net</baseDn>
>
>           <pivotAttributes>
>
>              <string>cn</string>
>
>           </pivotAttributes>
>
>           <fetchedAttributes>
>
>              <string>cn</string>
>
>              <string>sAMAccountName</string>
>
>              <string>objectClass</string>
>
>           </fetchedAttributes>
>
>
> <getAllFilter><![CDATA[(objectClass=inetOrgPerson)]]></getAllFilter>
>
>
> <getOneFilter><![CDATA[(&(objectClass=inetOrgPerson)(cn={groupname}))]]></getOneFilter>
>
>       </ldapDestinationService>
>
>        <propertiesBasedSyncOptions>
>
>          <mainIdentifier>"cn=" +
> srcBean.getDatasetFirstValueById("groupname") +
> ",dc=testrjil,dc=net"</mainIdentifier>
>
>          <defaultDelimiter>;</defaultDelimiter>
>
>          <defaultPolicy>FORCE</defaultPolicy>
>
>          <dataset>
>
>            <name>objectClass</name>
>
>            <policy>FORCE</policy>
>
>            <forceValues>
>
>              <string>"group"</string>
>
>            </forceValues>
>
>            <delimiter>,</delimiter>
>
>          </dataset>
>
>        </propertiesBasedSyncOptions>
>
>
>
> Logs are as below:
>
>
>
> Jan 12 13:31:38 - INFO  - Reflections took 130 ms to scan 1 urls,
> producing 54 keys and 114 values
>
> Jan 12 13:31:38 - INFO  - Logging configuration successfully loaded from
> /etc/lsc/logback.xml
>
> Jan 12 13:31:38 - INFO  - LSC configuration successfully loaded from
> /etc/lsc/
>
> Jan 12 13:31:38 - INFO  - Connecting to LDAP server ldap://
> 10.135.11.20:389/dc=testrjil,dc=net as
> cn=Administrator,cn=Users,dc=testrjil,dc=net
>
> Jan 12 13:31:38 - WARN  - No clean request has been specified for
> task=adGroup. During the clean phase, LSC wouldn't be able to get the right
> entries and may delete all destination entries !
>
> Jan 12 13:31:38 - INFO  - Starting sync for adGroup
>
> Jan 12 13:31:38 - INFO  - # Adding new object
> cn=testdbgrp,dc=testrjil,dc=net for adGroup
>
> # Mon Jan 12 13:31:38 IST 2015
>
> dn: cn=testdbgrp,dc=testrjil,dc=net
>
> changetype: add
>
> objectClass: group
>
>
>
> Jan 12 13:31:38 - INFO  - All entries: 1, to modify entries: 1,
> successfully modified entries: 1, errors: 0
>
> Jan 12 13:31:38 - INFO  - Starting clean for adGroup
>
> Jan 12 13:31:38 - ERROR - Empty or non existant destination (no IDs found)
>
>
> "*Confidentiality Warning*: This message and any attachments are intended
> only for the use of the intended recipient(s), are confidential and may be
> privileged. If you are not the intended recipient, you are hereby notified
> that any review, re-transmission, conversion to hard copy, copying,
> circulation or other use of this message and any attachments is strictly
> prohibited. If you are not the intended recipient, please notify the sender
> immediately by return email and delete this message and any attachments
> from your system.
>
> *Virus Warning:* Although the company has taken reasonable precautions to
> ensure no viruses are present in this email. The company cannot accept
> responsibility for any loss or damage arising from the use of this email or
> attachment."
>
> _______________________________________________________________
> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>
> lsc-users mailing list
> [email protected]
> http://lists.lsc-project.org/listinfo/lsc-users
>
>
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to