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:
parent
24aa09ff3d
commit
be254eb13c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user