diff options
author | Günther Deschner <gd@samba.org> | 2008-08-27 00:57:07 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-08-29 13:57:55 +0200 |
commit | 41fa94363fe1e22b4b7fc3360e9b130607b1dc12 (patch) | |
tree | 65691c969941c8c66ea2ffe45b6947d428a79f54 /source3/lib | |
parent | a5fc8ee45736b39def94a2192a9b7899e60af205 (diff) | |
download | samba-41fa94363fe1e22b4b7fc3360e9b130607b1dc12.tar.gz samba-41fa94363fe1e22b4b7fc3360e9b130607b1dc12.tar.bz2 samba-41fa94363fe1e22b4b7fc3360e9b130607b1dc12.zip |
netapi: fix convert_USER_INFO_X_to_samr_user_info21.
Guenther
(This used to be commit 3f726952eb9a1fed0f4a990c82a2c47a5c0775be)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index 045491c541..d70a790b81 100644 --- a/source3/lib/netapi/user.c +++ b/source3/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, |