summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/rawacl.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/raw/rawacl.c')
-rw-r--r--source4/libcli/raw/rawacl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/libcli/raw/rawacl.c b/source4/libcli/raw/rawacl.c
index 9d2068f35f..847d133173 100644
--- a/source4/libcli/raw/rawacl.c
+++ b/source4/libcli/raw/rawacl.c
@@ -77,8 +77,7 @@ NTSTATUS smb_raw_query_secdesc_recv(struct smbcli_request *req,
nt.out.data.length = IVAL(nt.out.params.data, 0);
- ndr = ndr_pull_init_blob(&nt.out.data, mem_ctx,
- lp_iconv_convenience(global_loadparm));
+ ndr = ndr_pull_init_blob(&nt.out.data, mem_ctx, NULL);
if (!ndr) {
return NT_STATUS_INVALID_PARAMETER;
}
@@ -136,7 +135,7 @@ struct smbcli_request *smb_raw_set_secdesc_send(struct smbcli_tree *tree,
nt.in.params.data = params;
nt.in.params.length = 8;
- ndr = ndr_push_init_ctx(NULL, lp_iconv_convenience(global_loadparm));
+ ndr = ndr_push_init_ctx(NULL, NULL);
if (!ndr) return NULL;
ndr_err = ndr_push_security_descriptor(ndr, NDR_SCALARS|NDR_BUFFERS, io->set_secdesc.in.sd);