powdarrmonkey Posted April 8, 2009 Posted April 8, 2009 Yes but then it lets me right in again so i haven't gained anything. Setting authtype to cookie will prompt you for it when you open the web interface.
FN-GM Posted April 8, 2009 Author Posted April 8, 2009 Setting authtype to cookie will prompt you for it when you open the web interface. That worked ta, on the last message you posted as i was typing
powdarrmonkey Posted April 8, 2009 Posted April 8, 2009 You can use authtype='http' as well, for compatibility, but your session never times out then, so if you don't close your browser it's vulnerable.
FN-GM Posted April 9, 2009 Author Posted April 9, 2009 Hi, thanks for the help so far I have another problem now i get the following messege LDAP-module cannot connect to any servers: Server: '172.20.0.1' Connection: 'Resource id #45' Bind result: '' I have attached screenshots of my configuration. The domain is called btc.local and we are running Windows Server 2008 DC's and the above is the IP address of one of them. Any help would be appreciated. Thanks Z
powdarrmonkey Posted April 9, 2009 Posted April 9, 2009 See the notes about 'Host URL' at the top right of the first screenshot.
bossman Posted April 9, 2009 Posted April 9, 2009 @FN-GM: Looking at the URL settings should it not be as you have stated: ldap://ldap.btc.local instead of the IP address? :)
powdarrmonkey Posted April 9, 2009 Posted April 9, 2009 Not sure about your contexts either, do you mean ou=students,dc=btc,dc=local? LDAP specification is always most specific on the left to least specific on the right. 1
FN-GM Posted April 9, 2009 Author Posted April 9, 2009 @FN-GM: Looking at the URL settings should it not be as you have stated: ldap://ldap.btc.local instead of the IP address? :) according to this - LDAP authentication - MoodleDocs "As the IP of your LDAP server is 192.168.1.100, type "ldap://192.168.1.100" (without the quotes), or just "192.168.1.100" (some people have trouble connecting with the first syntax, specially on MS Windows servers)." Not sure about your contexts either, do you mean ou=students,dc=btc,dc=local? LDAP specification is always most specific on the left to least specific on the right. I could kiss you Thanks its working now, thanks allot
FN-GM Posted April 9, 2009 Author Posted April 9, 2009 Ah spoke to soon, it doesn't seem to pull vital information accross like students names, any thoughts please?
bossman Posted April 9, 2009 Posted April 9, 2009 @FN_GM: Below are our settings from our Moodle Server. Host URL: ldap://bbs-svr-001.bbarrington.internal/ Version: 2 LDAP encoding: UTF-8 Bind settings NO Hide passwords NO Distinguished Name CN=rmmc,OU=SystemAdministrators,OU=BBS,OU=Establishments,DC=BBARRINGTON,DC=internal Password ********** User type MS ActiveDirectory Contexts ou=BBS,ou=Establishments,dc=BBARRINGTON,dc=internal Search subcontexts Yes Hope this helps. :)
FN-GM Posted April 9, 2009 Author Posted April 9, 2009 I had to type givenname into first name mail into mail etc.... Does anyone have a list of what i put into the feilds to drag ldap information? Thanks Z
Marci Posted April 9, 2009 Posted April 9, 2009 Moodle > LDAP .................. Firstname > givenName Surname > sn Email address > mail City/Town > l Country > c Description > description Institution > company Phone 1 > telephoneNumber
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