fix #257 and add optional domain handling (#258)

* fix #257 and add optional domain handling

* format code and add to doc
This commit is contained in:
ahaenggli
2021-08-23 09:03:08 +02:00
committed by GitHub
parent 006c953b4b
commit d45346809f
2 changed files with 24 additions and 0 deletions

View File

@@ -103,6 +103,8 @@ Replace your current Auth handler in `configuration.php` file like this:
'ldap_attributes' => ["uid","cn","dn"],
'ldap_userFieldMapping'=> [
'username' =>'uid',
'username_AddDomain' =>'@example.com',
'username_RemoveDomains' =>['@department1.example.com', '@department2.example.com'],
'name' =>'cn',
'userDN' =>'dn',
'default_permissions' => 'read|write|upload|download|batchdownload|zip',