summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libads/kerberos.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index 64eca2c8c4..8fcc32b363 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -85,14 +85,6 @@ int ads_kinit_password(ADS_STRUCT *ads)
{
char *s;
int ret;
- char *ccache;
-
- ccache = lock_path("winbindd_ccache");
-
- /* we don't want this to affect the users ccache */
- setenv("KRB5CCNAME", ccache, 1);
-
- unlink(ccache);
if (!ads->user_name) {
/* by default use the machine account */