From 731077e635fd9fd7860c2c21e64b924d08b109a1 Mon Sep 17 00:00:00 2001 From: rajashree Date: Wed, 18 Sep 2019 13:30:29 -0700 Subject: [PATCH] Add custom search filter field for openldap and freeipa --- apis/management.cattle.io/v3/authn_types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apis/management.cattle.io/v3/authn_types.go b/apis/management.cattle.io/v3/authn_types.go index c5f771f1..fc733e48 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -262,6 +262,7 @@ type LdapConfig struct { UserDisabledBitMask int64 `json:"userDisabledBitMask,omitempty"` UserSearchBase string `json:"userSearchBase,omitempty" norman:"notnullable,required"` UserSearchAttribute string `json:"userSearchAttribute,omitempty" norman:"default=uid|sn|givenName,notnullable,required"` + UserSearchFilter string `json:"userSearchFilter,omitempty"` UserLoginAttribute string `json:"userLoginAttribute,omitempty" norman:"default=uid,notnullable,required"` UserObjectClass string `json:"userObjectClass,omitempty" norman:"default=inetOrgPerson,notnullable,required"` UserNameAttribute string `json:"userNameAttribute,omitempty" norman:"default=cn,notnullable,required"` @@ -269,6 +270,7 @@ type LdapConfig struct { UserEnabledAttribute string `json:"userEnabledAttribute,omitempty"` GroupSearchBase string `json:"groupSearchBase,omitempty"` GroupSearchAttribute string `json:"groupSearchAttribute,omitempty" norman:"default=cn,notnullable,required"` + GroupSearchFilter string `json:"groupSearchFilter,omitempty"` GroupObjectClass string `json:"groupObjectClass,omitempty" norman:"default=groupOfNames,notnullable,required"` GroupNameAttribute string `json:"groupNameAttribute,omitempty" norman:"default=cn,notnullable,required"` GroupDNAttribute string `json:"groupDNAttribute,omitempty" norman:"default=entryDN,notnullable"`