summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-09-10 09:28:50 +0200
committerGünther Deschner <gd@samba.org>2013-09-10 13:48:22 +0200
commit13094dc8f6777e6d3d17cfd30fa6adf670702949 (patch)
tree0503c2e5c110f9d37903fd3cc2d93ad9760f60fe
parent0af09f0179c024099e0776d3794f4b3d7fb3f6f6 (diff)
downloadsamba-13094dc8f6777e6d3d17cfd30fa6adf670702949.tar.gz
samba-13094dc8f6777e6d3d17cfd30fa6adf670702949.tar.bz2
samba-13094dc8f6777e6d3d17cfd30fa6adf670702949.zip
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 <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
-rw-r--r--source3/winbindd/winbindd_pam.c4
1 files changed, 0 insertions, 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) ||