From 80f4bff33e31171f0085aa0efa86931b774bcf88 Mon Sep 17 00:00:00 2001 From: paca70 Date: Mon, 7 Oct 2002 17:17:33 +0000 Subject: [PATCH] Initial version --- auth/ldap/README-LDAP | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 auth/ldap/README-LDAP diff --git a/auth/ldap/README-LDAP b/auth/ldap/README-LDAP new file mode 100644 index 0000000000..1f2df1ebb7 --- /dev/null +++ b/auth/ldap/README-LDAP @@ -0,0 +1,38 @@ +LDAP-module README +07.10.2002 Version 0.1, Petri Asikainen + +Ldap-authetication module is work in progress. +Right now we are building config-interface to use also with all other auth-modules, +but it will take sometime. + +If you like to try ldap-authentication now , create following $CFG->variables to +/moodle/config.php or directly to config-table and activate ldap authentication +from admin-configuration page. + +Variable Description +$CFG->ldap_bind_dn "If your like to use bind-user to search + users, specify it here. Something like + 'cn=ldapuser,ou=public,o=org'" +$CFG->ldap_bind_pw "Password for bind-user." +$CFG->ldap_contexts "List of contexts where users are located. + Separate different contexts with ';'. + Something like + 'ou=users,o=org; ou=other,o=org'" +$CFG->ldap_host_url "Specify LDAP host in URL-form, like + 'ldap://ldap.myorg.com/' or + 'ldaps//ldap.myorg.com/' " +$CFG->ldap_search_sub "Put value <> 0 if you like to + search users from subcontexts. + (Subsearching is sometimes slow)" +$CFG->ldap_user_attribute "What attribute is used to name/search + users. Usually 'cn' when using + Novell e-directory + +And if you like to _very_ experimental: +Edit /auth/ldap/lib.php function auth_get_userinfo() attribute-mappings and +set $CFG->auth_update_userinfo = 1 +Then moodle will get user first-, lastname and other information from ldap +when user is login first time. + + + -- 2.39.5