mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Fix blob used in pull_netr_AcctLockStr().
Thanks metze.
Guenther
(This used to be commit 565a30ac32
)
This commit is contained in:
parent
06634a883e
commit
fae5873cad
@ -116,7 +116,7 @@ static NTSTATUS pull_netr_AcctLockStr(TALLOC_CTX *mem_ctx,
|
|||||||
return NT_STATUS_NO_MEMORY;
|
return NT_STATUS_NO_MEMORY;
|
||||||
}
|
}
|
||||||
|
|
||||||
blob = data_blob_const(r->string, r->length*2);
|
blob = data_blob_const(r->array, r->length);
|
||||||
|
|
||||||
ndr_err = ndr_pull_struct_blob(&blob, mem_ctx, str,
|
ndr_err = ndr_pull_struct_blob(&blob, mem_ctx, str,
|
||||||
(ndr_pull_flags_fn_t)ndr_pull_netr_AcctLockStr);
|
(ndr_pull_flags_fn_t)ndr_pull_netr_AcctLockStr);
|
||||||
|
Loading…
Reference in New Issue
Block a user