From: Günther Deschner Date: Tue, 26 Aug 2008 22:57:07 +0000 (+0200) Subject: netapi: fix convert_USER_INFO_X_to_samr_user_info21. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f726952eb9a1fed0f4a990c82a2c47a5c0775be;p=thirdparty%2Fsamba.git netapi: fix convert_USER_INFO_X_to_samr_user_info21. Guenther --- diff --git a/source/lib/netapi/user.c b/source/lib/netapi/user.c index 045491c541f..d70a790b81b 100644 --- a/source/lib/netapi/user.c +++ b/source/lib/netapi/user.c @@ -41,7 +41,7 @@ static void convert_USER_INFO_X_to_samr_user_info21(struct USER_INFO_X *infoX, ZERO_STRUCT(zero_parameters); if (infoX->usriX_name) { - fields_present |= SAMR_FIELD_FULL_NAME; + fields_present |= SAMR_FIELD_ACCOUNT_NAME; } if (infoX->usriX_password) { fields_present |= SAMR_FIELD_PASSWORD; @@ -77,8 +77,8 @@ static void convert_USER_INFO_X_to_samr_user_info21(struct USER_INFO_X *infoX, 0, 0, password_age, - NULL, infoX->usriX_name, + NULL, infoX->usriX_home_dir, NULL, infoX->usriX_script_path,