summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-01-28 21:31:45 +0000
committerAndrew Tridgell <tridge@samba.org>2003-01-28 21:31:45 +0000
commit79b26867c0ff712e9400f06fdb0a65bcb5e668b7 (patch)
tree9a5cf66cb51cf255321d3e3d419bfe1d1552d4b1 /source3/include
parent4571637a4bdd0d63367186f5612e49934fe568f6 (diff)
downloadsamba-79b26867c0ff712e9400f06fdb0a65bcb5e668b7.tar.gz
samba-79b26867c0ff712e9400f06fdb0a65bcb5e668b7.tar.bz2
samba-79b26867c0ff712e9400f06fdb0a65bcb5e668b7.zip
added LsaRemoveAccountRights
this now gives us complete remove privileges control in the client libs, so we are in good shape for starting on the server side. (This used to be commit bf99440398db86f46233eb2f5adddffb61280a1b)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/rpc_lsa.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h
index 78dbae4cdf..33dde6e3cb 100644
--- a/source3/include/rpc_lsa.h
+++ b/source3/include/rpc_lsa.h
@@ -516,14 +516,14 @@ typedef struct lsa_r_enum_privs
} LSA_R_ENUM_PRIVS;
/* LSA_Q_ENUM_ACCT_RIGHTS - LSA enum account rights */
-typedef struct lsa_q_enum_acct_rights
+typedef struct
{
POLICY_HND pol; /* policy handle */
DOM_SID2 sid;
} LSA_Q_ENUM_ACCT_RIGHTS;
/* LSA_R_ENUM_ACCT_RIGHTS - LSA enum account rights */
-typedef struct lsa_r_enum_acct_rights
+typedef struct
{
uint32 count;
UNISTR2_ARRAY rights;
@@ -541,12 +541,29 @@ typedef struct
} LSA_Q_ADD_ACCT_RIGHTS;
/* LSA_R_ADD_ACCT_RIGHTS - LSA add account rights */
-typedef struct lsa_r_add_acct_rights
+typedef struct
{
NTSTATUS status;
} LSA_R_ADD_ACCT_RIGHTS;
+/* LSA_Q_REMOVE_ACCT_RIGHTS - LSA remove account rights */
+typedef struct
+{
+ POLICY_HND pol; /* policy handle */
+ DOM_SID2 sid;
+ uint32 removeall;
+ UNISTR2_ARRAY rights;
+ uint32 count;
+} LSA_Q_REMOVE_ACCT_RIGHTS;
+
+/* LSA_R_REMOVE_ACCT_RIGHTS - LSA remove account rights */
+typedef struct
+{
+ NTSTATUS status;
+} LSA_R_REMOVE_ACCT_RIGHTS;
+
+
/* LSA_Q_PRIV_GET_DISPNAME - LSA get privilege display name */
typedef struct lsa_q_priv_get_dispname
{