This is most likely a limitation of the ldap server itself. What server are you running? I have not had any issues with cn length with our active directory installation, or our previous sunone server.
Don -----Original Message----- From: alan.lesn...@emerson.com [mailto:alan.lesn...@emerson.com] Sent: Friday, January 21, 2011 10:21 AM To: perl-ldap@perl.org Subject: Common Name length limitation when adding a user account? I've discovered if I try to add a user account with $ldap->add and the cn length in the attrs array is greater than 20 characters, the add will fail. Is this a known limitation? Alan Lesnick | Senior System Test Engineer, Engineering | Avocent Products and Services | Sunrise Emerson Network Power | 7775 W Oakland Park Blvd | Sunrise Florida 33351 T 954.377.7208 | F 954.377.7198 www.avocent.com<http://www.avocent.com> www.emersonnetworkpower.com