git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba42ccc
)
net: Only use the in memory ccache when not already using a kerberos ticket in net ads
author
Kai Blin
<kai@samba.org>
Tue, 9 Jun 2009 16:05:50 +0000
(18:05 +0200)
committer
Kai Blin
<kai@samba.org>
Tue, 9 Jun 2009 16:09:18 +0000
(18:09 +0200)
source3/utils/net_ads.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_ads.c
b/source3/utils/net_ads.c
index 588f57f030daa4876444fbbab1053847c88ba61d..38b59d9cdfd59238e1fe7b167e4adc0e8d3bb1de 100644
(file)
--- a/
source3/utils/net_ads.c
+++ b/
source3/utils/net_ads.c
@@
-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(