diff options
author | Günther Deschner <gd@samba.org> | 2008-12-04 18:15:03 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-12-05 14:27:03 +0100 |
commit | 7423b6a4b8aadd12fde2f348d8637099b4171848 (patch) | |
tree | aa639efe0bcd8e0132ada20b673a0df85c2f87dd /source3/rpc_server | |
parent | ce0116815852ddf261954c6df89039ebee24aa87 (diff) | |
download | samba-7423b6a4b8aadd12fde2f348d8637099b4171848.tar.gz samba-7423b6a4b8aadd12fde2f348d8637099b4171848.tar.bz2 samba-7423b6a4b8aadd12fde2f348d8637099b4171848.zip |
s3-samr: fix SAMR_FIELD_PASSWORD callers.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index f5e477f668..bff168bf2f 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -3856,8 +3856,8 @@ static NTSTATUS set_user_info_23(TALLOC_CTX *mem_ctx, return NT_STATUS_ACCESS_DENIED; } - if ((id23->info.fields_present & SAMR_FIELD_PASSWORD) || - (id23->info.fields_present & SAMR_FIELD_PASSWORD2)) { + if ((id23->info.fields_present & SAMR_FIELD_NT_PASSWORD_PRESENT) || + (id23->info.fields_present & SAMR_FIELD_LM_PASSWORD_PRESENT)) { DEBUG(5, ("Attempting administrator password change (level 23) for user %s\n", pdb_get_username(pwd))); |