git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
014b7b7
)
s3-libnetjoin: remove unused md4_trust_password, found by metze.
author
Günther Deschner
<gd@samba.org>
Fri, 28 Nov 2008 23:10:18 +0000
(
00:10
+0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 16 Dec 2008 15:16:20 +0000
(16:16 +0100)
Guenther
(cherry picked from commit
f479fdc29813c3452fd22c4a2780f0bc5066e664
)
source/libnet/libnet_join.c
patch
|
blob
|
history
diff --git
a/source/libnet/libnet_join.c
b/source/libnet/libnet_join.c
index 831f1755d0023ff02ce5c3e594ded38cbce052d7..9d4a680562617c265e954e9a1a7c602b30a14c0a 100644
(file)
--- a/
source/libnet/libnet_join.c
+++ b/
source/libnet/libnet_join.c
@@
-761,7
+761,6
@@
static NTSTATUS libnet_join_joindomain_rpc(TALLOC_CTX *mem_ctx,
struct lsa_String lsa_acct_name;
uint32_t user_rid;
uint32_t acct_flags = ACB_WSTRUST;
- uchar md4_trust_password[16];
struct samr_Ids user_rids;
struct samr_Ids name_types;
union samr_UserInfo user_info;
@@
-896,10
+895,6
@@
static NTSTATUS libnet_join_joindomain_rpc(TALLOC_CTX *mem_ctx,
goto done;
}
- /* Create a random machine account password and generate the hash */
-
- E_md4hash(r->in.machine_password, md4_trust_password);
-
init_samr_CryptPasswordEx(r->in.machine_password,
&cli->user_session_key,
&crypt_pwd_ex);