1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

moved ccache location change into winbindd code

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 24aa09ff3d
commit be254eb13c

View 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 */