summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-01-15 09:26:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:54 -0500
commit1057e9e2743d1b1ae857ffb42becb7587abf3d0e (patch)
tree0ccb6b96cdceb4d2fe7302ed59808bc867515f0b /source3
parent4bbfebe61255ad4c87e2ded8723bfcaab5c1fdf2 (diff)
downloadsamba-1057e9e2743d1b1ae857ffb42becb7587abf3d0e.tar.gz
samba-1057e9e2743d1b1ae857ffb42becb7587abf3d0e.tar.bz2
samba-1057e9e2743d1b1ae857ffb42becb7587abf3d0e.zip
r4751: This is a domain policy, not a user one
(This used to be commit a24df21e66aeafb15e22f9ed4df7d9dded3e3b52)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index bec94ce7a5..03b3c2134b 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -691,7 +691,7 @@ NTSTATUS cli_samr_set_aliasinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/* Query user aliases */
NTSTATUS cli_samr_query_useraliases(struct cli_state *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *user_pol, uint32 num_sids, DOM_SID2 *sid,
+ POLICY_HND *dom_pol, uint32 num_sids, DOM_SID2 *sid,
uint32 *num_aliases, uint32 **als_rids)
{
prs_struct qbuf, rbuf;
@@ -720,7 +720,7 @@ NTSTATUS cli_samr_query_useraliases(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/* Marshall data and send request */
- init_samr_q_query_useraliases(&q, user_pol, num_sids, sid_ptrs, sid);
+ init_samr_q_query_useraliases(&q, dom_pol, num_sids, sid_ptrs, sid);
if (!samr_io_q_query_useraliases("", &q, &qbuf, 0) ||
!rpc_api_pipe_req(cli, PI_SAMR, SAMR_QUERY_USERALIASES, &qbuf, &rbuf))