on credentials don't do anything' bug.
The problem was simple, we didn't set the ccache as having been
initialised, so we always created a new one.
Andrew Bartlett
(This used to be commit
ec2014f08b0845bc8aa0e8e6713bc4b21f430811)
*_ccc = ccc;
}
+ cred->ccache_obtained = (MAX(MAX(cred->principal_obtained,
+ cred->username_obtained),
+ cred->password_obtained));
return ret;
}
cli_credentials_set_machine_account(cred);
}
- if (cred->ccache_obtained >= (MAX(cred->principal_obtained,
- cred->username_obtained))) {
+ if (cred->ccache_obtained >=(MAX(MAX(cred->principal_obtained,
+ cred->username_obtained),
+ cred->password_obtained))) {
*ccc = cred->ccache;
return 0;
}