Skip to content

Commit 0d29484

Browse files
committed
CP-311971: enable AD extauth cache by default for new pools
Signed-off-by: Edwin Török <edwin.torok@citrix.com>
1 parent d7f97ac commit 0d29484

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

ocaml/idl/datamodel_common.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ open Datamodel_roles
1010
to leave a gap for potential hotfixes needing to increment the schema version.*)
1111
let schema_major_vsn = 5
1212

13-
let schema_minor_vsn = 900
13+
let schema_minor_vsn = 901
1414

1515
(* Historical schema versions just in case this is useful later *)
1616
let rio_schema_major_vsn = 5

ocaml/idl/datamodel_pool.ml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,9 +2196,8 @@ let t =
21962196
; field ~qualifier:StaticRO ~ty:Int ~default_value:(Some (VInt 1L))
21972197
~lifecycle:[] "ext_auth_max_threads"
21982198
"Maximum number of threads to use for external (AD) authentication"
2199-
; field ~qualifier:DynamicRO ~ty:Bool
2200-
~default_value:(Some (VBool false)) ~lifecycle:[]
2201-
"ext_auth_cache_enabled"
2199+
; field ~qualifier:DynamicRO ~ty:Bool ~default_value:(Some (VBool true))
2200+
~lifecycle:[] "ext_auth_cache_enabled"
22022201
"Specifies whether external authentication caching is enabled for \
22032202
this pool or not"
22042203
; field ~qualifier:DynamicRO ~ty:Int ~default_value:(Some (VInt 50L))

ocaml/idl/schematest.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let hash x = Digest.string x |> Digest.to_hex
33
(* BEWARE: if this changes, check that schema has been bumped accordingly in
44
ocaml/idl/datamodel_common.ml, usually schema_minor_vsn *)
55

6-
let last_known_schema_hash = "08510322cf77e8ba10082f2e611ebb40"
6+
let last_known_schema_hash = "32bbba07579ca8844fa6162164530268"
77

88
let current_schema_hash : string =
99
let open Datamodel_types in

0 commit comments

Comments
 (0)