Linux.com

Re:I encounted a problem when ldapadding ou=People

Posted by: Anonymous Coward on August 02, 2006 08:28 AM
Unfortunately there isn't really a very good place for diagnostic info, though you can try muddling through the server logs.

Based on the error code it is likely that (dc=my-domain,dc=com) doesn't exist. You should change that to whatever your main suffix is.

Also literal hyphens aren't liked for DNs so you'll need to escape that with a backslash. The Net::LDAP::Util Perl module offers a function for escaping/canonicalizing DNs.

#

Return to Linux LDAP authentication