[SCM] Samba Shared Repository - branch master updated - e58a8c169cd075ca900a2a144d7b5387460bbf05

Volker Lendecke vlendec at samba.org
Mon Jan 19 10:49:39 GMT 2009


The branch, master has been updated
       via  e58a8c169cd075ca900a2a144d7b5387460bbf05 (commit)
      from  b0c92548d8a0ec628e61364da04ea239cf297fc7 (commit)

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


- Log -----------------------------------------------------------------
commit e58a8c169cd075ca900a2a144d7b5387460bbf05
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Jan 19 11:47:29 2009 +0100

    Fix the same bug as 8b618d0 fixes, this time in winbindd_passdb.c

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

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


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_passdb.c b/source3/winbindd/winbindd_passdb.c
index d754373..d704ca0 100644
--- a/source3/winbindd/winbindd_passdb.c
+++ b/source3/winbindd/winbindd_passdb.c
@@ -333,14 +333,16 @@ static NTSTATUS password_policy(struct winbindd_domain *domain,
 	}
 
 	if (!pdb_get_account_policy(AP_MIN_PASSWORD_LEN,
-				    (uint32_t *)&p->min_password_length)) {
+				    &account_policy_temp)) {
 		return NT_STATUS_ACCESS_DENIED;
 	}
+	p->min_password_length = account_policy_temp;
 
 	if (!pdb_get_account_policy(AP_PASSWORD_HISTORY,
-				    (uint32_t *)&p->password_history_length)) {
+				    &account_policy_temp)) {
 		return NT_STATUS_ACCESS_DENIED;
 	}
+	p->password_history_length = account_policy_temp;
 
 	if (!pdb_get_account_policy(AP_USER_MUST_LOGON_TO_CHG_PASS,
 				    &p->password_properties)) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list