mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
r13445: We already made the decision whether to include the dominfo and
changereject.
Guenther
(This used to be commit 98d3c63e04
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
72b30eba64
commit
a48f4e832f
@ -7422,15 +7422,13 @@ void init_samr_r_chgpasswd_user3(SAMR_R_CHGPASSWD_USER3 *r_u, NTSTATUS status,
|
||||
r_u->reject = 0;
|
||||
r_u->ptr_reject = 0;
|
||||
|
||||
if (NT_STATUS_EQUAL(r_u->status, NT_STATUS_PASSWORD_RESTRICTION)) {
|
||||
if (info) {
|
||||
r_u->info = info;
|
||||
r_u->ptr_info = 1;
|
||||
}
|
||||
if (reject) {
|
||||
r_u->reject = reject;
|
||||
r_u->ptr_reject = 1;
|
||||
}
|
||||
if (info) {
|
||||
r_u->info = info;
|
||||
r_u->ptr_info = 1;
|
||||
}
|
||||
if (reject && (reject->reject_reason != Undefined)) {
|
||||
r_u->reject = reject;
|
||||
r_u->ptr_reject = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user