The "5 minute example" page is incorrect on how to create an LdapConnection, since that is an interface.
Not trying to nitpick, but it's probably worth fixing now - just that whole "first impression" notion... The example: LdapConnection connection = new LdapConnection( "localhost", 389 ); Should instead read: LdapConnection connection = new LdapNetworkConnection( "localhost", 389 ); Best regards, Richard