summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-03 18:07:58 -0400
committerAdam <Adam@anope.org>2011-04-03 18:07:58 -0400
commit905207093b89a3c71ee3732d051555870c4d39f5 (patch)
treef940bf01272cae4a118a30e0701200e0f55a68fd /data
parentd1328d876a988329b3bdeb94999cfd696e6aa7a5 (diff)
Made LDAP support recover, release, resetpass, etc.
Diffstat (limited to 'data')
-rw-r--r--data/example.conf77
1 files changed, 39 insertions, 38 deletions
diff --git a/data/example.conf b/data/example.conf
index a677e3067..f05969403 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -2024,7 +2024,7 @@ m_helpchan
/*
* m_ldap
*
- * This module allows other modules to use LDAP.
+ * This module allows other modules to use LDAP. By itself, this module does nothing useful.
*/
#module { name = "m_ldap" }
ldap
@@ -2034,10 +2034,47 @@ ldap
}
/*
+ * m_ldap_authentication
+ *
+ * This module allows many commands such as IDENTIFY, RELEASE, RECOVER, GHOST, etc. use
+ * LDAP to authenticate users. Requires m_ldap.
+*/
+#module { name = "m_ldap_authentication" }
+m_ldap_authentication
+{
+ /*
+ * The distinguished name we should bind to when a user tries to identify.
+ */
+ binddn = "ou=users,dc=anope,dc=org"
+
+ /*
+ * The attribute value used for account names.
+ */
+ username_attribute = "uid"
+
+ /*
+ * The attribute value used for email addresses.
+ * This directive is optional.
+ */
+ email_attribute = "email"
+
+ /*
+ * Enable to have this module disable /nickserv register.
+ */
+ disable_ns_register = true
+
+ /*
+ * The reason to give the users who try to /ns register.
+ */
+ disable_reason = "Registration has been disabled."
+ #disable_reason = "To register on this network visit http://some.misconfigured.site/register"
+}
+
+/*
* m_ldap_oper
*
* This module dynamically ties users to Anope opertypes when they identify
- * via LDAP group membership.
+ * via LDAP group membership. Requires m_ldap.
*
* Note that this doesn't give the user privileges on the IRCd, only in Services.
*/
@@ -2129,42 +2166,6 @@ m_xmlrpc
#module { name = "m_xmlrpc_main" }
/*
- * ns_identify_ldap
- *
- * Allows you to use a LDAP server for authentication of users.
- */
-#module { name = "ns_identify_ldap" }
-ns_identify_ldap
-{
- /*
- * The distinguished name we should bind to when a user tries to identify.
- */
- binddn = "ou=users,dc=anope,dc=org"
-
- /*
- * The attribute value used for account names.
- */
- username_attribute = "uid"
-
- /*
- * The attribute value used for email addresses.
- * This directive is optional.
- */
- email_attribute = "email"
-
- /*
- * Enable to have this module disable /nickserv register.
- */
- disable_ns_register = true
-
- /*
- * The reason to give the users who try to /ns register.
- */
- disable_reason = "Registration has been disabled."
- #disable_reason = "To register on this network visit http://some.misconfigured.site/register"
-}
-
-/*
* ns_maxemail
*
* Limits how many times the same email address may be used in Anope