[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-1020-g5b2eec2

Günther Deschner gd at samba.org
Thu Jan 3 12:19:59 GMT 2008


The branch, v3-2-test has been updated
       via  5b2eec21c27f07653e2dbb75c0f9ab4a60736773 (commit)
      from  1688eae5e868744fb209f59ed526b1a91d1fe0db (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 5b2eec21c27f07653e2dbb75c0f9ab4a60736773
Author: Günther Deschner <gd at samba.org>
Date:   Thu Jan 3 13:17:15 2008 +0100

    In libnetjoin don't mix admin password with machine account pwd.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/libnet/libnet_join.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libnet/libnet_join.c b/source/libnet/libnet_join.c
index 6edcdb8..ae3ed06 100644
--- a/source/libnet/libnet_join.c
+++ b/source/libnet/libnet_join.c
@@ -152,8 +152,8 @@ static NTSTATUS do_DomainJoin(TALLOC_CTX *mem_ctx,
 		goto done;
 	}
 
-	E_md4hash(r->in.password, md4_trust_password);
-	encode_pw_buffer(pwbuf, r->in.password, STR_UNICODE);
+	E_md4hash(password, md4_trust_password);
+	encode_pw_buffer(pwbuf, password, STR_UNICODE);
 
 	generate_random_buffer((uint8*)md5buffer, sizeof(md5buffer));
 	digested_session_key = data_blob_talloc(mem_ctx, 0, 16);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list