]> BookStack Code Mirror - website/commitdiff
Updated ldap auth to include group matching formatting
authorDan Brown <redacted>
Sat, 9 Mar 2019 16:03:48 +0000 (16:03 +0000)
committerDan Brown <redacted>
Sat, 9 Mar 2019 16:03:48 +0000 (16:03 +0000)
Closes BookStackApp/BookStack#1300

content/docs/admin/ldap-auth.md

index 4a75ae45e723a15295c59cb9b6faa5e217765b9f..8e0b5dbed027fe9988b7e649f8a771f84759e6ad 100644 (file)
@@ -66,6 +66,8 @@ LDAP_VERSION=3
 BookStack has the ability to sync LDAP user groups with BookStack roles. By default this will match LDAP group names with the BookStack role display names with casing ignored.
 This can be overridden by via the 'External Authentication IDs' field which can be seen when editing a role while LDAP authentication is enabled. This field can be populated with common names (CNs) of accounts *or* groups. If filled, CNs in this field will be used and the role name will be ignored. You can match on multiple CNs by separating them with a comma.
 
+When matching LDAP groups with role names or 'External Authentication IDs' values, BookStack will standardise the names of ldap groups to be lower-cased and spaces will be replaced with hypens. For example, to match a LDAP group named "United Kingdom" an 'External Authentication IDs' value of "united-kingdom" could be used.
+
 This feature requires the LDAP server to be able to provide user groups when queried. This is enabled by default on ActiveDirectory via the 'memberOf' attribute but other LDAP systems may need to be configured to enable such functionality. If using OpenLDAP you'll need to setup the memberof overlay.
 
 Here are the settings required to be added to your `.env` file to enable group syncing: