I am connecting to Microsoft Active Directory using Net::ADP from a Linux
box running perl-ldap Release: 0.34

I am trying to print an entry's attribute values, but when I print out an
entry which has multiple values, I have a problem. However, when I use
Net:LDAP:LDIF to dump the same entry there is no problem

for example the result while printing the values of memberOf ends up being
as the following
<snip>
memberOf: 
CN=SMTCORLinuxUser,OU=Groups,DC=domain,DC=comCN=SMTCORLinuxAdmin,OU=Groups,DC=domain,DC=com
</snip>

and while using Net::LDAP::LDIF to write the file then it ends up looking
like

<snip>
memberOf: CN=SMTCORLinuxUser,OU=Groups,DC=domain,DC=com
memberOf: CN=SMTCORLinuxAdmin,OU=Groups,DC=domain,DC=com
</snip>

I believe I am running into a CR+LF problem with Entry.pm
After reviewing the problems reported
http://osdir.com/ml/lang.perl.modules.ldap/2005-07/msg00026.html

Any help or suggestions are appreciated.


Reply via email to