summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-23 19:01:04 +0200
committerGünther Deschner <gd@samba.org>2008-10-31 21:14:26 +0100
commit700cece822baee4824224bd707ed27370981256d (patch)
tree4e1073dc2e75dd18946d7893a91c18a059385ee4 /source3/utils
parent65eca73272ab38922b61916f2752d28e3d1dde01 (diff)
downloadsamba-700cece822baee4824224bd707ed27370981256d.tar.gz
samba-700cece822baee4824224bd707ed27370981256d.tar.bz2
samba-700cece822baee4824224bd707ed27370981256d.zip
s3-samr: remove duplicate copies of SAM server specific access rights.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index ad22a55cdb..9db755d30b 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -6113,7 +6113,7 @@ static int rpc_trustdom_list(struct net_context *c, int argc, const char **argv)
/* SamrConnect2 */
nt_status = rpccli_samr_Connect2(pipe_hnd, mem_ctx,
pipe_hnd->desthost,
- SA_RIGHT_SAM_OPEN_DOMAIN,
+ SAMR_ACCESS_OPEN_DOMAIN,
&connect_hnd);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0, ("Couldn't open SAMR policy handle. Error was %s\n",