mod_auth_ldap/mod_auth_ldap.lua
changeset 1991 6d7699eda594
parent 1615 770236ea9678
child 2060 e16593e7d482
--- a/mod_auth_ldap/mod_auth_ldap.lua	Sun Dec 20 18:58:09 2015 +0100
+++ b/mod_auth_ldap/mod_auth_ldap.lua	Sun Dec 20 21:55:49 2015 +0100
@@ -9,7 +9,7 @@
 local ldap_rootdn = module:get_option_string("ldap_rootdn", "");
 local ldap_password = module:get_option_string("ldap_password", "");
 local ldap_tls = module:get_option_boolean("ldap_tls");
-local ldap_scope = module:get_option_string("ldap_scope", "onelevel");
+local ldap_scope = module:get_option_string("ldap_scope", "subtree");
 local ldap_filter = module:get_option_string("ldap_filter", "(uid=$user)"):gsub("%%s", "$user", 1);
 local ldap_base = assert(module:get_option_string("ldap_base"), "ldap_base is a required option for ldap");
 local ldap_mode = module:get_option_string("ldap_mode", "bind");