[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Sun Apr 11 07:29:17 MDT 2010


The branch, master has been updated
       via  59d6889... s3: Use sizeof(chal) instead of a constant
      from  b0d65f8... s3: Use talloc_stackframe() in user_in_group

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 59d68899c40ef368ab57fa734f95bcfb475bb46e
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Apr 11 15:26:23 2010 +0200

    s3: Use sizeof(chal) instead of a constant

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

Summary of changes:
 source3/winbindd/winbindd_pam.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index d5650d9..1faa5c9 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -1218,7 +1218,7 @@ static NTSTATUS winbindd_dual_pam_auth_samlogon(struct winbindd_domain *domain,
 
 	/* do password magic */
 
-	generate_random_buffer(chal, 8);
+	generate_random_buffer(chal, sizeof(chal));
 
 	if (lp_client_ntlmv2_auth()) {
 		DATA_BLOB server_chal;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list