jazzhazze schrieb:
That really helped! Thank you!
Now it works to import users from AD. The only thing is that is seems like
the AD passwords aren't imported along with the users? Thus it isn't
possible for the users to log in to Lenya using their AD passwords.

AFAIK the passwords aren't imported, but the authentication is delegated to the LDAP server. I don't know if this information helps you, though.

-- Andreas





Richard Frovarp wrote:
jazzhazze wrote:
I've found the HTML-source of the error page that occurs when I try to
add a
LDAP-user. It looks like this:

stacktracejava.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:396)
        at org.apache.lenya.ac.ldap.LDAPUser.bind(LDAPUser.java:359)
        at
org.apache.lenya.ac.ldap.LDAPUser.getDirectoryEntry(LDAPUser.java:434)
        at org.apache.lenya.ac.ldap.LDAPUser.existsUser(LDAPUser.java:146)
        at org.apache.lenya.cms.ac.usecases.AddUser.validate(AddUser.java:75)
        at
org.apache.lenya.cms.ac.usecases.AddUser.doCheckExecutionConditions(AddUser.java:96)
        at
Somehow the principal being passed in is null. You probably haven't set the mgr-dn property in the ldap config file.

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to