summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2003-05-05 08:32:30 +0000
committerRafal Szczesniak <mimir@samba.org>2003-05-05 08:32:30 +0000
commit8be0f0d14553624df358d2079c451a29e32a6a95 (patch)
treeda90f4f7cd20eecb467063d5cacba1037667c8ef
parent285c595d168ff2ed7c08f2cc484daf301f4f4f9b (diff)
downloadsamba-8be0f0d14553624df358d2079c451a29e32a6a95.tar.gz
samba-8be0f0d14553624df358d2079c451a29e32a6a95.tar.bz2
samba-8be0f0d14553624df358d2079c451a29e32a6a95.zip
Turn off using lsa_qos in OpenPolicy call. This way we avoid annoying
debug msg while establishing trust and listing relations of Samba PDC. Rafal (This used to be commit 8681cbae0d142a1f9ac537cb22e611a6f5262b54)
-rw-r--r--source3/utils/net_rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index f9efe2d688..cd3cc9cfec 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -74,7 +74,7 @@ static DOM_SID *net_get_remote_domain_sid(struct cli_state *cli)
goto error;
}
- result = cli_lsa_open_policy(cli, mem_ctx, True,
+ result = cli_lsa_open_policy(cli, mem_ctx, False,
SEC_RIGHTS_MAXIMUM_ALLOWED,
&pol);
if (!NT_STATUS_IS_OK(result)) {
@@ -1933,7 +1933,7 @@ static int rpc_trustdom_list(int argc, const char **argv)
return -1;
};
- nt_status = cli_lsa_open_policy2(cli, mem_ctx, True, SEC_RIGHTS_QUERY_VALUE,
+ nt_status = cli_lsa_open_policy2(cli, mem_ctx, False, SEC_RIGHTS_QUERY_VALUE,
&connect_hnd);
if (NT_STATUS_IS_ERR(nt_status)) {
DEBUG(0, ("Couldn't open policy handle. Error was %s\n",