s3-winbind: Don't set a default directory for DIR.
authorAndreas Schneider <asn@samba.org>
Tue, 10 Sep 2013 07:28:50 +0000 (09:28 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 7 Oct 2013 08:31:45 +0000 (10:31 +0200)
There is not default so you should always have to specify a directory in
the config file.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/winbindd/winbindd_pam.c

index 7b671542a26d6cf75c477eec8074365f436c3a9f..957dde3f1e79fc3bb4859fed10910e316ca22867 100644 (file)
@@ -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) ||