Re: LDAP Authentication: exception-resolved:comments

2005-06-20 Thread shishir . saxena
Hi Wolfgang                 I downloaded the browser and found that the connection with LDAP server was stable and it was able to authenticate the user. Thanks. After drilling down in to the problem further, we came to the conclusion that the ldap.properties file was incomplete. Thus, we were a

Re: LDAP Authentication: exception

2005-06-20 Thread J. Wolfgang Kaltz
[EMAIL PROTECTED] schrieb: (...) authenticate failed for principal uid=vipul,ou=LP,o=ORG, exception javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials] This is an error from the LDAP server. Either you provided the bad password (or the password is encoded in a

Re: LDAP Authentication: exception

2005-06-20 Thread shishir . saxena
Hi Wolfgang                 Thanks for all your responses. We are gradually moving ahead with configuring LDAP to Lenya but still are not able to implement it completely. We are successfull in adding a LDAP user(University User for Unitemplate Publication). After providing access for a page to th

Re: LDAP Authentication: exception

2005-06-17 Thread J. Wolfgang Kaltz
[EMAIL PROTECTED] schrieb: (...) The ldap.properties now looks like: provider-url=ldap://172.17.127.60:389/ou=LP,o=ORG # Manager/user which is allowed to retrieve a list of "all" users (fullname) from LDAP server mgr-dn=cn=anonymous,ou=LP,o=ORG # Password of Manager mgr-pw= usr-branch=ou=LP

Re: LDAP Authentication: exception

2005-06-17 Thread shishir . saxena
Wolfgang          The null pointer exception is removed after I rewrote the properties file. Thanks for all your suggestions. The ldap.properties now looks like: provider-url=""> # Manager/user which is allowed to retrieve a list of "all" users (fullname) from LDAP server mgr-dn=cn=anonymous,ou=

Re: LDAP Authentication: exception

2005-06-16 Thread J. Wolfgang Kaltz
J. Wolfgang Kaltz schrieb: [EMAIL PROTECTED] schrieb: .. Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:393) at org.apache.lenya.ac.ldap.LDAPUser.bind(LDAPUser.java:346) at org.apache.lenya.ac.ldap.LDAPUser.getDirectoryEnt

Re: LDAP Authentication: exception

2005-06-16 Thread J. Wolfgang Kaltz
[EMAIL PROTECTED] schrieb: Wolfgang I am receiving the same error after deploying the unitemplate publication. I am sorry to write ldap.properties as LDAP.properties in my mail. After browsing the mail archives, I got a patch posted by Markus Anwander (dated:12-10-2004) and in that

Re: LDAP Authentication: exception

2005-06-16 Thread shishir . saxena
Wolfgang         I am receiving the same error after deploying the unitemplate publication.  I am sorry to write ldap.properties as LDAP.properties in my mail. After browsing the mail archives, I got a patch posted by Markus Anwander (dated:12-10-2004) and in that thread I was able to read your

Re: LDAP Authentication: exception

2005-06-16 Thread J. Wolfgang Kaltz
[EMAIL PROTECTED] schrieb: .. Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:393) at org.apache.lenya.ac.ldap.LDAPUser.bind(LDAPUser.java:346) at org.apache.lenya.ac.ldap.LDAPUser.getDirectoryEntry(LDAPUser.java:426)

Re: LDAP Authentication: exception

2005-06-16 Thread shishir . saxena
Thanks Wolfgang for the prompt reply. There is no exception as such being displayed even in the logs. I am just pasting parts of the stack trace: org.apache.avalon.framework.CascadingRuntimeException: "file:/D:/apache-src/lenya-1.2.3/build/lenya/webapp/lenya/content/admin/users/user-admin.js", li

Re: LDAP Authentication: exception

2005-06-16 Thread J. Wolfgang Kaltz
[EMAIL PROTECTED] schrieb: ... After restarting the servlet container, I logged into my publication as administrator and tried creating LDAP user after clicking on the respective button in 'User Creation' module. After entering the user credentials with UID and CMS UID as 'vipul' and pressing

LDAP Authentication: exception

2005-06-16 Thread shishir . saxena
Hi         I created the following schema in my LDAP server(OpenLDAP): dn: cn=Vipul Ramani, ou=LP, o=ORG homePhone: 800-555-1313 givenName: Vipul mobile: 800-555-1318 objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson userPassword:: e1NIQX1xVXFQNWN5