[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Fri Nov 6 09:12:34 MST 2009


The branch, master has been updated
       via  0bcedb6... s4:samdb_check_password - allow the password string to be NULL
      from  c9df4a3... s4:dcesrv_samr_ValidatePassword - naturally this was only for debugging the failure

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


- Log -----------------------------------------------------------------
commit 0bcedb6ba72b12feb70dbed72468d05197716cb7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date:   Fri Nov 6 15:38:31 2009 +0100

    s4:samdb_check_password - allow the password string to be NULL
    
    This deactivates the password complexity check, but not the minimum password
    length one, since the length is specified.
    This change is needed by my password module work.

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

Summary of changes:
 source4/dsdb/common/util.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 76a4efc..393e1d4 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -1590,6 +1590,7 @@ enum samr_ValidationStatus samdb_check_password(const DATA_BLOB *password,
 
 	/* checks the password complexity */
 	if (((pwdProperties & DOMAIN_PASSWORD_COMPLEX) != 0)
+			&& (password->data != NULL)
 			&& (!check_password_quality((const char *) password->data)))
 		return SAMR_VALIDATION_STATUS_NOT_COMPLEX_ENOUGH;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list