summaryrefslogtreecommitdiff
path: root/source3/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
commitfaf30e69ae0a54a770ef230c0ebae802c0a86be4 (patch)
tree2b95db3b72331eb12f4177e333355ffb3b74b41a /source3/rpc_client
parentce7db9bdcc8ed1333812b95a672e946aeb986bdc (diff)
downloadsamba-faf30e69ae0a54a770ef230c0ebae802c0a86be4.tar.gz
samba-faf30e69ae0a54a770ef230c0ebae802c0a86be4.tar.bz2
samba-faf30e69ae0a54a770ef230c0ebae802c0a86be4.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
(This used to be commit f4f1f84a6bf1d356ccc83f0ecb135bef4a39619e)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index bb9f4e9384..e878d02211 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/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: