From: Stefan Metzmacher Date: Thu, 7 Mar 2024 12:41:51 +0000 (+0100) Subject: s3:net_offlinejoin: we don't need to call libnetapi_set_use_kerberos() as we already... X-Git-Tag: tdb-1.4.11~746 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=579195769d6d8a39921b6622bc76ac1be0418d46;p=thirdparty%2Fsamba.git s3:net_offlinejoin: we don't need to call libnetapi_set_use_kerberos() as we already passed cli_credentials c->opt_kerberos is derived from c->creds... Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/source3/utils/net_offlinejoin.c b/source3/utils/net_offlinejoin.c index a12817c3fc1..e7ea518659c 100644 --- a/source3/utils/net_offlinejoin.c +++ b/source3/utils/net_offlinejoin.c @@ -60,10 +60,6 @@ int net_offlinejoin(struct net_context *c, int argc, const char **argv) return -1; } - if (c->opt_kerberos) { - libnetapi_set_use_kerberos(c->netapi_ctx); - } - if (strcasecmp_m(argv[0], "provision") == 0) { ret = net_offlinejoin_provision(c, argc, argv); if (ret != 0) {