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

Using ldap urls with Java JNDI



Hi,
    Has anyone tried using ldap urls with Java JNDI?  I tried doing a
search() using an ldap url and it didn't work.  I did somehting like
this:

    DirContext ctx = new IntialDirContext();

    NamingEnumeration result =
ctx.search("ldap://localhost:389/cn=laura,cn=Users,ou=MyOrg,o=MyCo,c=US.",filter,
null);


Any comments, suggestions would be appreciated.

Laura