feat: add API support for additional LDAP auth method fields. (#3679)
* feat (auth/ldap): add Repo support for max page size and deref aliases (#3670) * chore: update cap/ldap dependency This latest version of cap/ldap adds support for MaxPageSize and DerefAliases * feat (auth/ldap): add MaxPageSize and DerefAliases to storage proto * feat (api/authmethods): add new ldap fields. Add support for maximum_page_size and dereference_aliases * feat (auth/ldap): schema changes to support new LDAP attributes * feat (auth/ldap): add Repo support for max page size and deref aliases * feat (handlers/ldap): add support for new fields (#3674) Added API support for new ldap fields: MaximumPageSize and DereferenceAliases * chore: add CHANGELOG entry for new api auth ldap fields
This commit is contained in:
28 files changed
+1166
-237
No files matched your search
@@ -570,4 +570,31 @@ message LdapAuthMethodAttributes {
|
||||
that: "AccountAttributeMaps"
|
||||
}
|
||||
]; // @gotags: `class:"public"`
|
||||
|
||||
// maximum_page_size (optional) specifies a maximum ldap search result size to
|
||||
// use when retrieving the authenticated user's group memberships. This can
|
||||
// be used to avoid reaching the LDAP server's max result size.
|
||||
uint32 maximum_page_size = 240 [
|
||||
json_name = "maximum_page_size",
|
||||
(custom_options.v1.generate_sdk_option) = true,
|
||||
(custom_options.v1.mask_mapping) = {
|
||||
this: "attributes.maximum_page_size",
|
||||
that: "MaximumPageSize"
|
||||
}
|
||||
]; // @gotags: `class:"public"`
|
||||
|
||||
// dereference_aliases (optional) will control how aliases are dereferenced when
|
||||
// performing the search. Possible values are: never, finding, searching,
|
||||
// and always. If unset, a default of "never" is used. When set to
|
||||
// "finding", it will only dereference aliases during name resolution of the
|
||||
// base. When set to "searching", it will dereference aliases after name
|
||||
// resolution.
|
||||
google.protobuf.StringValue dereference_aliases = 250 [
|
||||
json_name = "dereference_aliases",
|
||||
(custom_options.v1.generate_sdk_option) = true,
|
||||
(custom_options.v1.mask_mapping) = {
|
||||
this: "attributes.dereference_aliases",
|
||||
that: "DereferenceAliases"
|
||||
}
|
||||
]; // @gotags: `class:"public"`
|
||||
}
|
||||
Reference in new issue
Block a user