The Samba-Bugzilla – Attachment 11650 Details for
Bug 11631
DIR krb5 ccache not covered
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
winbindd_pam DIR krb5 ccache patch
0001-winbindd_pam-DIR-krb5_ccache.patch (text/plain), 927 bytes, created by
Lars Müller
on 2015-12-02 22:55:50 UTC
(
hide
)
Description:
winbindd_pam DIR krb5 ccache patch
Filename:
MIME Type:
Creator:
Lars Müller
Created:
2015-12-02 22:55:50 UTC
Size:
927 bytes
patch
obsolete
>From: Lars Mueller <lars@samba.org> >Date: Thu, 1 Dec 2015 20:40:45 +0100 >Subject: [PATCH] cover DIR krb5 ccache too > >Index: source3/winbindd/winbindd_pam.c >=================================================================== >--- source3/winbindd/winbindd_pam.c.orig >+++ source3/winbindd/winbindd_pam.c >@@ -492,6 +492,17 @@ static const char *generate_krb5_ccache( > gen_cc = talloc_asprintf( > mem_ctx, "WRFILE:/tmp/krb5cc_%d", uid); > } >+ if (strequal(type, "DIR")) { >+ char *run_user_dir = NULL; >+ gen_cc = talloc_asprintf( >+ mem_ctx, "DIR:/run/user/%d/krb5cc", uid); >+ run_user_dir = talloc_asprintf( >+ mem_ctx, "/run/user/%d", uid); >+ DEBUG(10, ("creating DIR: %s\n", run_user_dir)); >+ mkdir(run_user_dir, 0700); >+ chown(run_user_dir, uid, (gid_t)-1); >+ talloc_free(run_user_dir); >+ } > if (strequal(type, "KEYRING")) { > gen_cc = talloc_asprintf( > mem_ctx, "KEYRING:persistent:%d", uid);
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
Actions:
View
Attachments on
bug 11631
:
11650
|
11653
|
11654
|
11667
|
11690