Re: [rules-users] Connection with Active Directory multiple organizational units
I'm having the same issue. Whats the fix to the login-config.xml? thanks -- View this message in context: http://drools.46999.n3.nabble.com/Connection-with-Active-Directory-multiple-organizational-units-tp907892p3445180.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Connection with Active Directory multiple organizational units
Hi all I got the multiple Organizational Units connection in AD in jboss 4.2.3 itself . Apparently my login-config.xml was not correctly configured.It is working fine now. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Connection-with-Active-Directory-multiple-organizational-units-tp907892p935788.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Connection with Active Directory multiple organizational units
Hi I tried as you suggested by deploying Guvnor 5.1.0.M2 in Jboss5.1 G.A .When I tried connection with single organization unit connection in Active Directory but i get this message The requested resource (/drools-guvnor/) is not available. my console shows: 467 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings. 467 ERROR [STDERR] SLF4J: Found binding in [vfszip:/D:/Drools-jboss/jboss-5.1.0.GA/server/default/deploy/drools-guvnor.war/WEB-INF/lib/slf4j-log4j12-1.5.10.jar/org/slf4j/impl/StaticLoggerBinder.class] 467 ERROR [STDERR] SLF4J: Found binding in [vfszip:/D:/Drools-jboss/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class] 467 ERROR [STDERR] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 949 INFO [STDOUT] INFO 25-06 10:59:03,933 (MailboxService.java:init:45) Starting mailbox service 949 INFO [STDOUT] INFO 25-06 10:59:03,949 (MailboxService.java:wakeUp:52) Waking up 997 INFO [STDOUT] INFO 25-06 10:59:03,997 (MailboxService.java:processOutgoing:62)Processing outgoing messages 093 INFO [STDOUT] DEBUG 25-06 10:59:04,093 (MailboxService.java:processOutgoing:66)Outgoing messages size 0 125 INFO [STDOUT] DEBUG 25-06 10:59:04,125 (MailboxService.java:process:72) Processing any inbound messages for mailman 141 INFO [STDOUT] DEBUG 25-06 10:59:04,125 (MailboxService.java:process:72) Processing any inbound messages for user1 258 INFO [TomcatDeployment] undeploy, ctxPath=/drools-guvnor 842 INFO [TomcatDeployment] deploy, ctxPath=/drools-guvnor 710 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings. === I removed the slf4j-api.jar from common/lib folder but still i get the same requested resource is not found error page and not the login page. Thanks in advance. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Connection-with-Active-Directory-multiple-organizational-units-tp907892p921311.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Connection with Active Directory multiple organizational units
G3 wrote: > Hi > Thanks for the reply. > > Is > > login-config.xml > --- > > > flag="required" > >. > >flag="required" > >.. > > > > > > not an accepted application-policy ? I dont find any errors > The configuration itself looks alright. It could be a bug in the implementation of LdapExtLoginModule. Check if there is a newer version available. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Connection with Active Directory multiple organizational units
Hi Thanks for the reply. Is login-config.xml --- . .. not an accepted application-policy ? I dont find any errors -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Connection-with-Active-Directory-multiple-organizational-units-tp907892p910867.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Connection with Active Directory multiple organizational units
Are you using JBOSS AS for deploying Guvnor? You may want to try a newer version of JBOSS AS. Guvnor just uses standard JAAS , in your case, if there is sth wrong, its more likely its sth wrong with the LdapExtLoginModule. Cheers, Jervis wrote: > I am able to authenticate with Active Directory but with only a single > organizational unit but not with users of multiple organizational units > This is my organizational structure > +cn=test,cn=con > --+ou=Sample1 > -uid:user1,uid:user2 > --+ou=Sample2 > -uid:user3,uid:user4 > --+roles > -admin:uid:user1,user3 > -user:uid:user2,user4 > > I have set the admin rights accordingly in Guvnor. > I am using Jboss Guvnor standalone 4.2.3 and I am trying to connect > multiple organizational units using JAAS > my login-config.xml > - > > > flag="required" > > name="java.naming.provider.url">ldap://c.test.com:389/ > name="java.naming.security.authentication">simple > name="bindDN">CN=Administrator,CN=Users,dc=test,dc=com > password > OU=Sample1,dc=test,dc=com > (CN={0}) > OU=roles,dc=test,dc=com > member > true > (member={1}) > CN > -1 > > flag="required" > > name="java.naming.provider.url">ldap://c.test.com:389/ > name="java.naming.security.authentication">simple > name="bindDN">CN=Administrator,CN=Users,dc=test,dc=com > password > OU=Sample2,dc=test,dc=com > (CN={0}) > OU=roles,dc=test,dc=com > member > true > (member={1}) > CN > -1 > > > > > and my component.xml > - >jaas-config-name="adConnection"/> > > I donot get any errors in server console during deployment but when login > ,I cannot login into Guvnor and I get password or user name incorrect.Can > some one help me out > > > > ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Connection with Active Directory multiple organizational units
I am able to authenticate with Active Directory but with only a single organizational unit but not with users of multiple organizational units This is my organizational structure +cn=test,cn=con --+ou=Sample1 -uid:user1,uid:user2 --+ou=Sample2 -uid:user3,uid:user4 --+roles -admin:uid:user1,user3 -user:uid:user2,user4 I have set the admin rights accordingly in Guvnor. I am using Jboss Guvnor standalone 4.2.3 and I am trying to connect multiple organizational units using JAAS my login-config.xml - ldap://c.test.com:389/ simple CN=Administrator,CN=Users,dc=test,dc=com password OU=Sample1,dc=test,dc=com (CN={0}) OU=roles,dc=test,dc=com member true (member={1}) CN -1 ldap://c.test.com:389/ simple CN=Administrator,CN=Users,dc=test,dc=com password OU=Sample2,dc=test,dc=com (CN={0}) OU=roles,dc=test,dc=com member true (member={1}) CN -1 and my component.xml - I donot get any errors in server console during deployment but when login ,I cannot login into Guvnor and I get password or user name incorrect.Can some one help me out -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Connection-with-Active-Directory-multiple-organizational-units-tp907892p907892.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users