mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
s3-samr-server: be consistent when reporting we do password complexity.
Guenther
This commit is contained in:
parent
4b59ecb903
commit
f3843e330f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user