mirror of
https://github.com/rancher/types.git
synced 2025-09-16 14:59:16 +00:00
add custom user/group search filter for AD
This commit is contained in:
committed by
Alena Prokharchyk
parent
78ea41d9fd
commit
1be43c2851
@@ -197,12 +197,14 @@ type ActiveDirectoryConfig struct {
|
||||
UserDisabledBitMask int64 `json:"userDisabledBitMask,omitempty" norman:"default=2"`
|
||||
UserSearchBase string `json:"userSearchBase,omitempty" norman:"required"`
|
||||
UserSearchAttribute string `json:"userSearchAttribute,omitempty" norman:"default=sAMAccountName|sn|givenName,required"`
|
||||
UserSearchFilter string `json:"userSearchFilter,omitempty"`
|
||||
UserLoginAttribute string `json:"userLoginAttribute,omitempty" norman:"default=sAMAccountName,required"`
|
||||
UserObjectClass string `json:"userObjectClass,omitempty" norman:"default=person,required"`
|
||||
UserNameAttribute string `json:"userNameAttribute,omitempty" norman:"default=name,required"`
|
||||
UserEnabledAttribute string `json:"userEnabledAttribute,omitempty" norman:"default=userAccountControl,required"`
|
||||
GroupSearchBase string `json:"groupSearchBase,omitempty"`
|
||||
GroupSearchAttribute string `json:"groupSearchAttribute,omitempty" norman:"default=sAMAccountName,required"`
|
||||
GroupSearchFilter string `json:"groupSearchFilter,omitempty"`
|
||||
GroupObjectClass string `json:"groupObjectClass,omitempty" norman:"default=group,required"`
|
||||
GroupNameAttribute string `json:"groupNameAttribute,omitempty" norman:"default=name,required"`
|
||||
GroupDNAttribute string `json:"groupDNAttribute,omitempty" norman:"default=distinguishedName,required"`
|
||||
|
Reference in New Issue
Block a user