[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Getting Started

Leslie Tighe wrote:
The code snipped below produces an invalid dn exception so I am not sure if my setup is correct.
String password = "secret";
LDAPConnection ld = new LDAPConnection();
ld.bind(ldapVersion, "Manager", password.getBytes("UTF8") );

This JLDAP snippet appears okay except that the appropriate bind dn is probably not "Manager". You should probably start at the beginning:


and note that a distinguished name is formatted similar to the example 'uid=babs,ou=People,dc=example,dc=com'.

Jon Roberts