mirror of
https://github.com/samba-team/samba.git
synced 2025-12-10 04:23:50 +03:00
r25256: Fix missing field set in libnet_ModifyUser routine.
Submitted by Matthias Dieter Wallnoefer <mwallnoefer@yahoo.de> rafal
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
87559febdf
commit
4fe47e4f97
@@ -85,6 +85,12 @@ struct libnet_ModifyUser {
|
||||
} \
|
||||
}
|
||||
|
||||
#define SET_FIELD_UINT32(new, current, mod, field, flag) \
|
||||
if (current->field != new.field) { \
|
||||
mod->field = new.field; \
|
||||
mod->fields |= flag; \
|
||||
}
|
||||
|
||||
|
||||
struct libnet_UserInfo {
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user