The Samba-Bugzilla – Attachment 7035 Details for
Bug 7465
net ads join -k didn't work if KRB5CCNAME is not set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v3-6-test.patch followup ABI
v3-6-test.patch (text/plain), 2.28 KB, created by
Guenther Deschner
on 2011-10-26 13:04:20 UTC
(
hide
)
Description:
v3-6-test.patch followup ABI
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2011-10-26 13:04:20 UTC
Size:
2.28 KB
patch
obsolete
>From 9cff4acdd3dfc0bbc6a44aded21a08ec15d9589e Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Wed, 26 Oct 2011 15:03:23 +0200 >Subject: [PATCH] s3-netapi: remove pointless use_memory_krb5_ccache. > >This breaks the ABI. > >Guenther >--- > source3/lib/netapi/netapi.c | 14 -------------- > source3/lib/netapi/netapi.h | 6 ------ > 2 files changed, 0 insertions(+), 20 deletions(-) > >diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c >index dc42049..ffb84b0 100644 >--- a/source3/lib/netapi/netapi.c >+++ b/source3/lib/netapi/netapi.c >@@ -262,20 +262,6 @@ NET_API_STATUS libnetapi_set_use_kerberos(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; >-} >- >-/**************************************************************** >-****************************************************************/ >- > NET_API_STATUS libnetapi_set_use_ccache(struct libnetapi_ctx *ctx) > { > ctx->use_ccache = true; >diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h >index a55dc5e..9e1549d 100644 >--- a/source3/lib/netapi/netapi.h >+++ b/source3/lib/netapi/netapi.h >@@ -1356,7 +1356,6 @@ struct libnetapi_ctx { > char *krb5_cc_env; > int use_kerberos; > int use_ccache; >- int use_memory_krb5_ccache; > int disable_policy_handle_cache; > > void *private_data; >@@ -1409,11 +1408,6 @@ NET_API_STATUS libnetapi_set_use_kerberos(struct libnetapi_ctx *ctx); > /**************************************************************** > ****************************************************************/ > >-NET_API_STATUS libnetapi_set_use_memory_krb5_ccache(struct libnetapi_ctx *ctx); >- >-/**************************************************************** >-****************************************************************/ >- > NET_API_STATUS libnetapi_set_use_ccache(struct libnetapi_ctx *ctx); > > /**************************************************************** >-- >1.7.6.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
asn
:
review+
Actions:
View
Attachments on
bug 7465
:
6937
|
6938
|
6948
|
7034
| 7035