summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-12-04 18:15:03 +0100
committerGünther Deschner <gd@samba.org>2008-12-05 14:27:03 +0100
commit7423b6a4b8aadd12fde2f348d8637099b4171848 (patch)
treeaa639efe0bcd8e0132ada20b673a0df85c2f87dd /source3/lib/netapi
parentce0116815852ddf261954c6df89039ebee24aa87 (diff)
downloadsamba-7423b6a4b8aadd12fde2f348d8637099b4171848.tar.gz
samba-7423b6a4b8aadd12fde2f348d8637099b4171848.tar.bz2
samba-7423b6a4b8aadd12fde2f348d8637099b4171848.zip
s3-samr: fix SAMR_FIELD_PASSWORD callers.
Guenther
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c
index 2e319cf23c..1f4b03f677 100644
--- a/source3/lib/netapi/user.c
+++ b/source3/lib/netapi/user.c
@@ -46,7 +46,7 @@ static void convert_USER_INFO_X_to_samr_user_info21(struct USER_INFO_X *infoX,
fields_present |= SAMR_FIELD_ACCOUNT_NAME;
}
if (infoX->usriX_password) {
- fields_present |= SAMR_FIELD_PASSWORD;
+ fields_present |= SAMR_FIELD_NT_PASSWORD_PRESENT;
}
if (infoX->usriX_flags) {
fields_present |= SAMR_FIELD_ACCT_FLAGS;