-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds an option to enable sAMAccountname logins when upndomain is set (#…
…29118) * Adds an option to enable sAMAccountname logins when upndomain is set * Adds an option to enable sAMAccountname logins when upndomain is set * Updated changelog entry * Update 29118.txt * Updated cap/ldap version due to needed dependency * Updated cap/ldap version due to needed dependency * Restart CI * Updated LDAP api-docs and docs describing the enable_samaccountname_login option * Added missing comma in config_test.go * Update enables_samaccountname Co-authored-by: Sarah Chavis <[email protected]> * Update enable_samaccountname_login feature documentation Co-authored-by: Sarah Chavis <[email protected]> --------- Co-authored-by: Sarah Chavis <[email protected]>
- Loading branch information
Showing
5 changed files
with
49 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
auth/ldap: Adds an option to enable sAMAccountname logins when upndomain is set. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,6 +144,9 @@ For anonymous search, `discoverdn` must be set to `true`, and `deny_null_bind` m | |
#### Binding - user principal name (AD) | ||
|
||
- `upndomain` (string, optional) - userPrincipalDomain used to construct the UPN string for the authenticating user. The constructed UPN will appear as `[username]@UPNDomain`. Example: `example.com`, which will cause vault to bind as `[email protected]`. | ||
- `enable_samaccountname_login` `(bool: false)` - (Optional) Lets Active Directory | ||
LDAP users log in using `sAMAccountName` or `userPrincipalName` when the | ||
`upndomain` parameter is set. | ||
|
||
### Group membership resolution | ||
|
||
|