fix: remove deprecated LDAP username format support (#13165)

This commit is contained in:
Harshavardhana
2021-09-08 13:31:51 -07:00
committed by GitHub
parent 3c2efd9cf3
commit aaa3fc3805
6 changed files with 46 additions and 235 deletions

View File

@@ -28,12 +28,6 @@ var (
Type: "address",
Sensitive: true,
},
config.HelpKV{
Key: STSExpiry,
Description: `[DEPRECATED] temporary credentials validity duration in s,m,h,d. Default is "1h"`,
Optional: true,
Type: "duration",
},
config.HelpKV{
Key: LookupBindDN,
Description: `DN for LDAP read-only service account used to perform DN and group lookups`,
@@ -60,13 +54,6 @@ var (
Optional: true,
Type: "string",
},
config.HelpKV{
Key: UsernameFormat,
Description: `[DEPRECATED] ";" separated list of username bind DNs e.g. "uid=%s,cn=accounts,dc=myldapserver,dc=com"`,
Optional: true,
Type: "list",
Sensitive: true,
},
config.HelpKV{
Key: GroupSearchFilter,
Description: `search filter for groups e.g. "(&(objectclass=groupOfNames)(memberUid=%s))"`,