Hi Vijay,
cheers,
Chris 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 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 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
|