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.



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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Support-for-Active-Directory----tp16720195p17053942.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


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

Reply via email to