lholland421 Posted May 26, 2015 Posted May 26, 2015 Hi All, We have been using moodle for 3 months now and i am trying to configure SSO . We have LDAP working a treat but i can't seem to get SSO working. We are running moodle on Ubuntu 14.04 using Apache. I have enabled the SSO options and moodle tries to login using SSO but fails and shows me the normal login form. Does the Ubuntu box need to be part of the windows domain for this to work? Any help would be appreciated Cheers
danbuntu Posted May 26, 2015 Posted May 26, 2015 you do need the server to be part of the domain. instructions are here; https://docs.moodle.org/28/en/NTLM_authentication make sure to search for '14.04' on the page and take note of the paragraph about winbindd permissions
lholland421 Posted May 27, 2015 Author Posted May 27, 2015 I have joined the ubuntu box to the domain and made those permission changes but its still not working. Is there any logs or troubleshoot steps i can take to see what it is ? Thanks
danbuntu Posted May 27, 2015 Posted May 27, 2015 Have you made sure to add your moodle domain name into the 'trusted sites' in internet explorer?
lholland421 Posted May 27, 2015 Author Posted May 27, 2015 Yup it is added to trusted sites. Moodle attempts to do SSO but fails and shows the normal login box. Surely there is a log somewhere of the error? Thanks for the speedy reply ! Cheers
danbuntu Posted May 27, 2015 Posted May 27, 2015 ok it's log time then :-) tail -f /var/logs/apache/error.log will give you a live log of your apache (you might need to adjust this if you've set up a virtual host) and: tail -f /var/logs/syslog will give you a live log of the system itself best bet is to fire up two putty sessions at a time and run one command in each. Then try to log in and you'll see what's occuring
lholland421 Posted May 27, 2015 Author Posted May 27, 2015 Brilliant , Ill give it ago and let you know ! CHEERS
lholland421 Posted May 31, 2015 Author Posted May 31, 2015 When i attempt to view those logs it says they are not there. whats the easiest way of seeing where these logs actually are ? Thanks
danbuntu Posted May 31, 2015 Posted May 31, 2015 the easiest way is to go to the locaiton and the look do cd /var/log/apache2 ls cd = change directory - use 'cd ..' o go up a directory ls - list files - the same a 'dir' on windows top tip is to use the tab key to autocomplete as this makes moving around faster and stop you having the remember all the paths so cd /v 'tab key; lo tab key apa tab key I think part of the issue it that I put he paths as 'logs' not 'log' in an earlier post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now