summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/example.conf20
1 files changed, 17 insertions, 3 deletions
diff --git a/data/example.conf b/data/example.conf
index 709a7a310..24120d128 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -2059,6 +2059,8 @@ ldap
{
server = "ldap://127.0.0.1"
port = 389
+ admin_binddn = "cn=Manager,dc=anope,dc=org"
+ admin_password = "secret"
}
/*
@@ -2076,6 +2078,12 @@ m_ldap_authentication
binddn = "ou=users,dc=anope,dc=org"
/*
+ * The object class used by LDAP to store user account information.
+ * Used for adding new users to LDAP if disable_ns_register is false
+ */
+ object_class = "anopeUser";
+
+ /*
* The attribute value used for account names.
*/
username_attribute = "uid"
@@ -2087,14 +2095,20 @@ m_ldap_authentication
email_attribute = "email"
/*
+ * The attribute value used for passwords.
+ * Used when registering new accounts in LDAP.
+ */
+ password_attribute = "userPassword"
+
+ /*
* Enable to have this module disable /nickserv register.
*/
- disable_ns_register = true
+ disable_ns_register = false
/*
- * The reason to give the users who try to /ns register.
+ * The reason to give the users who try to /ns register if
+ * disable_ns_register is enabled.
*/
- disable_reason = "Registration has been disabled."
#disable_reason = "To register on this network visit http://some.misconfigured.site/register"
}