You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auth_ldap_server: set server(s), space separated. Prefix with ldaps:// for ssl
434
+
auth_ldap_suffix: appended to usernames
435
+
auth_ldap_groupbase: all groups must be inside this
436
+
auth_ldap_groups: set roles by group name
428
437
429
438
#### Additional options (usually not needed)
430
439
431
-
```php
432
-
$config['auth_ldap_version'] = 3; # v2 or v3
433
-
$config['auth_ldap_port'] = 389; // 389 or 636 for ssl
434
-
$config['auth_ldap_starttls'] = True; // Enable TLS on port 389
435
-
$config['auth_ldap_prefix'] = 'uid='; // prepended to usernames
436
-
$config['auth_ldap_group'] = 'cn=groupname,ou=groups,dc=example,dc=com'; // generic group with level 0
437
-
$config['auth_ldap_groupmemberattr'] = 'memberUid'; // attribute to use to see if a user is a member of a group
438
-
$config['auth_ldap_groupmembertype'] = 'username'; // username type to find group members by, either username (default), fulldn or puredn
439
-
$config['auth_ldap_emailattr'] = 'mail'; // attribute for email address
440
-
$config['auth_ldap_attr.uid'] = 'uid'; // attribute to check username against
441
-
$config['auth_ldap_userlist_filter'] = 'service=informatique'; // Replace 'service=informatique' by your ldap filter to limit the number of responses if you have an ldap directory with thousand of users
auth_ldap_groupmemberattr: attribute to use to see if a user is a member of a group
457
+
auth_ldap_groupmembertype: username type to find group members by, either username (default), fulldn or puredn
458
+
auth_ldap_userlist_filter: Replace 'service=informatique' by your ldap filter to limit the number of responses if you have an ldap directory with thousand of users
444
459
445
460
#### LDAP bind user (optional)
446
461
447
462
If your ldap server does not allow anonymous bind, it is highly
448
463
suggested to create a bind user, otherwise "remember me", alerting
449
464
users, and the API will not work.
450
465
451
-
```php
452
-
$config['auth_ldap_binduser'] = 'ldapbind'; // will use auth_ldap_prefix and auth_ldap_suffix
Copy file name to clipboardexpand all lines: lang/en/settings.php
+9
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@
32
32
'ldap' => ['name' => 'LDAP Settings'],
33
33
'radius' => ['name' => 'Radius Settings'],
34
34
'socialite' => ['name' => 'Socialite Settings'],
35
+
'http' => ['name' => 'HTTP Auth Settings'],
35
36
],
36
37
'authorization' => [
37
38
'device-group' => ['name' => 'Device Group Settings'],
@@ -454,6 +455,10 @@
454
455
'description' => 'Use full user DN',
455
456
'help' => "Uses a user's full DN as the value of the member attribute in a group instead of member: username using the prefix and suffix. (it's member: uid=username,ou=groups,dc=domain,dc=com)",
456
457
],
458
+
'auth_ldap_userlist_filter' => [
459
+
'description' => 'Custom LDAP User filter',
460
+
'help' => 'Custom ldap filter to limit the number of responses if you have an ldap directory with thousand of users',
461
+
],
457
462
'auth_ldap_wildcard_ou' => [
458
463
'description' => 'Wildcard user OU',
459
464
'help' => 'Search for user matching user name independently of OU set in user suffix. Useful if your users are in different OU. Bind username, if set, still user suffix',
@@ -958,6 +963,10 @@
958
963
'description' => 'Field name containing username',
959
964
'help' => 'Can be a ENV or HTTP-header field like REMOTE_USER, PHP_AUTH_USER or a custom variant',
960
965
],
966
+
'http_auth_guest' => [
967
+
'description' => 'Http Auth guest user',
968
+
'help' => 'If set, allows all http users to authenticate and assigns unknown users to give local username',
969
+
],
961
970
'http_proxy' => [
962
971
'description' => 'HTTP Proxy',
963
972
'help' => 'Set this as a fallback if http_proxy environment variable is not available.',
0 commit comments