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:
48026d8
)
passdb: check for is_dc_trusted_domain_situation() in get_trust_pw_hash().
author
Michael Adam
<obnox@samba.org>
Mon, 26 May 2008 10:31:44 +0000
(12:31 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 26 May 2008 14:42:24 +0000
(16:42 +0200)
Before fetching legacy password hash, check for trusted domain situation,
but also fail if trusted domain support is not enabled.
Michael
(This used to be commit
aa1b8287f44f47f23bd4158112d0a132df04426c
)
source3/passdb/passdb.c
patch
|
blob
|
history
diff --git
a/source3/passdb/passdb.c
b/source3/passdb/passdb.c
index d69da8f32e79380782bdd09bb4aeaa9ec2d2ae89..4e9f494c86b705bf75ba60bb25275d116162c0ad 100644
(file)
--- a/
source3/passdb/passdb.c
+++ b/
source3/passdb/passdb.c
@@
-1616,7
+1616,7
@@
bool get_trust_pw_hash(const char *domain, uint8 ret_pwd[16],
E_md4hash(pwd, ret_pwd);
SAFE_FREE(pwd);
return true;
- } else if (is_trusted_domain_situation(domain)) {
+ } else if (is_
dc_
trusted_domain_situation(domain)) {
return false;
}