Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.0
-
None
-
None
Description
dn: dc=example,dc=com
changetype: modify
add: administrativeRole
administrativeRole: accessControlSpecificArea
doesn't work because ldif reader lowercases the attr Id from the last line and compares it to the non-lowercased attrId from the add line.
After some discussion on IRC I think everyone agreed that:
the comparison between the attriDs should be case insensitive
the modification item generated should use the attrId from the add: line
The last rule is intended to make future handing of something like:
dn: dc=example,dc=com
changetype: modify
add: CN
cn: foo
Cn: Bar
cN: baZ
CN: ummm
all fit into one ModificationItem. Right now LdifReader is generating one modificationItem for each line with an attribute.