On 1/6/2011 3:45 AM, Santosh M wrote:
> HI,
> I am using jexplorer to connect to the Openldap.
> Here is what i have done, in order to connect to the openldap:
> I selected "user+password" in the "level"
> In the user DN, i entered "cn=admin,dc=myadm,dc=local"
> In the password, i entered the password and clicked on connect.
> I am successfully able to connect.
>
> Now, in the ldap server, i have added a new user called "sample" and here is 
> the user DN for the same - "cn=sample,dc=myadm,dc=local" and i have
> set the password for the user using userpassword attribute.
> However, when i enter the user DN - "cn=sample,dc=myadm,dc=local" along with 
> the password, i am not able to login.
> I get a exception saying "invalid credentials"
>

Can you use the the OpenLDAP commands to query using the 
cn=sample,dc-myadm,dc=local?

If not, this may be an issue with the OpenLDAP server slapd.conf.
Check the access rules, including groups, as to who can login and what
they can do.

It might also be how you set the userPassword. It may be base64 encoded,
and may require a prefix to indicate how the password is encoded,
for example:
    {sasl}ad...@realm
could be used if SASL to some other system like AD is used to check passwrod.

Or:
  {crypt}NP
  in base64 this is: e2NyeXB0fU5QCg

if the password is to be treated as run with crypt, where NP means no
password matches, i.e. use something other the LDAP for authentication
like Kerberos.



>
> on the contrary, on a WIndows Active directory, i added a user called 
> "sample" and set the password and used the username/password in the jexplorer 
> to connect tot he AD, and i am successfully able to
> connect without much hassle.
> How different is it when we use Windows AD than OpenLdap.
>
>
> Please can some one help me what  i am missing.
>
>
> --
> Warm Regards,
> Santosh
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
>
>
>
> _______________________________________________
> Jxplorer-users mailing list
> Jxplorer-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jxplorer-users

-- 

  Douglas E. Engert  <deeng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Jxplorer-users mailing list
Jxplorer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-users

Reply via email to