From f91b6c995e322da9d359437bd114b751ba73a67c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 10 Sep 2013 09:28:50 +0200 Subject: [PATCH] s3-winbind: Don't set a default directory for DIR. There is not default so you should always have to specify a directory in the config file. Signed-off-by: Andreas Schneider Reviewed-by: Guenther Deschner (cherry picked from commit 58038f6b26b5363f07d6e4a3fac6db461f9bca2c) --- source3/winbindd/winbindd_pam.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index 6fbad72da9d..9b6764bef70 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -492,10 +492,6 @@ static const char *generate_krb5_ccache(TALLOC_CTX *mem_ctx, gen_cc = talloc_asprintf( mem_ctx, "WRFILE:/tmp/krb5cc_%d", uid); } - if (strequal(type, "DIR")) { - gen_cc = talloc_asprintf( - mem_ctx, "DIR:/run/user/%d/krb5cc", uid); - } if (strnequal(type, "FILE:/", 6) || strnequal(type, "WRFILE:/", 8) || -- 2.11.4.GIT