Changeset 732 for branches/samba-3.5.x/source3/lib/netapi/netapi.c
- Timestamp:
- Nov 12, 2012, 4:35:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.5.x/source3/lib/netapi/netapi.c
r414 r732 56 56 NET_API_STATUS status; 57 57 struct libnetapi_ctx *ctx = NULL; 58 char *krb5_cc_env = NULL;59 58 60 59 if (stat_ctx && libnetapi_initialized) { … … 101 100 102 101 BlockSignals(True, SIGPIPE); 103 104 krb5_cc_env = getenv(KRB5_ENV_CCNAME);105 if (!krb5_cc_env || (strlen(krb5_cc_env) == 0)) {106 ctx->krb5_cc_env = talloc_strdup(frame, "MEMORY:libnetapi");107 setenv(KRB5_ENV_CCNAME, ctx->krb5_cc_env, 1);108 }109 102 110 103 if (getenv("USER")) { … … 251 244 } 252 245 246 /**************************************************************** 247 ****************************************************************/ 248 253 249 NET_API_STATUS libnetapi_set_use_ccache(struct libnetapi_ctx *ctx) 254 250 {
Note:
See TracChangeset
for help on using the changeset viewer.