Issue #429 has been updated by Sébastien Bahloul.
Hi Robert, You are completely right and the documentation includes typos that needs to be fixed. Let's explain it again: - getAttribute* methods are deprecated. Move to getDataset* (methods are listed there: http://lsc-project.org/javadoc/2.0-SNAPSHOT/org/lsc/beans/IBean.html) - getDatasetById(String id) returns a Set<String> on which you'll need to iterate - getDatasetFirstValueById(String id) returns the first value of the attribute cast as a String Regards, ---------------------------------------- Bug #429: Syncing from Active Directory to LDAP http://tools.lsc-project.org/issues/429 Author: Robert Mill Status: New Priority: Normal Assigned to: Category: Core Target version: 2.0 Problem in version: There seems to be a problem with the function getAttributeByValueById which I have got round using getAttributeValuesById when assigning the value of sAMAccountName to uid and getAttributeFirstValueById for the MainIdentifier If I try to use getAttributeValueByID I get the error Cannot find function getAttributeByValue in object id However if I use getAttributeValuesById, this works for assigning sAMAccountName to uid however when used in MainIdentifier it returns the sAMAccountName enclosed in square brackets and so I have used getAttributeFirstValueById which works but returns a warning that it is a deprecated function. All the documentation points to getAttributeValueById but I keep getting the above error message. Is this a bug or am I doing something extremely stupid. Regards Robert -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-dev mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-dev

