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]

Reply via email to