From 2f4341cb94ab54d47d510a1641453d17a27659b5 Mon Sep 17 00:00:00 2001 From: mrajashree Date: Tue, 22 Dec 2020 16:35:53 -0800 Subject: [PATCH] Add starttls option for ldap and AD --- 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 d305f5ac..3efa8e24 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -239,6 +239,7 @@ type ActiveDirectoryConfig struct { Servers []string `json:"servers,omitempty" norman:"type=array[string],required"` Port int64 `json:"port,omitempty" norman:"default=389"` TLS bool `json:"tls,omitempty" norman:"default=false"` + StartTLS bool `json:"starttls,omitempty" norman:"default=false"` Certificate string `json:"certificate,omitempty"` DefaultLoginDomain string `json:"defaultLoginDomain,omitempty"` ServiceAccountUsername string `json:"serviceAccountUsername,omitempty" norman:"required"` @@ -274,6 +275,7 @@ type LdapFields struct { Servers []string `json:"servers,omitempty" norman:"type=array[string],notnullable,required"` Port int64 `json:"port,omitempty" norman:"default=389,notnullable,required"` TLS bool `json:"tls,omitempty" norman:"default=false,notnullable,required"` + StartTLS bool `json:"starttls,omitempty" norman:"default=false"` Certificate string `json:"certificate,omitempty"` ServiceAccountDistinguishedName string `json:"serviceAccountDistinguishedName,omitempty" norman:"required"` ServiceAccountPassword string `json:"serviceAccountPassword,omitempty" norman:"type=password,required"`