You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by rajkumar <ra...@gmail.com> on 2017/03/06 07:21:02 UTC

Issue with synchronize data from LDAp to syncope

Hi,

I have configured Syncope 1.2.10 in local and tried to create connector,
Resource and pull task for 2 LDAP servers. I have successfully created three
without any issues. When i try to run the task for 2 servers i got different
output. For one server i am able to fetch data from LDAP to syncope without
any issues and the connid.log gives output as below.

*12:21:52.822 DEBUG Enter: search(ObjectClass: __ACCOUNT__, null,
org.apache.syncope.core.propagation.impl.ConnectorFacadeProxy$2@3ed8a8ee,
OperationOptions:
{ATTRS_TO_GET:[__PASSWORD__,uid,givenName,__NAME__,cn,sn,__UID__,__ENABLE__]})
Method: search
12:21:53.219 DEBUG Enter: {Uid=Attribute: {Name=__UID__, Value=[admin]},
ObjectClass=ObjectClass: __ACCOUNT__, Attributes=[Attribute:
{Name=__PASSWORD__,
Value=[org.identityconnectors.common.security.GuardedString@204e249b]},
Attribute: {Name=uid, Value=[admin]}, Attribute: {Name=__NAME__,
Value=[cn=adminuser,ou=people,o=ebmpapst]}, Attribute: {Name=cn,
Value=[adminuser]}, Attribute: {Name=sn, Value=[admin]}, Attribute:
{Name=__UID__, Value=[admin]}, Attribute: {Name=__ENABLE__, Value=[]},
Attribute: {Name=givenName, Value=[Admin User]}], Name=Attribute:
{Name=__NAME__, Value=[cn=adminuser,ou=people,o=ebmpapst]}}	Method: handle
12:21:53.343 DEBUG Return: true	Method: handle
12:21:53.923 DEBUG Return: null	Method: search*

For another server task is running successfully but the data from LDAP not
synchronized with syncope. Its connid.log giving below entries.

*Thread Id: 57   Time: 2017-03-06 12:47:17.254   Class:
org.identityconnectors.framework.api.operations.SearchApiOp      Method:
search  Level: OK       Message: Enter: search(ObjectClass: __ACCOUNT__,
 null,
org.identityconnectors.framework.impl.api.StreamHandlerUtil$ResultsHandlerAdapter@58ac6a21,
OperationOptions:
{ATTRS_TO_GET:[__PASSWORD__,givenName,__NAME__,cn,sn,__UID__,department,__ENABLE__]
})
Thread Id: 57   Time: 2017-03-06 12:47:17.408   Class:
org.identityconnectors.framework.spi.operations.SearchOp Method:
executeQuery    Level: OK       Message: Enter: executeQuery(ObjectClass:
__ACCO
UNT__, null,
org.identityconnectors.framework.impl.api.local.operations.SearchImpl$1@17f248dc,
OperationOptions:
{ATTRS_TO_GET:[__PASSWORD__,givenName,__NAME__,cn,sn,__UID__,department,__ENABLE__]})
Thread Id: 57   Time: 2017-03-06 12:47:17.409   Class:
net.tirasa.connid.bundles.ldap.search.LdapSearch Method:
getAttributesToGet(LdapSearch.java:437) Level: WARN     Message: Reading
passwords not s
upported
Thread Id: 57   Time: 2017-03-06 12:47:17.409   Class:
net.tirasa.connid.bundles.ldap.schema.LdapSchemaMapping  Method:
getLdapAttribute(LdapSchemaMapping.java:173)    Level: WARN     Message:
Attribu
te __ENABLE__ of object class __ACCOUNT__ is not mapped to an LDAP attribute
Thread Id: 57   Time: 2017-03-06 12:47:17.410   Class:
net.tirasa.connid.bundles.ldap.search.VlvIndexSearchStrategy     Method:
doSearch(VlvIndexSearchStrategy.java:76)        Level: OK       Message:
 Searching in [CN=Bernd Sales,OU=MUL,DC=loc,DC=trumobi,DC=de] with filter
(&(objectClass=top)(objectClass=person)(objectClass=organizationalPerson)(objectClass=user))
and SearchControls: {returningAtt
ributes=[cn, department, givenName, l, sn, userPassword], scope=SUBTREE}
Thread Id: 57   Time: 2017-03-06 12:47:17.410   Class:
net.tirasa.connid.bundles.ldap.search.VlvIndexSearchStrategy     Method:
searchBaseDN(VlvIndexSearchStrategy.java:92)    Level: OK       Message:
 Searching in CN=Bernd Sales,OU=MUL,DC=loc,DC=trumobi,DC=de
Thread Id: 57   Time: 2017-03-06 12:47:17.410   Class:
net.tirasa.connid.bundles.ldap.search.VlvIndexSearchStrategy     Method:
searchBaseDN(VlvIndexSearchStrategy.java:107)   Level: OK       Message:
 New search: target = 1, afterCount = 99
Thread Id: 57   Time: 2017-03-06 12:47:17.565   Class:
net.tirasa.connid.bundles.ldap.search.VlvIndexSearchStrategy     Method:
processResponseControls(VlvIndexSearchStrategy.java:185)        Level: O
K       Message: Response control: lastListSize = 0
Thread Id: 57   Time: 2017-03-06 12:47:17.565   Class:
org.identityconnectors.framework.spi.operations.SearchOp Method:
executeQuery    Level: OK       Message: Return
Thread Id: 57   Time: 2017-03-06 12:47:17.565   Class:
org.identityconnectors.framework.api.operations.SearchApiOp      Method:
search  Level: OK       Message: Return: null*

In the above log data, The query which is triggering i have tried to fetch
data in LDAP browser using same query and it is working as expected, but
same query not working in syncope.

*Searching in [CN=Bernd Sales,OU=MUL,DC=loc,DC=trumobi,DC=de] with filter
(&(objectClass=top)(objectClass=person)(objectClass=organizationalPerson)(objectClass=user))
and SearchControls: {returningAtt
ributes=[cn, department, givenName, l, sn, userPassword], scope=SUBTREE}*


Also in version 2.0.2 i have tried with second server, i can able to see
data in explorer resource tab but not in user tab. i am getting same error
in connid.log file.

Kindly help me with this to fix the issue. Let me know what i am missing
here.
  

--
View this message in context: http://syncope-user.1051894.n5.nabble.com/Issue-with-synchronize-data-from-LDAp-to-syncope-tp5709056.html
Sent from the syncope-user mailing list archive at Nabble.com.