Re: What LDAP servers does JNDI realm support? -
Davi Leal wrote: jerome moliere wrote: I am trying to authenticate my webapps via a JNDI Realm, which connects to Microsoft Site Server (LDAP). :( As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified LDAP server. as fai as i Know, like any other microsoft product, partially... :) I have been told the LDAP protocol is no-100% a standard. That is to say, a lot of providers have realized different offers, which share only 90% of the specification (the core standard). Nowdays, it is said, the Netscape's one being the more recognised/compatible/ standard. So, my question is now: What LDAP products does the JNDI Tomcat realm support? No problem with OpenLDAP ('from my experience), NDS or Sun implementations seem to work nicely. For microsoft active directory is quite a LDAP server, but you can't use the referral paradigm HTH Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What LDAP servers does JNDI realm support? -
Hi Can youguys give some input on the following. I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 iPlanet LDAP Server I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded the latest JNDI API and then copied the ldap.jar file to $CATALINA_HOME/server/lib directory. 2) The i have added the following entry to the server.xml file. Realm className=org.apache.catalina.realm.JNDIRealm connectionURL=ldap://ldap.mycompany.com:389; userBase=ou=active,ou=employees,ou=people,o=mycompany.com userSearch=(uid={0}) roleSearch=(uniqueMember={0}) roleName=cn debug=99 contextFactory=com.sun.jndi.ldap.LdapCtxFactory / 3) In my application web.xml file i have added the following security-constraint web-resource-collection web-resource-nameNrt/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint role-name*/role-name /auth-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-nameCEC/realm-name /login-config But authentication is not working, any debug techniques or methods will be a great help. Thanks jerome moliere [EMAIL PROTECTED] wrote: Davi Leal wrote: jerome moliere wrote: I am trying to authenticate my webapps via a JNDI Realm, which connects to Microsoft Site Server (LDAP). :( As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified LDAP server. as fai as i Know, like any other microsoft product, partially... :) I have been told the LDAP protocol is no-100% a standard. That is to say, a lot of providers have realized different offers, which share only 90% of the specification (the core standard). Nowdays, it is said, the Netscape's one being the more recognised/compatible/ standard. So, my question is now: What LDAP products does the JNDI Tomcat realm support? No problem with OpenLDAP ('from my experience), NDS or Sun implementations seem to work nicely. For microsoft active directory is quite a LDAP server, but you can't use the referral paradigm HTH Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? The New Yahoo! Shopping - with improved product search
Re: What LDAP servers does JNDI realm support? -
Hi Can youguys give some input on the following. I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 iPlanet LDAP Server I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded the latest JNDI API and then copied the ldap.jar file to $CATALINA_HOME/server/lib directory. 2) The i have added the following entry to the server.xml file. Realm className=org.apache.catalina.realm.JNDIRealm connectionURL=ldap://ldap.mycompany.com:389; userBase=ou=active,ou=employees,ou=people,o=mycompany.com userSearch=(uid={0}) roleSearch=(uniqueMember={0}) roleName=cn debug=99 contextFactory=com.sun.jndi.ldap.LdapCtxFactory / 3) In my application web.xml file i have added the following security-constraint web-resource-collection web-resource-nameNrt/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint role-name*/role-name /auth-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-nameCEC/realm-name /login-config But authentication is not working, any debug techniques or methods will be a great help. Thanks jerome moliere [EMAIL PROTECTED] wrote: Davi Leal wrote: jerome moliere wrote: I am trying to authenticate my webapps via a JNDI Realm, which connects to Microsoft Site Server (LDAP). :( As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified LDAP server. as fai as i Know, like any other microsoft product, partially... :) I have been told the LDAP protocol is no-100% a standard. That is to say, a lot of providers have realized different offers, which share only 90% of the specification (the core standard). Nowdays, it is said, the Netscape's one being the more recognised/compatible/ standard. So, my question is now: What LDAP products does the JNDI Tomcat realm support? No problem with OpenLDAP ('from my experience), NDS or Sun implementations seem to work nicely. For microsoft active directory is quite a LDAP server, but you can't use the referral paradigm HTH Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? The New Yahoo! Shopping - with improved product search
Re: What LDAP servers does JNDI realm support? -
Equipment Lamp wrote: Hi Can youguys give some input on the following. I am using the following Tomcat: 4.1.27-LE-jdk14 Apache: 2.0.47 Java : 1.4.2 Linux OS: 7.3 iPlanet LDAP Server I am trying to configure LDAP authentication mechanism to my application. 1) In this regard i have downloaded the latest JNDI API and then copied the ldap.jar file to $CATALINA_HOME/server/lib directory. 2) The i have added the following entry to the server.xml file. Realm className=org.apache.catalina.realm.JNDIRealm connectionURL=ldap://ldap.mycompany.com:389; userBase=ou=active,ou=employees,ou=people,o=mycompany.com userSearch=(uid={0}) roleSearch=(uniqueMember={0}) roleName=cn debug=99 contextFactory=com.sun.jndi.ldap.LdapCtxFactory / 3) In my application web.xml file i have added the following security-constraint web-resource-collection web-resource-nameNrt/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint role-name*/role-name /auth-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-nameCEC/realm-name /login-config But authentication is not working, any debug techniques or methods will be a great help. have you any log entries or anything helpful ? classnotfound exception or something like this woulmd be great (easy to fix) Jerome - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat vs Bea WebLogic - (was: Re: What LDAP servers does JNDI realm support?)
Davi Leal wrote: jerome moliere wrote: As I am getting [LDAP: error code 2 - Protocol Error] (See below), I would like to know if that Micro$oft product is a certified LDAP server. as fai as i Know, like any other microsoft product, partially... :) I have been told the LDAP protocol is no-100% a standard. That is to say, a lot of providers have realized different offers, which share only 90% of the specification (the core standard). Nowdays, it is said, the Netscape's one being the more recognised/compatible/ standard. So, my question is now: What LDAP products does the JNDI Tomcat realm support? No problem with OpenLDAP ('from my experience), NDS or Sun implementations seem to work nicely. For microsoft active directory is quite a LDAP server, but you can't use the referral paradigm Reference: http://www.weblogic.com/docs51/admindocs/ldap2.html#intro The WebLogic LDAP realm has been tested against the following LDAP servers: * OpenLDAP * iPlanet Directory Server * Microsoft Site Server I would like to get a similar Tomcat link to show to my boss. Regards, Davi Leal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What LDAP servers does JNDI realm support? -
NO I JUST GET THE USERID AND PASSWORD PROMPT, and WHEN I PROVIDE THE CORRECT USERID/PASSWORD IT GET A MESSAGE SAYING INCORRECT USERID/PASSWORD. NO ENTRIES IN LOGS OR ANY EXCEPTIONS. have you any log entries or anything helpful ? classnotfound exception or something like this woulmd be great (easy to fix) Jerome - Do you Yahoo!? The New Yahoo! Shopping - with improved product search