mirror of
https://github.com/hashicorp/vault.git
synced 2025-12-09 19:41:37 +01:00
Fix tests
This commit is contained in:
parent
8a2a3442f0
commit
b5aae722f7
@ -894,17 +894,18 @@ func TestLdapAuthBackend_ConfigUpgrade(t *testing.T) {
|
||||
TokenExplicitMaxTTL: 24 * time.Hour,
|
||||
},
|
||||
ConfigEntry: &ldaputil.ConfigEntry{
|
||||
Url: "ldap://ldap.forumsys.com",
|
||||
UserAttr: "uid",
|
||||
UserDN: "dc=example,dc=com",
|
||||
GroupDN: "dc=example,dc=com",
|
||||
BindDN: "cn=read-only-admin,dc=example,dc=com",
|
||||
GroupFilter: defParams.GroupFilter,
|
||||
DenyNullBind: defParams.DenyNullBind,
|
||||
GroupAttr: defParams.GroupAttr,
|
||||
TLSMinVersion: defParams.TLSMinVersion,
|
||||
TLSMaxVersion: defParams.TLSMaxVersion,
|
||||
CaseSensitiveNames: falseBool,
|
||||
Url: "ldap://ldap.forumsys.com",
|
||||
UserAttr: "uid",
|
||||
UserDN: "dc=example,dc=com",
|
||||
GroupDN: "dc=example,dc=com",
|
||||
BindDN: "cn=read-only-admin,dc=example,dc=com",
|
||||
GroupFilter: defParams.GroupFilter,
|
||||
DenyNullBind: defParams.DenyNullBind,
|
||||
GroupAttr: defParams.GroupAttr,
|
||||
TLSMinVersion: defParams.TLSMinVersion,
|
||||
TLSMaxVersion: defParams.TLSMaxVersion,
|
||||
CaseSensitiveNames: falseBool,
|
||||
UsePre111GroupCNBehavior: new(bool),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user