|
5 | 5 | "fmt"
|
6 | 6 | "strings"
|
7 | 7 |
|
8 |
| - "github.com/hashicorp/terraform-plugin-framework-validators/boolvalidator" |
9 | 8 | "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
|
10 | 9 | "github.com/hashicorp/terraform-plugin-framework/attr"
|
11 | 10 | "github.com/hashicorp/terraform-plugin-framework/diag"
|
@@ -255,12 +254,7 @@ func (r *CifsServiceResource) Schema(ctx context.Context, req resource.SchemaReq
|
255 | 254 | PlanModifiers: []planmodifier.Bool{
|
256 | 255 | boolplanmodifier.UseStateForUnknown(),
|
257 | 256 | },
|
258 |
| - Validators: []validator.Bool{ |
259 |
| - boolvalidator.ConflictsWith(path.Expressions{ |
260 |
| - path.MatchRoot("advertised_kdc_encryptions"), |
261 |
| - }...), |
262 |
| - }, |
263 |
| - MarkdownDescription: "Specifies whether AES-128 and AES-256 encryption is enabled for all Kerberos-based communication with the Active Directory KDC", |
| 257 | + MarkdownDescription: "Specifies whether AES-128 and AES-256 encryption is enabled for all Kerberos-based communication with the Active Directory KDC. Deprecated in 9.12. Use 'advertised_kdc_encryptions' instead.", |
264 | 258 | },
|
265 | 259 | "lm_compatibility_level": schema.StringAttribute{
|
266 | 260 | Optional: true,
|
@@ -338,7 +332,7 @@ func (r *CifsServiceResource) Schema(ctx context.Context, req resource.SchemaReq
|
338 | 332 | PlanModifiers: []planmodifier.Set{
|
339 | 333 | setplanmodifier.UseStateForUnknown(),
|
340 | 334 | },
|
341 |
| - MarkdownDescription: "List of advertised KDC encryptions", |
| 335 | + MarkdownDescription: "List of advertised KDC encryptions (9.12)", |
342 | 336 | ElementType: types.StringType,
|
343 | 337 | },
|
344 | 338 | },
|
|
0 commit comments