diff options
Diffstat (limited to 'source3/lib/netapi/netapi.c')
-rw-r--r-- | source3/lib/netapi/netapi.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c index 9ed13fcc71..34609ff13e 100644 --- a/source3/lib/netapi/netapi.c +++ b/source3/lib/netapi/netapi.c @@ -278,20 +278,6 @@ NET_API_STATUS libnetapi_set_use_ccache(struct libnetapi_ctx *ctx) } /**************************************************************** -****************************************************************/ - -NET_API_STATUS libnetapi_set_use_memory_krb5_ccache(struct libnetapi_ctx *ctx) -{ - ctx->krb5_cc_env = talloc_strdup(ctx, "MEMORY:libnetapi"); - if (!ctx->krb5_cc_env) { - return W_ERROR_V(WERR_NOMEM); - } - setenv(KRB5_ENV_CCNAME, ctx->krb5_cc_env, 1); - ctx->use_memory_krb5_ccache = 1; - return NET_API_STATUS_SUCCESS; -} - -/**************************************************************** Return a libnetapi error as a string, caller must free with NetApiBufferFree ****************************************************************/ |