Howdy, Did you by any chance search this list's archives before posting? A more descriptive subject would also likely net more responses ;)
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Pitre, Russell [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 01, 2003 3:06 PM >To: Tomcat Users List >Subject: Help! > >I'm running TC 4.1.24/ J2SDK 1.4 on Win2k Pro workstation........I've >created a simple webapp to test form-based authentication against Active >Directory.......I've had absolutely no luck.......Has anyone had any >luck with this? Any information would be greatly appreciated.......code >snippets? > >I had a little assistance with this website: >http://www.java-internals.com/code/jndi_realm.html > >Where the snippet has "userRoleName="member" I'm not sure if that's a >security group in Active Directory or what... >...and....roleName="cn"......whats this?...... > > >THanx >Russ..... > > > > <Context path="/ldap" docBase="ldap" defaultSessionTimeout="3 >isWARExpanded="true" isInvokerEnabled="true" debug="99" > reloadable="true" > > > <Logger >className="org.apache.catalina.logger.FileLogger" >prefix="localhost_ldap_Log." suffix=".txt" >timestamp="true" /> > > <Realm className="org.apache.catalina.realm.JNDIRealm" >debug="99" > connectionURL="ldap://[DOMAIN CONTROLLER]:389" > >userBase="OU=Users,OU=Shawmut,DC=[DOMAIN],DC=com" > userSearch="(userPrincipalName={0})" > userRoleName="member" > roleBase="OU=Users,OU=Shawmut,DC=shawmut,DC=com" > roleName="cn" > roleSearch="(member={0})" > >connectionName="CN=[user],OU=Users,OU=Shawmut,DC=[DOMAIN],DC=com" > connectionPassword="[password]" > roleSubtree="true" > userSubtree="true"/> > </Context> > > > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]