summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-12-29 12:08:19 +0100
committerStefan Metzmacher <metze@samba.org>2010-12-30 18:09:13 +0100
commitf1d15ea54c313e71fc032b2ed191bdecad868858 (patch)
tree3ee220ddd9e3fa5c574ee8f1bc6c1c7047139524 /source3/lib/netapi
parent84bbf9c5a87194e891434784abb5fbfbf992bb10 (diff)
downloadsamba-f1d15ea54c313e71fc032b2ed191bdecad868858.tar.gz
samba-f1d15ea54c313e71fc032b2ed191bdecad868858.tar.bz2
samba-f1d15ea54c313e71fc032b2ed191bdecad868858.zip
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
Diffstat (limited to 'source3/lib/netapi')
-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 152b72733d..428f2493c0 100644
--- a/source3/lib/netapi/user.c
+++ b/source3/lib/netapi/user.c
@@ -56,9 +56,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;
}