Skip to content

Commit db8ea88

Browse files
committed
Updated example configs with acrive flag text
1 parent 7297953 commit db8ea88

File tree

2 files changed

+26
-14
lines changed

2 files changed

+26
-14
lines changed

app/config/local/ldap.example.php

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
|
2323
*/
2424
'username' => "",
25-
25+
2626
/*
2727
|--------------------------------------------------------------------------
2828
| Password
@@ -32,7 +32,7 @@
3232
|
3333
*/
3434
'password' => "",
35-
35+
3636
/*
3737
|--------------------------------------------------------------------------
3838
| Basedn
@@ -42,7 +42,7 @@
4242
|
4343
*/
4444
'basedn' => "",
45-
45+
4646

4747
/*
4848
|--------------------------------------------------------------------------
@@ -54,11 +54,11 @@
5454
*/
5555
'filter' => "",
5656

57-
57+
5858
/*
5959
|--------------------------------------------------------------------------
6060
| LDAP field names that will be retrieved to create a user.
61-
|
61+
|
6262
| Using the username as an example:
6363
| If I set 'result.username' => 'my-org-username', the code will connect to
6464
| LDAP as follows (where $results[$i] represents a row in the LDAP query:
@@ -69,14 +69,20 @@
6969
|
7070
| The search filter for the LDAP query.
7171
|
72-
*/
72+
*/
7373
'result.username' => "",
7474
'result.emp.num' => "",
7575
'result.last.name' => "",
7676
'result.first.name' => "",
7777
'result.email' => "",
78+
79+
/*
80+
| This field is optional as not all LDAP directories will have it. If yours
81+
| does not have it, just leave this field blank and the extra check will
82+
| be omitted.
83+
*/
7884
'result.active.flag' => "",
79-
85+
8086
/*
8187
|--------------------------------------------------------------------------
8288
| LDAP filter query for authentication

app/config/staging/ldap.example.php

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
|
2323
*/
2424
'username' => "",
25-
25+
2626
/*
2727
|--------------------------------------------------------------------------
2828
| Password
@@ -32,7 +32,7 @@
3232
|
3333
*/
3434
'password' => "",
35-
35+
3636
/*
3737
|--------------------------------------------------------------------------
3838
| Basedn
@@ -42,7 +42,7 @@
4242
|
4343
*/
4444
'basedn' => "",
45-
45+
4646

4747
/*
4848
|--------------------------------------------------------------------------
@@ -54,11 +54,11 @@
5454
*/
5555
'filter' => "",
5656

57-
57+
5858
/*
5959
|--------------------------------------------------------------------------
6060
| LDAP field names that will be retrieved to create a user.
61-
|
61+
|
6262
| Using the username as an example:
6363
| If I set 'result.username' => 'my-org-username', the code will connect to
6464
| LDAP as follows (where $results[$i] represents a row in the LDAP query:
@@ -69,14 +69,20 @@
6969
|
7070
| The search filter for the LDAP query.
7171
|
72-
*/
72+
*/
7373
'result.username' => "",
7474
'result.emp.num' => "",
7575
'result.last.name' => "",
7676
'result.first.name' => "",
7777
'result.email' => "",
78+
79+
/*
80+
| This field is optional as not all LDAP directories will have it. If yours
81+
| does not have it, just leave this field blank and the extra check will
82+
| be omitted.
83+
*/
7884
'result.active.flag' => "",
79-
85+
8086
/*
8187
|--------------------------------------------------------------------------
8288
| LDAP filter query for authentication

0 commit comments

Comments
 (0)