I have a problem with Moodle 1.5
When we did setup the 1.4, we had Moodle ldap authentication to create user and auto-populate from ldap. That is working fine.
Now,
we have the same setting for Moodle 1.5 to auto-populate from ldap but
it does not populate any field? Is there something l need to do before the Moodle 1.5
auto-populates the fields from ldap into Moodle database for ldap authentication?
Ldap is openldap
Any help is welcome.
What are your LDAP settings?
CAS server configuration
cas_enabled: Yes
cas_hostname: xxxxxxxxxxxxxxxxxxx
cas_baseuri: cas/
cas_port: 8443
cas_version: 2
cas_language: English
cas_create_user: Yes
LDAP server settings
ldap_host_url: localhost
ldap_version: 2
Bind settings
ldap_bind_dn:
ldap_bind_pw:
User lookup settings
ldap_user_type: Novel Directory
ldap_contexts: ou=People, dc=xxxxxxxxx, dc=ca
ldap_search_sub: 2
ldap_opt_deref: No
ldap_user_attribute: uid
ldap_memberattribute:
ldap_objectclass:
Force change password
Force change password: No
Use standard Change
Password Page: No
LDAP password expiration settings.
ldap_expiration: No
ldap_expiration_warning:10
ldap_exprireattr:
ldap_gracelogins: No
ldap_graceattr:
Enable user creation
ldap_create_context:
Course creators
ldap_creators:
Data mapping
First name: givenName
Update local data: Yes
Lock value: No
Update external data: No
Surname: sn
Update local data: Yes
Lock value: No
Update external data: No
Email address: mail
Update local data: Yes
Lock value: No
Update external data: No
................
................
ID number: uid
Update local data: Yes
Lock value: No
Update external data: No
.....
Change password URL:
Guest login button: No
Enable user creation: No
Alternate Login URL
If LDAP is OpenLDAP, why would you set it to Novell? ;)
What should it be? I do not see OpenLDAP anywhere in the list. So l just picked the first one.
Depends on what schema you're using. Most people using OpenLDAP are using RFC{number}bis. I think. Definitely not Novell or AD.
I am having the same issue.
Jeff, tell us about the settings, about your LDAP server, the setup of the LDAP tree & entries, etc.
And most important: what errors is PHP reporting? Those will show up in Apache's errorlog or in the Windows Event log (in the app log I think). The errors will probably show up in the logs of your LDAP server, too.
And most important: what errors is PHP reporting? Those will show up in Apache's errorlog or in the Windows Event log (in the app log I think). The errors will probably show up in the logs of your LDAP server, too.
I am running moodle on Mac OS X 10.4 server configured right out of the box. I did not see any errors in the Apache log, but am pressed for time right now. I will look more indepthly when I have a little more time. Prehaps the fact that it is OS X Server 10.4 may help you to determine the problem.
I'm running MOODLE_15_STABLE. Is that what I should be working with? The beta version seemed like it wasn't getting updated anymore (judging from the data in version.php).
I too have no population. I'm not sure what ldap server my university is running. Authentication is working fine. I've tried various ldap_user_type settings and ldap_versions. Here's what fields my ldap server spits back about me. I didn't bother to sanitize it as all of this info is available lots of other places on the web. . .
ldapsearch -x -LLL "(sn=pfaffman)"
dn: uid=pfaffman,ou=People,ou=Knoxville,dc=tennessee,dc=edu
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: mailRecipient
objectClass: eduPerson
objectClass: tneduperson
objectClass: utkeduperson
objectClass: utknetworkuser
displayName: Pfaffman, Jay Alton
cn: Jay Alton Pfaffman
cn: Jay Pfaffman
givenName: Jay Alton
givenName: Jay
sn: Pfaffman
title: Asst Professor
ou: Ites
l: Knoxville
tnEmployeeCampus: Knoxville
eduPersonAffiliation: faculty
eduPersonPrimaryAffiliation: faculty
mailHost: tiger.mail.utk.edu
mailAlternateAddress: pfaffman@tennessee.edu
mailAlternateAddress: pfaffman@utk.edu
mail: pfaffman@utk.edu
uid: pfaffman
mailRoutingAddress: pfaffman@learn.coe.utk.edu
labeledUri: http://learn.coe.utk.edu/~pfaffman/
mobile: +1 865-898-0497
facsimileTelephoneNumber: 865-974-8103
telephoneNumber: +1 865 974 0497
postalAddress: 443 Claxton Education Building$1122 Volunteer Boulevard$Knoxvil
le, TN 37996-3456
Salient user settings:
ldap_creators:objectClass=eduPerson
First name: givenName
Last name: sn
Email address: mail
I've got them set to update on every login.
I too have no population. I'm not sure what ldap server my university is running. Authentication is working fine. I've tried various ldap_user_type settings and ldap_versions. Here's what fields my ldap server spits back about me. I didn't bother to sanitize it as all of this info is available lots of other places on the web. . .
ldapsearch -x -LLL "(sn=pfaffman)"
dn: uid=pfaffman,ou=People,ou=Knoxville,dc=tennessee,dc=edu
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: mailRecipient
objectClass: eduPerson
objectClass: tneduperson
objectClass: utkeduperson
objectClass: utknetworkuser
displayName: Pfaffman, Jay Alton
cn: Jay Alton Pfaffman
cn: Jay Pfaffman
givenName: Jay Alton
givenName: Jay
sn: Pfaffman
title: Asst Professor
ou: Ites
l: Knoxville
tnEmployeeCampus: Knoxville
eduPersonAffiliation: faculty
eduPersonPrimaryAffiliation: faculty
mailHost: tiger.mail.utk.edu
mailAlternateAddress: pfaffman@tennessee.edu
mailAlternateAddress: pfaffman@utk.edu
mail: pfaffman@utk.edu
uid: pfaffman
mailRoutingAddress: pfaffman@learn.coe.utk.edu
labeledUri: http://learn.coe.utk.edu/~pfaffman/
mobile: +1 865-898-0497
facsimileTelephoneNumber: 865-974-8103
telephoneNumber: +1 865 974 0497
postalAddress: 443 Claxton Education Building$1122 Volunteer Boulevard$Knoxvil
le, TN 37996-3456
Salient user settings:
ldap_creators:objectClass=eduPerson
First name: givenName
Last name: sn
Email address: mail
I've got them set to update on every login.
Yup. You're tracking 1.5 -- if you're using anon cvs or the 1.5+ dailies, bear in mind it lags a few hours behind our actual work. The update on every login was broken until a few hours ago so it should be on anon cvs about now.
Yippee, auto-populate on login is working now.
Now if I can get course creators to work I'll be elated.
For one of my moodles I want everyone to be a creator, so if there's a way to do that (without waiting for the creator code to work, if it doesn't right now), that'd be cool. I currently have "mailHost=tiger.mail.utk.edu" entered in that field (I think everyone uses that mail host), but there's no joy.
Now if I can get course creators to work I'll be elated.
For one of my moodles I want everyone to be a creator, so if there's a way to do that (without waiting for the creator code to work, if it doesn't right now), that'd be cool. I currently have "mailHost=tiger.mail.utk.edu" entered in that field (I think everyone uses that mail host), but there's no joy.