Bind settings
cn=DL LDAP,ou=droids,dc=jccmi,dc=edu
Contexts
ou=guests,ou=jcc-users,dc=jccmi,dc=edu
you will also have to edit the ldap.conf file located on the server in etc/openldap/ldap.conf
here is ours:
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE dc=example, dc=com
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
TLS_CACERT /etc/openldap/cacert.pem
Permissions should be 666 on this file;
We also decided to do secure ldap and added a cacert file called cacert.pem this is the certification file ssl certifricate, you shouldn’t have to do this and it is easier to get ldap working with out it.
I hope this helps, I worked with the network admin and it took us about 5 hours and it was done. If we would have known what to do it takes about an hour. On that note, what messed us up was our test moodle is built on a virtual shared account, for some reason you have to edit etc/openldap/ldap.conf at the root of the server. Moodle put this file in two locations. We edited both and it was needed at the top level. Don’t worry about this if your install is not a name bases site on a virtual server. I hope that made sense. Happy to try to answer questions.