moved ccache location change into winbindd code
authorAndrew Tridgell <tridge@samba.org>
Mon, 10 Dec 2001 22:10:31 +0000 (22:10 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 10 Dec 2001 22:10:31 +0000 (22:10 +0000)
source/libads/kerberos.c

index 64eca2c8c4d56da7452deee869e7831d04e95fe6..8fcc32b3639dbd647d2f01b099f1314d62ae32fc 100644 (file)
@@ -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 */