This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 122122
123123 'login_attribute ' => env ('ADLDAP_LOGIN_ATTRIBUTE ' , 'samaccountname ' ),
124124
125+ /*
126+ |--------------------------------------------------------------------------
127+ | Windows Auth Attribute
128+ |--------------------------------------------------------------------------
129+ |
130+ | This array represents how a user is found when
131+ | using the Windows Auth Middleware.
132+ |
133+ | The key of the array represents the attribute that the user is located by.
134+ |
135+ | For example, if 'samaccountname' is the key, then your LDAP server is
136+ | queried for a user with the 'samaccountname' equal to the
137+ | $_SERVER['AUTH_USER'] variable.
138+ |
139+ | If a user is found, they are imported into your
140+ | local database, then logged in.
141+ |
142+ | The value of the array represents the 'key' of the $_SERVER
143+ | array to pull the users username from.
144+ |
145+ | For example, $_SERVER['AUTH_USER'].
146+ |
147+ | This must be an array with a key - value pair.
148+ |
149+ */
150+
151+ 'windows_auth_attribute ' => ['samaccountname ' => 'AUTH_USER ' ],
152+
125153 /*
126154 |--------------------------------------------------------------------------
127155 | Bind User to Model
You can’t perform that action at this time.
0 commit comments