diff options
author | Günther Deschner <gd@samba.org> | 2008-12-04 18:18:06 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-12-05 14:27:03 +0100 |
commit | 4bcf8edcf82d378686035e4ef451ca8ab777be4c (patch) | |
tree | 962e59fc3905e2db059efaeb9340942f795f3bb5 /source4/libnet | |
parent | 7423b6a4b8aadd12fde2f348d8637099b4171848 (diff) | |
download | samba-4bcf8edcf82d378686035e4ef451ca8ab777be4c.tar.gz samba-4bcf8edcf82d378686035e4ef451ca8ab777be4c.tar.xz samba-4bcf8edcf82d378686035e4ef451ca8ab777be4c.zip |
s4-samr: fix samr callers after SAMR_FIELD_PASSWORD change.
Guenther
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_passwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c index 80de6134b5..c2db219a06 100644 --- a/source4/libnet/libnet_passwd.c +++ b/source4/libnet/libnet_passwd.c @@ -360,7 +360,7 @@ static NTSTATUS libnet_SetPassword_samr_handle_25(struct libnet_context *ctx, TA /* prepare samr_SetUserInfo2 level 25 */ ZERO_STRUCT(u_info); u_info.info25.info = *r->samr_handle.in.info21; - u_info.info25.info.fields_present |= SAMR_FIELD_PASSWORD; + u_info.info25.info.fields_present |= SAMR_FIELD_NT_PASSWORD_PRESENT; encode_pw_buffer(u_info.info25.password.data, r->samr_handle.in.newpassword, STR_UNICODE); status = dcerpc_fetch_session_key(r->samr_handle.in.dcerpc_pipe, &session_key); @@ -451,7 +451,7 @@ static NTSTATUS libnet_SetPassword_samr_handle_23(struct libnet_context *ctx, TA /* prepare samr_SetUserInfo2 level 23 */ ZERO_STRUCT(u_info); u_info.info23.info = *r->samr_handle.in.info21; - u_info.info23.info.fields_present |= SAMR_FIELD_PASSWORD; + u_info.info23.info.fields_present |= SAMR_FIELD_NT_PASSWORD_PRESENT; encode_pw_buffer(u_info.info23.password.data, r->samr_handle.in.newpassword, STR_UNICODE); status = dcerpc_fetch_session_key(r->samr_handle.in.dcerpc_pipe, &session_key); |