mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3:lib/netapi: don't set SAMR_FIELD_FULL_NAME if we just want to set the account name (bug #7896)
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 30 18:09:13 CET 2010 on sn-devel-104
This commit is contained in:
@ -56,9 +56,6 @@ static void convert_USER_INFO_X_to_samr_user_info21(struct USER_INFO_X *infoX,
|
|||||||
if (infoX->usriX_flags) {
|
if (infoX->usriX_flags) {
|
||||||
fields_present |= SAMR_FIELD_ACCT_FLAGS;
|
fields_present |= SAMR_FIELD_ACCT_FLAGS;
|
||||||
}
|
}
|
||||||
if (infoX->usriX_name) {
|
|
||||||
fields_present |= SAMR_FIELD_FULL_NAME;
|
|
||||||
}
|
|
||||||
if (infoX->usriX_home_dir) {
|
if (infoX->usriX_home_dir) {
|
||||||
fields_present |= SAMR_FIELD_HOME_DIRECTORY;
|
fields_present |= SAMR_FIELD_HOME_DIRECTORY;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user