s3:winbind: Rename wbint_GroupMember to wbint_Principal
[Samba/aatanasov.git] / source3 / librpc / gen_ndr / wbint.h
blob825b7e406894c59482318b28c9877fac932a5d87
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/lsa.h"
8 #ifndef _HEADER_wbint
9 #define _HEADER_wbint
11 struct wbint_userinfo {
12 const char *acct_name;/* [unique,charset(UTF8)] */
13 const char *full_name;/* [unique,charset(UTF8)] */
14 const char *homedir;/* [unique,charset(UTF8)] */
15 const char *shell;/* [unique,charset(UTF8)] */
16 uint64_t primary_gid;
17 struct dom_sid user_sid;
18 struct dom_sid group_sid;
19 }/* [public] */;
21 struct wbint_SidArray {
22 uint32_t num_sids;
23 struct dom_sid *sids;/* [size_is(num_sids)] */
24 }/* [public] */;
26 struct wbint_RidArray {
27 uint32_t num_rids;
28 uint32_t *rids;/* [size_is(num_rids)] */
29 }/* [public] */;
31 struct wbint_Principal {
32 struct dom_sid sid;
33 enum lsa_SidType type;
34 const char *name;/* [unique,charset(UTF8)] */
35 }/* [public] */;
37 struct wbint_GroupMembers {
38 int32_t num_members;
39 struct wbint_Principal *members;/* [size_is(num_members)] */
40 }/* [public] */;
43 struct wbint_Ping {
44 struct {
45 uint32_t in_data;
46 } in;
48 struct {
49 uint32_t *out_data;/* [ref] */
50 } out;
55 struct wbint_LookupSid {
56 struct {
57 struct dom_sid *sid;/* [ref] */
58 } in;
60 struct {
61 enum lsa_SidType *type;/* [ref] */
62 const char **domain;/* [ref,charset(UTF8)] */
63 const char **name;/* [ref,charset(UTF8)] */
64 NTSTATUS result;
65 } out;
70 struct wbint_LookupName {
71 struct {
72 const char *domain;/* [ref,charset(UTF8)] */
73 const char *name;/* [ref,charset(UTF8)] */
74 uint32_t flags;
75 } in;
77 struct {
78 enum lsa_SidType *type;/* [ref] */
79 struct dom_sid *sid;/* [ref] */
80 NTSTATUS result;
81 } out;
86 struct wbint_Sid2Uid {
87 struct {
88 const char *dom_name;/* [unique,charset(UTF8)] */
89 struct dom_sid *sid;/* [ref] */
90 } in;
92 struct {
93 uint64_t *uid;/* [ref] */
94 NTSTATUS result;
95 } out;
100 struct wbint_Sid2Gid {
101 struct {
102 const char *dom_name;/* [unique,charset(UTF8)] */
103 struct dom_sid *sid;/* [ref] */
104 } in;
106 struct {
107 uint64_t *gid;/* [ref] */
108 NTSTATUS result;
109 } out;
114 struct wbint_Uid2Sid {
115 struct {
116 const char *dom_name;/* [unique,charset(UTF8)] */
117 uint64_t uid;
118 } in;
120 struct {
121 struct dom_sid *sid;/* [ref] */
122 NTSTATUS result;
123 } out;
128 struct wbint_Gid2Sid {
129 struct {
130 const char *dom_name;/* [unique,charset(UTF8)] */
131 uint64_t gid;
132 } in;
134 struct {
135 struct dom_sid *sid;/* [ref] */
136 NTSTATUS result;
137 } out;
142 struct wbint_QueryUser {
143 struct {
144 struct dom_sid *sid;/* [ref] */
145 } in;
147 struct {
148 struct wbint_userinfo *info;/* [ref] */
149 NTSTATUS result;
150 } out;
155 struct wbint_LookupUserAliases {
156 struct {
157 struct wbint_SidArray *sids;/* [ref] */
158 } in;
160 struct {
161 struct wbint_RidArray *rids;/* [ref] */
162 NTSTATUS result;
163 } out;
168 struct wbint_LookupUserGroups {
169 struct {
170 struct dom_sid *sid;/* [ref] */
171 } in;
173 struct {
174 struct wbint_SidArray *sids;/* [ref] */
175 NTSTATUS result;
176 } out;
181 struct wbint_QuerySequenceNumber {
182 struct {
183 uint32_t *sequence;/* [ref] */
184 NTSTATUS result;
185 } out;
190 struct wbint_LookupGroupMembers {
191 struct {
192 struct dom_sid *sid;/* [ref] */
193 enum lsa_SidType type;
194 } in;
196 struct {
197 struct wbint_GroupMembers *members;/* [ref] */
198 NTSTATUS result;
199 } out;
203 #endif /* _HEADER_wbint */