diff options
author | Günther Deschner <gd@samba.org> | 2009-04-15 01:12:13 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-21 12:40:47 +0200 |
commit | b5bec1a6d73f5939b306e157937d027a7286163c (patch) | |
tree | d3671346d1a76065d7cf0592d4da03962e139965 /source3/utils/net_rpc_join.c | |
parent | 1df5ca6afab3aeac43dfe4773cba1b9ce4d488f5 (diff) | |
download | samba-b5bec1a6d73f5939b306e157937d027a7286163c.tar.gz samba-b5bec1a6d73f5939b306e157937d027a7286163c.tar.xz samba-b5bec1a6d73f5939b306e157937d027a7286163c.zip |
s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.
Guenther
Diffstat (limited to 'source3/utils/net_rpc_join.c')
-rw-r--r-- | source3/utils/net_rpc_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index c2e3630641a..ed0311317dc 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -211,7 +211,7 @@ int net_rpc_join_newstyle(struct net_context *c, int argc, const char **argv) CHECK_RPC_ERR(rpccli_lsa_open_policy(pipe_hnd, mem_ctx, true, - SEC_RIGHTS_MAXIMUM_ALLOWED, + SEC_FLAG_MAXIMUM_ALLOWED, &lsa_pol), "error opening lsa policy handle"); @@ -326,7 +326,7 @@ int net_rpc_join_newstyle(struct net_context *c, int argc, const char **argv) CHECK_RPC_ERR_DEBUG( rpccli_samr_OpenUser(pipe_hnd, mem_ctx, &domain_pol, - SEC_RIGHTS_MAXIMUM_ALLOWED, + SEC_FLAG_MAXIMUM_ALLOWED, user_rid, &user_pol), ("could not re-open existing user %s: %s\n", |