Hi, I've having some trouble getting the LDAP integration working with Matterhorn. I've followed all the instructions here... http://opencast.jira.com/wiki/display/MH/University+of+Saskatchewan+CAS+and+LDAP+integration
My CAS authentication is working because I changed the "demo.admin.user" in config.properties to my LDAP login that CAS sends over and can get into the Admin UI that way. No other accounts will work though and I assume it's because Matterhorn is not able to look up the CAS authentication credentials to a user in LDAP and know what access to give? With some assistance from the good people at U of Saskatchewan, I've enabled the logging for LDAP and CAS by adding these three entries to /opt/matterhorn/felix/conf/services/org.ops4j.pax.logging.properties... log4j.logger.org.opencastproject.userdirectory.ldap=DEBUG log4j.logger.org.springframework.security.cas=DEBUG log4j.logger.org.springsource.org.opensaml=DEBUG This gets me some good info where I can see the CAS stuff working, but logging for LDAP is still not helping me much. When I restart Matterhorn I see these entries in the opencast.log. 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:133) - user dn is not null, loading from properties 2012-01-03 16:09:11 DEBUG (LdapUserProvider:184) - org.opencastproject.userdirectory.ldap.LdapUserProvider.wiu:type=LDAPRequests was not registered 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:133) - user dn is not null, loading from properties 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:133) - user dn is not null, loading from properties 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:138) - user dn is null, anonymous 2012-01-03 16:09:11 DEBUG (LdapUserProvider:184) - org.opencastproject.userdirectory.ldap.LdapUserProvider.mh_default_org:type=LDAPRequests was not registered 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:133) - user dn is not null, loading from properties 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:138) - user dn is null, anonymous 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:138) - user dn is null, anonymous 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:133) - user dn is not null, loading from properties 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:133) - user dn is not null, loading from properties 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:138) - user dn is null, anonymous 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:133) - user dn is not null, loading from properties 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:138) - user dn is null, anonymous 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:138) - user dn is null, anonymous 2012-01-03 16:09:11 DEBUG (LdapUserProvider:130) - connecting to ldap 2012-01-03 16:09:11 DEBUG (LdapUserProvider:138) - user dn is null, anonymous Seems like every time I modify the conf/security/mh_defualt_org.xml file to test something....I get more of these. Like it's adding to a config somewhere in matterhorn but never clearing out old cached stuff? Anyway....I need a little assistance getting around this issue of LDAP not working for me. Thanks, Matt Mencel Western Illinois University _______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
