On 29 May 2008, at 14:03, Zumwalt, Robert wrote:
Well the DN is supposed to be all one line.. so outlook must have formatted this improperly. DISPLAYNAME=Name 1 ,MAIL [EMAIL PROTECTED],OU=OSS_8781150020001601_200805281457 19695574,O=blah.com,O=consumer,O=site And this entry is below MAIL [EMAIL PROTECTED],OU=OSS_8781150020001601_20080528145719 695574,O=blah.com,O=consumer,O=site Which is below OU =OSS_8781150020001601_20080528145719695574,O=blah.com,O=consumer,O=sit e Etc. I'm using the latest version of Net::LDAP from the cpan archives as I updated our local version recently and I'm using this with an Openwave directory.
All the DNs you've given look reasonably constructed, ignoring the word-wrapping from your mailer. Net::LDAP generally just takes the DN string you give it and send it as-is to the server, so any error you're seeing is likely to be in how the server's interpreting the DN string. What actual error is the server returning?
Does the server understand the "DISPLAYNAME" attribute type? Does it allow it in an RDN?
Cheers, Chris