From fc0fe09fcb0b83ddeef629e2c680c29c7f0d3169 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 29 Dec 2010 12:08:19 +0100 Subject: [PATCH] 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 Autobuild-Date: Thu Dec 30 18:09:13 CET 2010 on sn-devel-104 (cherry picked from commit f1d15ea54c313e71fc032b2ed191bdecad868858) --- source3/lib/netapi/user.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index e870ffd..c5f7b37 100644 --- a/source3/lib/netapi/user.c +++ b/source3/lib/netapi/user.c @@ -52,9 +52,6 @@ static void convert_USER_INFO_X_to_samr_user_info21(struct USER_INFO_X *infoX, if (infoX->usriX_flags) { fields_present |= SAMR_FIELD_ACCT_FLAGS; } - if (infoX->usriX_name) { - fields_present |= SAMR_FIELD_FULL_NAME; - } if (infoX->usriX_home_dir) { fields_present |= SAMR_FIELD_HOME_DIRECTORY; } -- 1.7.3.4