Issue #78 has been updated by Jonathan Clarke.

File patch-fix-78-2.diff added
Category set to Core
Status changed from New to Assigned
Assigned to set to Jonathan Clarke
Target version set to 1.1.0

Hi Rapha?l,

Thanks for your patches. I have looked at them, and they seem to work fine. I 
attach an extended version of your patch, which :
# Includes your changes with some changes to style
# Deprecates getAttributeValueById, and replaces it with 
getAttributeFirstValueById
# Factorises the code for those 3 functions (including your new 
getAttributeValuesById)
# Adds some tests that use of all these functions

Could you test this patch, and confirm that it's what you need? If so, I 
propose to commit this. Please feel free to send any comments on the code, or 
improve it :)
----------------------------------------
Feature #78: Enhance multi-valuated attribute management
http://tools.lsc-project.org/issues/show/78

Author: Cl?ment Oudot
Status: Assigned
Priority: Normal
Assigned to: Jonathan Clarke
Category: Core
Target version: 1.1.0


Hello,

I have to manage groups, with multiple members. I need to apply some changes on 
each member value (in fact, find the corresponding DN in the target directory).

For a mono-valuated attribute, I can use the LSC provided method, like:
<pre>
lsc.syncoptions.taskname.member.force_value = ldap.attribute( 
ldap.list('ou=people' , "(sAMAccounName=" + srcLdap.attribute( 
srcBean.getAttributeValueById('uniqueMember'), 'uid' ) +")" ), 
'distinguishedName' )
</pre>

I would like to have a wrapper that can apply this for all source values.



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.lsc-project.org/pipermail/lsc-dev/attachments/20090625/c537a139/attachment.htm>

Reply via email to