Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Thierry Lam
I'm currently using the following realm configuration(Tomcat 5.5) and it's working fine: Realm className=org.apache.catalina.realm.JNDIRealm connectionName=[EMAIL PROTECTED] connectionPassword= connectionURL=ldap://domain.com;

Re: Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thierry, Thierry Lam wrote: | I'm currently using the following realm configuration(Tomcat 5.5) and | it's working fine: | |Realm className=org.apache.catalina.realm.JNDIRealm | connectionName=[EMAIL PROTECTED] |

Re: Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thierry, Christopher Schultz wrote: | userSearch=((sAMAccount={0})(|(OU=Mails)(OU=Services)) Hmm... that might not work. See the last comment on this page: http://confluence.atlassian.com/display/DEV/How+to+write+a+LDAP+search+filter Sorry :( -

RE: Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Thierry Lam
: How do you search for users in different organization? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thierry, Christopher Schultz wrote: | userSearch=((sAMAccount={0})(|(OU=Mails)(OU=Services)) Hmm... that might not work. See the last comment on this page: http://confluence.atlassian.com/display

Re: Realm/active directory: How do you search for users in different organization?

2008-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thierry, Thierry Lam wrote: | Does anyone know how I can specify two different realms so that each | one of them search a different organization? I have no experience with it, but my understanding is that JAASRealm is capable of utilizing multiple