mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
moved ccache location change into winbindd code
(This used to be commit be254eb13c4bf316823ed43db3ef9407f45ca23b)
This commit is contained in:
parent
273deacb32
commit
3d27d7b9f7
@ -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…
x
Reference in New Issue
Block a user