diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-09 08:30:29 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-09 08:30:29 +0000 |
commit | 44dfd039630b229ee4ea11b43fc4c3223f8b86ce (patch) | |
tree | 82ec0c3d8090b95ec7da3f78b7021d92762b7fea /source4/librpc/ndr/ndr_lsa.h | |
parent | 5eb907f1d4d093f79998688a00c15b907e5d249a (diff) | |
download | samba-44dfd039630b229ee4ea11b43fc4c3223f8b86ce.tar.gz samba-44dfd039630b229ee4ea11b43fc4c3223f8b86ce.tar.bz2 samba-44dfd039630b229ee4ea11b43fc4c3223f8b86ce.zip |
- added the rest of the LSA calls as stubs
- auto-generate the client calls with 'make idl'
(This used to be commit 8e52381313fc5a603b6d7e6ff090896c772096e9)
Diffstat (limited to 'source4/librpc/ndr/ndr_lsa.h')
-rw-r--r-- | source4/librpc/ndr/ndr_lsa.h | 519 |
1 files changed, 491 insertions, 28 deletions
diff --git a/source4/librpc/ndr/ndr_lsa.h b/source4/librpc/ndr/ndr_lsa.h index ddb0eed323..92f596b692 100644 --- a/source4/librpc/ndr/ndr_lsa.h +++ b/source4/librpc/ndr/ndr_lsa.h @@ -1,5 +1,66 @@ /* header auto-generated by pidl */ +struct lsa_Close { + struct { + struct policy_handle *handle; + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_Delete { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_EnumPrivs { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_QuerySecObj { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_SetSecObj { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_ChangePassword { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + struct lsa_QosInfo { uint16 impersonation_level; uint8 context_mode; @@ -28,15 +89,41 @@ struct lsa_OpenPolicy { }; -struct lsa_OpenPolicy2 { +struct lsa_QueryInfoPolicy { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_SetInfoPolicy { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_ClearAuditLog { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_CreateAccount { struct { - const char *system_name; - struct lsa_ObjectAttribute *attr; - uint32 desired_access; } in; struct { - struct policy_handle *handle; NTSTATUS result; } out; @@ -51,7 +138,7 @@ struct lsa_SidArray { struct lsa_SidPtr *sids; }; -struct lsa_EnumSids { +struct lsa_EnumAccounts { struct { struct policy_handle *handle; uint32 *resume_handle; @@ -66,21 +153,41 @@ struct lsa_EnumSids { }; +struct lsa_CreateTrustDom { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_EnumTrustDom { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + struct lsa_Name { uint16 name_len; uint16 name_size; const char *name; }; -struct lsa_TranslatedName { +struct lsa_TranslatedSid { uint16 sid_type; - struct lsa_Name name; + uint32 rid; uint32 sid_index; }; -struct lsa_TransNameArray { +struct lsa_TransSidArray { uint32 count; - struct lsa_TranslatedName *names; + struct lsa_TranslatedSid *sids; }; struct lsa_TrustInformation { @@ -94,56 +201,412 @@ struct lsa_RefDomainList { uint32 max_count; }; -struct lsa_LookupSids { +struct lsa_LookupNames { struct { struct policy_handle *handle; - struct lsa_SidArray *sids; - struct lsa_TransNameArray *names; + uint32 num_names; + struct lsa_Name *names; + struct lsa_TransSidArray *sids; uint16 level; uint32 *count; } in; struct { struct lsa_RefDomainList *domains; - struct lsa_TransNameArray *names; + struct lsa_TransSidArray *sids; uint32 *count; NTSTATUS result; } out; }; -struct lsa_TranslatedSid { +struct lsa_TranslatedName { uint16 sid_type; - uint32 rid; + struct lsa_Name name; uint32 sid_index; }; -struct lsa_TransSidArray { +struct lsa_TransNameArray { uint32 count; - struct lsa_TranslatedSid *sids; + struct lsa_TranslatedName *names; }; -struct lsa_LookupNames { +struct lsa_LookupSids { struct { struct policy_handle *handle; - uint32 num_names; - struct lsa_Name *names; - struct lsa_TransSidArray *sids; + struct lsa_SidArray *sids; + struct lsa_TransNameArray *names; uint16 level; uint32 *count; } in; struct { struct lsa_RefDomainList *domains; - struct lsa_TransSidArray *sids; + struct lsa_TransNameArray *names; uint32 *count; NTSTATUS result; } out; }; -#define DCERPC_LSA_OPENPOLICY 0 -#define DCERPC_LSA_OPENPOLICY2 1 -#define DCERPC_LSA_ENUMSIDS 2 -#define DCERPC_LSA_LOOKUPSIDS 3 -#define DCERPC_LSA_LOOKUPNAMES 4 +struct CREATESECRET { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct OPENACCOUNT { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct ENUMPRIVSACCOUNT { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct ADDPRIVS { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct REMOVEPRIVS { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct GETQUOTAS { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct SETQUOTAS { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct GETSYSTEMACCOUNT { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct SETSYSTEMACCOUNT { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct OPENTRUSTDOM { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct QUERYTRUSTDOM { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct SETINFOTRUSTDOM { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct OPENSECRET { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct SETSECRET { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct QUERYSECRET { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct LOOKUPPRIVVALUE { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct LOOKUPPRIVNAME { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct PRIV_GET_DISPNAME { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct DELETEOBJECT { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct ENUMACCTWITHRIGHT { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct ENUMACCTRIGHTS { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct ADDACCTRIGHTS { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct REMOVEACCTRIGHTS { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct QUERYTRUSTDOMINFO { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct SETTRUSTDOMINFO { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct DELETETRUSTDOM { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct STOREPRIVDATA { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct RETRPRIVDATA { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct lsa_OpenPolicy2 { + struct { + const char *system_name; + struct lsa_ObjectAttribute *attr; + uint32 desired_access; + } in; + + struct { + struct policy_handle *handle; + NTSTATUS result; + } out; + +}; + +struct UNK_GET_CONNUSER { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +struct QUERYINFO2 { + struct { + } in; + + struct { + NTSTATUS result; + } out; + +}; + +#define DCERPC_LSA_CLOSE 0 +#define DCERPC_LSA_DELETE 1 +#define DCERPC_LSA_ENUMPRIVS 2 +#define DCERPC_LSA_QUERYSECOBJ 3 +#define DCERPC_LSA_SETSECOBJ 4 +#define DCERPC_LSA_CHANGEPASSWORD 5 +#define DCERPC_LSA_OPENPOLICY 6 +#define DCERPC_LSA_QUERYINFOPOLICY 7 +#define DCERPC_LSA_SETINFOPOLICY 8 +#define DCERPC_LSA_CLEARAUDITLOG 9 +#define DCERPC_LSA_CREATEACCOUNT 10 +#define DCERPC_LSA_ENUMACCOUNTS 11 +#define DCERPC_LSA_CREATETRUSTDOM 12 +#define DCERPC_LSA_ENUMTRUSTDOM 13 +#define DCERPC_LSA_LOOKUPNAMES 14 +#define DCERPC_LSA_LOOKUPSIDS 15 +#define DCERPC_CREATESECRET 16 +#define DCERPC_OPENACCOUNT 17 +#define DCERPC_ENUMPRIVSACCOUNT 18 +#define DCERPC_ADDPRIVS 19 +#define DCERPC_REMOVEPRIVS 20 +#define DCERPC_GETQUOTAS 21 +#define DCERPC_SETQUOTAS 22 +#define DCERPC_GETSYSTEMACCOUNT 23 +#define DCERPC_SETSYSTEMACCOUNT 24 +#define DCERPC_OPENTRUSTDOM 25 +#define DCERPC_QUERYTRUSTDOM 26 +#define DCERPC_SETINFOTRUSTDOM 27 +#define DCERPC_OPENSECRET 28 +#define DCERPC_SETSECRET 29 +#define DCERPC_QUERYSECRET 30 +#define DCERPC_LOOKUPPRIVVALUE 31 +#define DCERPC_LOOKUPPRIVNAME 32 +#define DCERPC_PRIV_GET_DISPNAME 33 +#define DCERPC_DELETEOBJECT 34 +#define DCERPC_ENUMACCTWITHRIGHT 35 +#define DCERPC_ENUMACCTRIGHTS 36 +#define DCERPC_ADDACCTRIGHTS 37 +#define DCERPC_REMOVEACCTRIGHTS 38 +#define DCERPC_QUERYTRUSTDOMINFO 39 +#define DCERPC_SETTRUSTDOMINFO 40 +#define DCERPC_DELETETRUSTDOM 41 +#define DCERPC_STOREPRIVDATA 42 +#define DCERPC_RETRPRIVDATA 43 +#define DCERPC_LSA_OPENPOLICY2 44 +#define DCERPC_UNK_GET_CONNUSER 45 +#define DCERPC_QUERYINFO2 46 |