From bcd4dbfb5da503fb7dd7df5a50cf40524d833f4a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 6 Aug 2023 00:23:50 +0100 Subject: Make ldapauth take an enum field for the username field. --- docs/conf/modules.conf.example | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 1cedb05b1..aa9b4c4ee 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -1477,7 +1477,7 @@ # killreason="Access denied" # # verbose="yes" # # host="$uid.$ou.inspircd.org" # -# useusername="no"> # +# field="nickname"> # # # # # # # @@ -1490,9 +1490,8 @@ # The attribute value indicates the attribute which is used to locate # # a user account by name. On POSIX systems this is usually 'uid'. # # # -# The useusername setting chooses whether the user's username or # -# nickname is used when locating a user account, if a username isn't # -# provided in PASS. # +# The field setting chooses where to select the LDAP username from. # +# Valid options are "nickname", "username", and "password". # # # # Killreason indicates the QUIT reason to give to users if they fail # # to authenticate. # -- cgit v1.3.1-10-gc9f91