Issue #612 has been updated by Jon Kidder.

Never mind about the presumed location of the error.  I didn't realize that 
SearchControls.setReturingAttributes needed an string array instead of a 
string.  I'm still looking for where/why the attribute list gets set to Null.
----------------------------------------
Bug #612: ScriptableJndiServices.attribute does not set the attribute list when 
performing a search
http://tools.lsc-project.org/issues/612

Author: Jon Kidder
Status: Assigned
Priority: Normal
Assigned to: Sébastien Bahloul
Category: Core
Target version: 2.0.3
Problem in version: 2.0.2


ScriptableJndiServices.attribute is using a null attribute list when performing 
searches.  This prevents the function from being used to retreive operational 
attributes or "modified" attributes in the case of Microsoft's ranging 
implementation. I believe the error is in line 217 of 
ScriptableJndiServices.java:

            sc.setReturningAttributes(new String[] {attrName});

Shouldn't this line simply be:

            sc.setReturningAttributes(attrName);



-- 
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

Reply via email to