[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4273-g52d2212

Günther Deschner gd at samba.org
Mon Oct 20 18:20:22 GMT 2008


The branch, v3-3-test has been updated
       via  52d22121fa2ea646535806103d86afe8d52001c9 (commit)
      from  f1c0d56e8230bb4a8c085ad885cf05cbcc8297ec (commit)

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


- Log -----------------------------------------------------------------
commit 52d22121fa2ea646535806103d86afe8d52001c9
Author: Günther Deschner <gd at samba.org>
Date:   Mon Oct 20 20:16:03 2008 +0200

    s3-samr-server: be consistent when reporting we do password complexity.
    
    Guenther

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

Summary of changes:
 source/rpc_server/srv_samr_nt.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_server/srv_samr_nt.c b/source/rpc_server/srv_samr_nt.c
index 6455f02..59728c6 100644
--- a/source/rpc_server/srv_samr_nt.c
+++ b/source/rpc_server/srv_samr_nt.c
@@ -2909,6 +2909,10 @@ static NTSTATUS samr_QueryDomainInfo_internal(const char *fn_name,
 			unix_to_nt_time_abs(&nt_expire, u_expire);
 			unix_to_nt_time_abs(&nt_min_age, u_min_age);
 
+			if (lp_check_password_script() && *lp_check_password_script()) {
+				password_properties |= DOMAIN_PASSWORD_COMPLEX;
+			}
+
 			init_samr_DomInfo1(&dom_info->info1,
 					   (uint16)min_pass_len,
 					   (uint16)pass_hist,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list