git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91b6c9
)
s3-winbind: Add support for the kernel krb5 keyring buffer.
author
Andreas Schneider
<asn@samba.org>
Tue, 10 Sep 2013 07:30:04 +0000
(09:30 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 8 Oct 2013 09:38:51 +0000
(11:38 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit
5a55cb636fa50e96000ea6a00960cc34e00e26a1
)
source3/winbindd/winbindd_pam.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_pam.c
b/source3/winbindd/winbindd_pam.c
index 9b6764bef702e49abf25a29539c3b69b3030b61d..8f2facd447bc4e13cbcd3f21f34810c5d4bc46ee 100644
(file)
--- a/
source3/winbindd/winbindd_pam.c
+++ b/
source3/winbindd/winbindd_pam.c
@@
-492,6
+492,10
@@
static const char *generate_krb5_ccache(TALLOC_CTX *mem_ctx,
gen_cc = talloc_asprintf(
mem_ctx, "WRFILE:/tmp/krb5cc_%d", uid);
}
+ if (strequal(type, "KEYRING")) {
+ gen_cc = talloc_asprintf(
+ mem_ctx, "KEYRING:persistent:%d", uid);
+ }
if (strnequal(type, "FILE:/", 6) ||
strnequal(type, "WRFILE:/", 8) ||