Hello Justin,
I do not quite understand what you mean by "dropping the files in
the deploy folder". In 2.2.x, a build folder
should be created after a successful build, which contains several
.zip files and a subfolder. Each of these zip files contains
standalone Karaf instances for different Opencast profiles (admin,
worker and presentation servers, as well as an "all in one"
version, also unzipped). This mechanism is completely different as
version prior to 2.0 inclusive.
I have just tried to run the "all-in-one" profile, using our
local LDAP configuration, and I can successfully log in. The fact
that your error is caused by a missing "wiring dependency" is also
a hint in the direction that you may not be deploying the system
as you should. Please make sure you are following the instructions
in [1].
On the other hand, I must warn you that talking about "LDAP
integration" in Opencast is an overstatement. Formerly, one could
only read users from an LDAP instances by setting up a CAS server
for authenticating the users. I have "patched" that in 2.2.0, so
that your users can also log without a CAS if desired, but you
still need to specify your LDAP configuration in two different
places and in different formats. Also, while I can guarantee that
the current state works for our particular scenario (in the
University of Cologne), it may well not work for others.
Do not hesitate to ask any further questions you may have.
Best regards
Rubén
[1]
https://documentation.opencast.org/r/2.2.x/admin/installation/
--
You received this message because you are subscribed to the Google Groups "Opencast Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.
Hi Justin,
Please find my answers after the relevant parts of your mail.
By "dropping the files in the deploy folder" I was trying to describe my attempts to install/deploy a new *.jar (bundle?) into a running Opencast instance that was deployed from a source build on an alternate system. From the root of the source folder, I copied "build/opencast-dist-allinone-2.2.0/" from my build workstation to "/opt/opencast/" on ServerA. Within that there is a "deploy" folder (/opt/opencast/deploy) -- that's where I was copying my custom built modules. From watching the Opencast logs and digging through the Karaf web console I can see that this did load the matterhorn-userdirectory-ldap (after some trial-and-error).
Mostly -- the bundle was successfully deployed and I'm able to verify that the
bundle did successfully pick up the LDAP connection details from my configs, but
when logging in to the Engage UI, there is an error that pops up in red at the
lower right of the page indicating a failed login -- however if I reload the
page, I do see that I'm logged in with the LDAP user, and checking the
"/info/me.json" REST endpoint shows that the LDAP user info and roles are
correctly defined.
The semi-successful login triggers the following warning in the opencast.log:
2016-07-27 11:45:10,350 | WARN | (ServletHandler:563) -
/j_spring_security_check
org.springframework.security.core.userdetails.UsernameNotFoundException:
LDAP_USER
On the other hand, I must warn you that talking about "LDAP integration" in Opencast is an overstatement. Formerly, one could only read users from an LDAP instances by setting up a CAS server for authenticating the users. I have "patched" that in 2.2.0, so that your users can also log without a CAS if desired, but you still need to specify your LDAP configuration in two different places and in different formats. Also, while I can guarantee that the current state works for our particular scenario (in the University of Cologne), it may well not work for others. Do not hesitate to ask any further questions you may have.I do have the LDAP info defined in both places as defined in the docs -- "mh_security.xml" and "org.opencastproject.userdirectory.ldap.cfg". I guess at this point I'm a little lost as to what all functionality I can leverage from using the provided LDAP tools. My basic goal was to be able to use OpenLDAP as an authentication source, and within that, use group membership to map to roles for authorization.
--
You received this message because you are subscribed to the Google Groups "Opencast Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.
Hi Sven,
I'm curious to know whether or not you were successful to access the UI using an LDAP user. The bottom line of Ruth's email is that you should, at least, provide your LDAP user with the role "ROLE_ADMIN_UI". Using different parts of the admin UI may require additional roles (which, unfortunately, I must say, are mostly not documented).
Best regards