diff options
author | Jean-François Micouleau <jfm@samba.org> | 2001-12-17 23:03:23 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2001-12-17 23:03:23 +0000 |
commit | 6e76486505287124eb62e32c4387a9608364a568 (patch) | |
tree | bfe60b710913ba820a0e0490dfccf41bbd661d51 /source3/libsmb | |
parent | a081ad3daed709859eacf607cf120f065bbcf0a0 (diff) | |
download | samba-6e76486505287124eb62e32c4387a9608364a568.tar.gz samba-6e76486505287124eb62e32c4387a9608364a568.tar.bz2 samba-6e76486505287124eb62e32c4387a9608364a568.zip |
there is no unknown field in LSA_SEC_QOS
some cleanup of the lsa_open_policy and lsa_open_policy2 parser. the
length fields are not correct but that's what NT send. We don't anymore
underflow or overflow the decoding.
added the domain admins group to the default SD.
we are now checking the desired access flag in the lsa_open_policy_X()
calls and in most functions also.
J.F.
(This used to be commit a217c4e4ff4d13122703d22258792fe5e8e9f02f)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/cli_lsarpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cli_lsarpc.c b/source3/libsmb/cli_lsarpc.c index ff4c4dfe30..0720cadfbd 100644 --- a/source3/libsmb/cli_lsarpc.c +++ b/source3/libsmb/cli_lsarpc.c @@ -75,7 +75,7 @@ NTSTATUS cli_lsa_open_policy(struct cli_state *cli, TALLOC_CTX *mem_ctx, /* Initialise input parameters */ if (sec_qos) { - init_lsa_sec_qos(&qos, 2, 1, 0, des_access); + init_lsa_sec_qos(&qos, 2, 1, 0); init_q_open_pol(&q, '\\', 0, des_access, &qos); } else { init_q_open_pol(&q, '\\', 0, des_access, NULL); @@ -131,7 +131,7 @@ NTSTATUS cli_lsa_open_policy2(struct cli_state *cli, TALLOC_CTX *mem_ctx, /* Initialise input parameters */ if (sec_qos) { - init_lsa_sec_qos(&qos, 2, 1, 0, des_access); + init_lsa_sec_qos(&qos, 2, 1, 0); init_q_open_pol2(&q, cli->clnt_name_slash, 0, des_access, &qos); } else { |