From eae5373cfbe51a444d6381e6f7aeeb9f945902e9 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 10 Sep 2013 09:30:04 +0200 Subject: s3-winbind: Add support for the kernel krb5 keyring buffer. Signed-off-by: Andreas Schneider Reviewed-by: Guenther Deschner --- source3/winbindd/winbindd_pam.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index 957dde3f1e..c356686488 100644 --- 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) || -- cgit