diff options
author | Simo Sorce <idra@samba.org> | 2002-11-02 12:53:13 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-11-02 12:53:13 +0000 |
commit | d12baf7bf7a81cc579dc717d9592c36ad10fda38 (patch) | |
tree | 1898a91cd99a26d4560dadba4b4f11e978bdb952 /source3/utils | |
parent | b3b24fb6904770e9bb211b42c7745e85b98d9a2b (diff) | |
download | samba-d12baf7bf7a81cc579dc717d9592c36ad10fda38.tar.gz samba-d12baf7bf7a81cc579dc717d9592c36ad10fda38.tar.bz2 samba-d12baf7bf7a81cc579dc717d9592c36ad10fda38.zip |
port sec_desc headers reordering from HEAD.
Thanks to Andrew Brtlet for the diff :-)
(This used to be commit cf67981e73cf52803eae589a6b86e1274bf72d2c)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 06538797e2..ae1e8dbbac 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -2014,7 +2014,7 @@ static int rpc_trustdom_list(int argc, const char **argv) }; /* SamrConnect */ - nt_status = cli_samr_connect(cli, mem_ctx, SAMR_ACCESS_OPEN_DOMAIN, + nt_status = cli_samr_connect(cli, mem_ctx, SA_RIGHT_SAM_OPEN_DOMAIN, &connect_hnd); if (!NT_STATUS_IS_OK(nt_status)) { DEBUG(0, ("Couldn't open SAMR policy handle. Error was %s\n", @@ -2025,7 +2025,7 @@ static int rpc_trustdom_list(int argc, const char **argv) /* SamrOpenDomain - we have to open domain policy handle in order to be able to enumerate accounts*/ nt_status = cli_samr_open_domain(cli, mem_ctx, &connect_hnd, - DOMAIN_ACCESS_ENUM_ACCOUNTS, + SA_RIGHT_DOMAIN_ENUM_ACCOUNTS, &queried_dom_sid, &domain_hnd); if (!NT_STATUS_IS_OK(nt_status)) { DEBUG(0, ("Couldn't open domain object. Error was %s\n", |