There isn't much to say. I just follow the instructions I found in the comment 
block of the source code and the postings to the user group. There was nothing 
too special for AD. 
 
Here is a link to a posting by James Mason.
http://cvs.apache.org/viewcvs.cgi/jakarta-slide/src/conf/webapp/JNDI-Domain.xml?rev=1.2&view=auto
 
I did have to play with the jndi.attributes.groupmemberset and 
jndi.search.filter settings settings.
Just use any old ldap browser to browse the schema.
 
One thing I have found is that AD admins seem to like spreading their groups 
and people around in the tree, instead of having a single people root and a 
single groups root. I don't think the JNDIPrincipalStore handles this case, but 
I didn't have time to test it thoroughly. It might have to do with the 
jndi.search.scope setting.
 
Also having the passwords in cleartext has been a battle.
 
 

________________________________

From: Jacob Lund [mailto:[EMAIL PROTECTED]
Sent: Fri 2/25/2005 5:53 AM
To: Slide Users Mailing List
Subject: Re: LDAP Connection Error



Hi John!

I would like to create a Wiki on how to integrate slide with an AD!

Would you mind sharing your configuration of the JNDIPrincipalStore, realm
and other experiences on this integration?

Thanks
/Jacob

----- Original Message -----
From: "John Gilbert" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <slide-user@jakarta.apache.org>
Sent: Thursday, February 24, 2005 4:33 PM
Subject: LDAP Connection Error


I am using the JNDIPrincipalStore to connect to Active Directory to
retrieve Users and Roles. Everything works fine for a while.

Then it eventually gets a connection error and I have to restart the
Slide war. I have several other applications connecting to the same

Active Directory instance and they are not experiencing any problems or
may be they are handling the error and reconnecting automatically.



Has anyone had this problem?

Is the JNDIPrincipalStore supposed to gracefully reconnect? There is
nothing for this in the code. Is this handled by the framework?



Thanks

John



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



Reply via email to