1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix blob used in pull_netr_AcctLockStr().

Thanks metze.

Guenther
(This used to be commit 565a30ac32)
This commit is contained in:
Günther Deschner 2008-03-28 09:56:21 +01:00
parent 06634a883e
commit fae5873cad

View File

@ -116,7 +116,7 @@ static NTSTATUS pull_netr_AcctLockStr(TALLOC_CTX *mem_ctx,
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_pull_flags_fn_t)ndr_pull_netr_AcctLockStr);