summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-02-12 09:14:35 +0000
committerAndrew Tridgell <tridge@samba.org>2003-02-12 09:14:35 +0000
commitf4f1f84a6bf1d356ccc83f0ecb135bef4a39619e (patch)
treeb49f620e9a74585b04a65e59a2f0702c96b80607 /source/rpc_client
parent9deb14a2e63fa71a05915b5ab865b8d0c11df098 (diff)
downloadsamba-f4f1f84a6bf1d356ccc83f0ecb135bef4a39619e.tar.gz
samba-f4f1f84a6bf1d356ccc83f0ecb135bef4a39619e.tar.xz
samba-f4f1f84a6bf1d356ccc83f0ecb135bef4a39619e.zip
initial server side privileges implementation, using a tdb. This needs to be hooked into pdb, and we need some access control on changing privileges. That's next
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_client/cli_lsarpc.c b/source/rpc_client/cli_lsarpc.c
index bb9f4e93846..e878d022116 100644
--- a/source/rpc_client/cli_lsarpc.c
+++ b/source/rpc_client/cli_lsarpc.c
@@ -1198,7 +1198,7 @@ NTSTATUS cli_lsa_enum_account_rights(struct cli_state *cli, TALLOC_CTX *mem_ctx,
*privs_name = (char **)talloc(mem_ctx, (*count) * sizeof(char **));
for (i=0;i<*count;i++) {
- pull_ucs2_talloc(mem_ctx, &(*privs_name)[i], r.rights.strings[i].string.buffer);
+ (*privs_name)[i] = unistr2_tdup(mem_ctx, &r.rights.strings[i].string);
}
done: