[Freeipa-devel] modifyModList will need to be swapped out
Kevin McCarthy
kmccarth at redhat.com
Mon Aug 20 18:28:22 UTC 2007
Pete and I took a closer look at modifyModList() and determined it's not
doing the right thing. We'll need to write our own version.
For example, for a single attribute, e.g. telephone:
original_values = ['A', 'B', 'C']
new_values = ['B', 'C', 'D']
ideally we would want DEL telephone 'A', ADD telephone 'D'
The code is doing:
DEL telephone
ADD telephone ['B', 'C', 'D']
-Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070820/dee78284/attachment.bin>
More information about the Freeipa-devel
mailing list