Skip to content

Commit a74ef93

Browse files
author
Lin Liu
committed
CP-311860: register auth_no_certs error message
Signed-off-by: Lin Liu <lin.liu01@citrix.com>
1 parent c830695 commit a74ef93

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

ocaml/idl/datamodel_errors.ml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,12 @@ let _ =
736736
error Api_errors.auth_is_disabled []
737737
~doc:"External authentication is disabled" () ;
738738
error Api_errors.auth_invalid_certs ["message"]
739-
~doc:"The certificates are invalid to setup TLS connection to Windows AD."
739+
~doc:
740+
"The certificates are invalid to setup a TLS connection to Active \
741+
Directory."
742+
() ;
743+
error Api_errors.auth_no_certs ["message"]
744+
~doc:"No certificates found to setup a TLS connection to Active Directory"
740745
() ;
741746
error Api_errors.auth_enable_failed ["message"]
742747
~doc:"The host failed to enable external authentication." () ;

ocaml/xapi/xapi_pool.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,8 +1820,9 @@ let join_common ~__context ~master_address ~master_username ~master_password
18201820
ignore_error ~msg:"Failed to sync ldaps status with pool coordinator"
18211821
~warn:
18221822
"Error whilst syncing ldaps status with pool coordinator. The \
1823-
pool-join operation will continue as only pool coordinator is used \
1824-
for ldap query. Use pool-external-auth-set-ldaps --force to fixup"
1823+
pool-join operation will continue as only the pool coordinator is \
1824+
used for ldap query. Use pool-external-auth-set-ldaps --force to \
1825+
fix up"
18251826
@@ fun () ->
18261827
let coordinator_ldaps =
18271828
Client.Host.get_external_auth_configuration ~rpc ~session_id

0 commit comments

Comments
 (0)