mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
net: Only use the in memory ccache when not already using a kerberos ticket in net ads
This commit is contained in:
parent
ba42cccf00
commit
38cd0e086f
@ -236,7 +236,8 @@ retry:
|
||||
set_cmdline_auth_info_getpass(c->auth_info);
|
||||
}
|
||||
|
||||
if (get_cmdline_auth_info_got_pass(c->auth_info)) {
|
||||
if (get_cmdline_auth_info_got_pass(c->auth_info) ||
|
||||
!get_cmdline_auth_info_use_kerberos(c->auth_info)) {
|
||||
use_in_memory_ccache();
|
||||
SAFE_FREE(ads->auth.password);
|
||||
ads->auth.password = smb_xstrdup(
|
||||
|
Loading…
x
Reference in New Issue
Block a user