summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-12-29 12:08:19 +0100
committerKarolin Seeger <kseeger@samba.org>2011-03-05 14:34:48 +0100
commitd700f40e7220cc5b1ccc37c7476bfd42b502ceba (patch)
tree8d4746a5be3f0f1c17b932246af1ff8337399b6f /source3/lib
parenta40be169f3b07b5f3fc72d066b21d96e26bdf58a (diff)
downloadsamba-d700f40e7220cc5b1ccc37c7476bfd42b502ceba.tar.gz
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 (cherry picked from commit f1d15ea54c313e71fc032b2ed191bdecad868858) (cherry picked from commit c6a0971b3790253a906b370562237479d273bb94)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/user.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c
index e870ffd0743..c5f7b3722ad 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;
}