1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

samba-tool/testparm: make it clear that 'client use krb5 netlogon' is experimental

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15815

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Stefan Metzmacher 2025-02-22 15:58:51 +01:00 committed by Volker Lendecke
parent 54514ad809
commit 5fc5f90dee

View File

@ -191,6 +191,16 @@ class cmd_testparm(Command):
"'allow_sasl_without_tls_channel_bindings' "
"(if really needed).")
cli_krb5_netlogon = lp.get("client use krb5 netlogon")
if cli_krb5_netlogon not in ["no", "default"]:
logger.error(
"You have configured "
"'client use krb5 netlogon = %s'.\n"
"This is experimental in Samba %s "
"and should not be used in production!\n\n" %
(cli_krb5_netlogon, samba.version))
valid = False
return valid
def allow_access(self, deny_list, allow_list, cname, caddr):