Hi Vijay,
   
    it looks like you're doing this at a programmatic level, rather than using the GUI?  Your best option is to look at the excellent 'JNDI Tutorial' written by Rosanna Lee at Sun: http://java.sun.com/products/jndi/tutorial/ - particularly http://java.sun.com/products/jndi/tutorial/basics/directory/search.html.

    cheers,

         Chris

On 11/05/2006, at 1:59 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:

Hi Chris,

I have now managed to perform add, modify and delete operation on ldap. now that i want to perform the search operation but i cannot understand what inputs are exactly required for the following function can you please give an example.

LdapSearchResults lsc = conn.Search(searchBase,LdapConnection.SCOPE_SUB,searchFilter,null,false);

Warm Regards
---------------------
Vijay Jadhav
CAMPUS
IPSWICH - UK
Tel - 0044-1473-609963
Mo - 0044- 7767483825
 


From: Chris Betts [mailto:[EMAIL PROTECTED]]
Sent: 09 May 2006 20:44
To: Jadhav,V,Vijay,XDP66C C
Cc: jxplorer-users@lists.sourceforge.net
Subject: Re: Error 34 Invalid DN

Hi Vijay,

   the user ID for logging on must be a DN itself - the DN of  a valid user entry with a matching password.  If you are simply using a user name like 'Vijay', you'll get an invalid DN exception, you need something like 'cn=Vijay, dc=co, dc=uk' (or whatever).

   cheers,

       Chris

On 09/05/2006, at 9:39 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote:

Hi Chris,

I have installed the Jexplorer and tried configuring it but gives me error 34. INVALID DN.

Can you please let me know the formats of all the parameters that we enter in the UI given by Jeplorer

Format of Base DN:

The format I am using for Base DN is : ou=21c,dc=21c,dc=bt,dc=co,dc=uk
Format of User DN: I am straight ways entering the UseriD ="some name" and pwd = "some password". After clicking OK it gives me the error mentioned above. Please help.

Warm Regards
---------------------
Vijay Jadhav
CAMPUS
IPSWICH - UK
Tel - 0044-1473-609963
Mo - 0044- 7767483825



Reply via email to