From 13094dc8f6777e6d3d17cfd30fa6adf670702949 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 10 Sep 2013 09:28:50 +0200 Subject: 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 --- 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 7b671542a2..957dde3f1e 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) || -- cgit