Hi, 
 
I checked the examples with given in the original mail using 
the current version of Net::LDAP::LDIF in the subersion 
repository. 
 
Here are my results (for each entry it is the output of 
entry->dump() followed by the contents of 
$entry->changetype() and $entry->attributes()): 
------------------------------------------------------------------------

dn:cn=Paul Jensen, ou=Product Development, dc=airius, 
dc=com 
 
      newrdn: cn=Paula Jensen 
deleteoldrdn: 1 
--- 
changetype: modrdn 
attributes: newrdn,deleteoldrdn 
 
------------------------------------------------------------------------

dn:cn=foo,o=bar 
 
newattrib: someValue 
---- 
changetype: modify 
attributes: newattrib 
 
------------------------------------------------------------------------

dn:cn=foo,o=bar 
 
       add: newAttrib 
changetype: modify 
 newattrib: someValue 
-- 
changetype: add 
attributes: add,changetype,newattrib 
 
 
To me this looks absolutely O.K: the first two examples 
which have changetype: directly after the dn: parse correctly. 
The incorrect last example (changetype: in the middle) parses 
incorrectly, but this is to be expected according to the GIGO 
principle (garbage in, garbage out). 
 
Time to get the next version of perl-ldap released ;-) 
Peter 



Reply via email to