1
0
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:
Kai Blin 2009-06-09 18:05:50 +02:00
parent ba42cccf00
commit 38cd0e086f

View File

@ -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(