r5021: Starting to look at final code for 3.0.11rc1.
[Samba.git] / source / include / rpc_secdes.h
blob1279007220cff85b8aeefddfa5d466fda9bbe72d
1 /*
2 Unix SMB/CIFS implementation.
3 SMB parameters and setup
4 Copyright (C) Andrew Tridgell 1992-2000
5 Copyright (C) Luke Kenneth Casson Leighton 1996-2000
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #ifndef _RPC_SECDES_H /* _RPC_SECDES_H */
23 #define _RPC_SECDES_H
25 #define SEC_RIGHTS_QUERY_VALUE 0x00000001
26 #define SEC_RIGHTS_SET_VALUE 0x00000002
27 #define SEC_RIGHTS_CREATE_SUBKEY 0x00000004
28 #define SEC_RIGHTS_ENUM_SUBKEYS 0x00000008
29 #define SEC_RIGHTS_NOTIFY 0x00000010
30 #define SEC_RIGHTS_CREATE_LINK 0x00000020
31 #define SEC_RIGHTS_READ 0x00020019
32 #define SEC_RIGHTS_FULL_CONTROL 0x000f003f
33 #define SEC_RIGHTS_MAXIMUM_ALLOWED 0x02000000
35 /* for ADS */
36 #define SEC_RIGHTS_LIST_CONTENTS 0x4
37 #define SEC_RIGHTS_LIST_OBJECT 0x80
38 #define SEC_RIGHTS_READ_ALL_PROP 0x10
39 #define SEC_RIGHTS_READ_PERMS 0x20000
40 #define SEC_RIGHTS_WRITE_ALL_VALID 0x8
41 #define SEC_RIGHTS_WRITE_ALL_PROP 0x20
42 #define SEC_RIGHTS_MODIFY_OWNER 0x80000
43 #define SEC_RIGHTS_MODIFY_PERMS 0x40000
44 #define SEC_RIGHTS_CREATE_CHILD 0x1
45 #define SEC_RIGHTS_DELETE_CHILD 0x2
46 #define SEC_RIGHTS_DELETE_SUBTREE 0x40
47 #define SEC_RIGHTS_DELETE 0x10000 /* advanced/special/object/delete */
48 #define SEC_RIGHTS_EXTENDED 0x100 /* change/reset password, receive/send as*/
49 #define SEC_RIGHTS_CHANGE_PASSWD SEC_RIGHTS_EXTENDED
50 #define SEC_RIGHTS_RESET_PASSWD SEC_RIGHTS_EXTENDED
51 #define SEC_RIGHTS_FULL_CTRL 0xf01ff
53 #define SEC_ACE_OBJECT_PRESENT 0x00000001 /* thanks for Jim McDonough <jmcd@us.ibm.com> */
54 #define SEC_ACE_OBJECT_INHERITED_PRESENT 0x00000002
56 #define SEC_ACE_FLAG_OBJECT_INHERIT 0x1
57 #define SEC_ACE_FLAG_CONTAINER_INHERIT 0x2
58 #define SEC_ACE_FLAG_NO_PROPAGATE_INHERIT 0x4
59 #define SEC_ACE_FLAG_INHERIT_ONLY 0x8
60 #define SEC_ACE_FLAG_INHERITED_ACE 0x10 /* New for Windows 2000 */
61 #define SEC_ACE_FLAG_VALID_INHERIT 0xf
62 #define SEC_ACE_FLAG_SUCCESSFUL_ACCESS 0x40
63 #define SEC_ACE_FLAG_FAILED_ACCESS 0x80
65 #define SEC_ACE_TYPE_ACCESS_ALLOWED 0x0
66 #define SEC_ACE_TYPE_ACCESS_DENIED 0x1
67 #define SEC_ACE_TYPE_SYSTEM_AUDIT 0x2
68 #define SEC_ACE_TYPE_SYSTEM_ALARM 0x3
69 #define SEC_ACE_TYPE_ALLOWED_COMPOUND 0x4
70 #define SEC_ACE_TYPE_ACCESS_ALLOWED_OBJECT 0x5
71 #define SEC_ACE_TYPE_ACCESS_DENIED_OBJECT 0x6
72 #define SEC_ACE_TYPE_SYSTEM_AUDIT_OBJECT 0x7
73 #define SEC_ACE_TYPE_SYSTEM_ALARM_OBJECT 0x8
75 #define SEC_DESC_OWNER_DEFAULTED 0x0001
76 #define SEC_DESC_GROUP_DEFAULTED 0x0002
77 #define SEC_DESC_DACL_PRESENT 0x0004
78 #define SEC_DESC_DACL_DEFAULTED 0x0008
79 #define SEC_DESC_SACL_PRESENT 0x0010
80 #define SEC_DESC_SACL_DEFAULTED 0x0020
81 #define SEC_DESC_DACL_TRUSTED 0x0040
82 #define SEC_DESC_SERVER_SECURITY 0x0080
84 * New Windows 2000 bits.
86 #define SE_DESC_DACL_AUTO_INHERIT_REQ 0x0100
87 #define SE_DESC_SACL_AUTO_INHERIT_REQ 0x0200
88 #define SE_DESC_DACL_AUTO_INHERITED 0x0400
89 #define SE_DESC_SACL_AUTO_INHERITED 0x0800
90 #define SE_DESC_DACL_PROTECTED 0x1000
91 #define SE_DESC_SACL_PROTECTED 0x2000
93 /* Don't know what this means. */
94 #define SEC_DESC_RM_CONTROL_VALID 0x4000
96 #define SEC_DESC_SELF_RELATIVE 0x8000
98 /* security information */
99 #define OWNER_SECURITY_INFORMATION 0x00000001
100 #define GROUP_SECURITY_INFORMATION 0x00000002
101 #define DACL_SECURITY_INFORMATION 0x00000004
102 #define SACL_SECURITY_INFORMATION 0x00000008
103 /* Extra W2K flags. */
104 #define UNPROTECTED_SACL_SECURITY_INFORMATION 0x10000000
105 #define UNPROTECTED_DACL_SECURITY_INFORMATION 0x20000000
106 #define PROTECTED_SACL_SECURITY_INFORMATION 0x40000000
107 #define PROTECTED_DACL_SECURITY_INFORMATION 0x80000000
109 #define ALL_SECURITY_INFORMATION (OWNER_SECURITY_INFORMATION|GROUP_SECURITY_INFORMATION|\
110 DACL_SECURITY_INFORMATION|SACL_SECURITY_INFORMATION|\
111 UNPROTECTED_SACL_SECURITY_INFORMATION|\
112 UNPROTECTED_DACL_SECURITY_INFORMATION|\
113 PROTECTED_SACL_SECURITY_INFORMATION|\
114 PROTECTED_DACL_SECURITY_INFORMATION)
116 /* SEC_ACCESS */
117 typedef struct security_info_info
119 uint32 mask;
121 } SEC_ACCESS;
123 /* SEC_ACE */
124 typedef struct security_ace_info
126 uint8 type; /* xxxx_xxxx_ACE_TYPE - e.g allowed / denied etc */
127 uint8 flags; /* xxxx_INHERIT_xxxx - e.g OBJECT_INHERIT_ACE */
128 uint16 size;
130 SEC_ACCESS info;
132 /* this stuff may be present when type is XXXX_TYPE_XXXX_OBJECT */
133 uint32 obj_flags; /* xxxx_ACE_OBJECT_xxxx e.g present/inherited present etc */
134 struct uuid obj_guid; /* object GUID */
135 struct uuid inh_guid; /* inherited object GUID */
136 /* eof object stuff */
138 DOM_SID trustee;
140 } SEC_ACE;
141 #define SEC_ACE_HEADER_SIZE (2 * sizeof(uint8) + sizeof(uint16) + sizeof(uint32))
143 #ifndef ACL_REVISION
144 #define ACL_REVISION 0x3
145 #endif
147 #ifndef NT4_ACL_REVISION
148 #define NT4_ACL_REVISION 0x2
149 #endif
151 #ifndef _SEC_ACL
152 /* SEC_ACL */
153 typedef struct security_acl_info
155 uint16 revision; /* 0x0003 */
156 uint16 size; /* size in bytes of the entire ACL structure */
157 uint32 num_aces; /* number of Access Control Entries */
159 SEC_ACE *ace;
161 } SEC_ACL;
162 #define SEC_ACL_HEADER_SIZE (2 * sizeof(uint16) + sizeof(uint32))
163 #define _SEC_ACL
164 #endif
166 #ifndef SEC_DESC_REVISION
167 #define SEC_DESC_REVISION 0x1
168 #endif
170 #ifndef _SEC_DESC
171 /* SEC_DESC */
172 typedef struct security_descriptor_info
174 uint16 revision; /* 0x0001 */
175 uint16 type; /* SEC_DESC_xxxx flags */
177 uint32 off_owner_sid; /* offset to owner sid */
178 uint32 off_grp_sid ; /* offset to group sid */
179 uint32 off_sacl ; /* offset to system list of permissions */
180 uint32 off_dacl ; /* offset to list of permissions */
182 SEC_ACL *dacl; /* user ACL */
183 SEC_ACL *sacl; /* system ACL */
184 DOM_SID *owner_sid;
185 DOM_SID *grp_sid;
187 } SEC_DESC;
188 #define SEC_DESC_HEADER_SIZE (2 * sizeof(uint16) + 4 * sizeof(uint32))
189 #define _SEC_DESC
190 #endif
192 #ifndef _SEC_DESC_BUF
193 /* SEC_DESC_BUF */
194 typedef struct sec_desc_buf_info
196 uint32 max_len;
197 uint32 ptr;
198 uint32 len;
200 SEC_DESC *sec;
202 } SEC_DESC_BUF;
203 #define _SEC_DESC_BUF
204 #endif
206 /* A type to describe the mapping of generic access rights to object
207 specific access rights. */
209 typedef struct generic_mapping {
210 uint32 generic_read;
211 uint32 generic_write;
212 uint32 generic_execute;
213 uint32 generic_all;
214 } GENERIC_MAPPING;
216 typedef struct standard_mapping {
217 uint32 std_read;
218 uint32 std_write;
219 uint32 std_execute;
220 uint32 std_all;
221 } STANDARD_MAPPING;
224 /* Security Access Masks Rights */
226 #define SPECIFIC_RIGHTS_MASK 0x0000FFFF
227 #define STANDARD_RIGHTS_MASK 0x00FF0000
228 #define GENERIC_RIGHTS_MASK 0xF0000000
230 #define SEC_RIGHT_SYSTEM_SECURITY 0x01000000
231 #define SEC_RIGHT_MAXIMUM_ALLOWED 0x02000000
233 /* Generic access rights */
235 #define GENERIC_RIGHT_ALL_ACCESS 0x10000000
236 #define GENERIC_RIGHT_EXECUTE_ACCESS 0x20000000
237 #define GENERIC_RIGHT_WRITE_ACCESS 0x40000000
238 #define GENERIC_RIGHT_READ_ACCESS 0x80000000
240 /* Standard access rights. */
242 #define STD_RIGHT_DELETE_ACCESS 0x00010000
243 #define STD_RIGHT_READ_CONTROL_ACCESS 0x00020000
244 #define STD_RIGHT_WRITE_DAC_ACCESS 0x00040000
245 #define STD_RIGHT_WRITE_OWNER_ACCESS 0x00080000
246 #define STD_RIGHT_SYNCHRONIZE_ACCESS 0x00100000
248 #define STD_RIGHT_ALL_ACCESS 0x001F0000
250 /* Combinations of standard masks. */
251 #define STANDARD_RIGHTS_ALL_ACCESS STD_RIGHT_ALL_ACCESS /* 0x001f0000 */
252 #define STANDARD_RIGHTS_EXECUTE_ACCESS STD_RIGHT_READ_CONTROL_ACCESS /* 0x00020000 */
253 #define STANDARD_RIGHTS_READ_ACCESS STD_RIGHT_READ_CONTROL_ACCESS /* 0x00020000 */
254 #define STANDARD_RIGHTS_WRITE_ACCESS STD_RIGHT_READ_CONTROL_ACCESS /* 0x00020000 */
255 #define STANDARD_RIGHTS_REQUIRED_ACCESS \
256 (STD_RIGHT_DELETE_ACCESS | \
257 STD_RIGHT_READ_CONTROL_ACCESS | \
258 STD_RIGHT_WRITE_DAC_ACCESS | \
259 STD_RIGHT_WRITE_OWNER_ACCESS) /* 0x000f0000 */
261 /* File Object specific access rights */
263 #define SA_RIGHT_FILE_READ_DATA 0x00000001
264 #define SA_RIGHT_FILE_WRITE_DATA 0x00000002
265 #define SA_RIGHT_FILE_APPEND_DATA 0x00000004
266 #define SA_RIGHT_FILE_READ_EA 0x00000008
267 #define SA_RIGHT_FILE_WRITE_EA 0x00000010
268 #define SA_RIGHT_FILE_EXECUTE 0x00000020
269 #define SA_RIGHT_FILE_DELETE_CHILD 0x00000040
270 #define SA_RIGHT_FILE_READ_ATTRIBUTES 0x00000080
271 #define SA_RIGHT_FILE_WRITE_ATTRIBUTES 0x00000100
273 #define SA_RIGHT_FILE_ALL_ACCESS 0x000001FF
275 #define GENERIC_RIGHTS_FILE_ALL_ACCESS \
276 (STANDARD_RIGHTS_REQUIRED_ACCESS| \
277 STD_RIGHT_SYNCHRONIZE_ACCESS | \
278 SA_RIGHT_FILE_ALL_ACCESS)
280 #define GENERIC_RIGHTS_FILE_READ \
281 (STANDARD_RIGHTS_READ_ACCESS | \
282 STD_RIGHT_SYNCHRONIZE_ACCESS | \
283 SA_RIGHT_FILE_READ_DATA | \
284 SA_RIGHT_FILE_READ_ATTRIBUTES | \
285 SA_RIGHT_FILE_READ_EA)
287 #define GENERIC_RIGHTS_FILE_WRITE \
288 (STANDARD_RIGHTS_WRITE_ACCESS | \
289 STD_RIGHT_SYNCHRONIZE_ACCESS | \
290 SA_RIGHT_FILE_WRITE_DATA | \
291 SA_RIGHT_FILE_WRITE_ATTRIBUTES | \
292 SA_RIGHT_FILE_WRITE_EA | \
293 SA_RIGHT_FILE_APPEND_DATA)
295 #define GENERIC_RIGHTS_FILE_EXECUTE \
296 (STANDARD_RIGHTS_EXECUTE_ACCESS | \
297 SA_RIGHT_FILE_READ_ATTRIBUTES | \
298 SA_RIGHT_FILE_EXECUTE)
301 /* SAM server specific access rights */
303 #define SA_RIGHT_SAM_CONNECT_SERVER 0x00000001
304 #define SA_RIGHT_SAM_SHUTDOWN_SERVER 0x00000002
305 #define SA_RIGHT_SAM_INITIALISE_SERVER 0x00000004
306 #define SA_RIGHT_SAM_CREATE_DOMAIN 0x00000008
307 #define SA_RIGHT_SAM_ENUM_DOMAINS 0x00000010
308 #define SA_RIGHT_SAM_OPEN_DOMAIN 0x00000020
310 #define SA_RIGHT_SAM_ALL_ACCESS 0x0000003F
312 #define GENERIC_RIGHTS_SAM_ALL_ACCESS \
313 (STANDARD_RIGHTS_REQUIRED_ACCESS| \
314 SA_RIGHT_SAM_ALL_ACCESS)
316 #define GENERIC_RIGHTS_SAM_READ \
317 (STANDARD_RIGHTS_READ_ACCESS | \
318 SA_RIGHT_SAM_ENUM_DOMAINS)
320 #define GENERIC_RIGHTS_SAM_WRITE \
321 (STANDARD_RIGHTS_WRITE_ACCESS | \
322 SA_RIGHT_SAM_CREATE_DOMAIN | \
323 SA_RIGHT_SAM_INITIALISE_SERVER | \
324 SA_RIGHT_SAM_SHUTDOWN_SERVER)
326 #define GENERIC_RIGHTS_SAM_EXECUTE \
327 (STANDARD_RIGHTS_EXECUTE_ACCESS | \
328 SA_RIGHT_SAM_OPEN_DOMAIN | \
329 SA_RIGHT_SAM_CONNECT_SERVER)
332 /* Domain Object specific access rights */
334 #define SA_RIGHT_DOMAIN_LOOKUP_INFO_1 0x00000001
335 #define SA_RIGHT_DOMAIN_SET_INFO_1 0x00000002
336 #define SA_RIGHT_DOMAIN_LOOKUP_INFO_2 0x00000004
337 #define SA_RIGHT_DOMAIN_SET_INFO_2 0x00000008
338 #define SA_RIGHT_DOMAIN_CREATE_USER 0x00000010
339 #define SA_RIGHT_DOMAIN_CREATE_GROUP 0x00000020
340 #define SA_RIGHT_DOMAIN_CREATE_ALIAS 0x00000040
341 #define SA_RIGHT_DOMAIN_LOOKUP_ALIAS_BY_MEM 0x00000080
342 #define SA_RIGHT_DOMAIN_ENUM_ACCOUNTS 0x00000100
343 #define SA_RIGHT_DOMAIN_OPEN_ACCOUNT 0x00000200
344 #define SA_RIGHT_DOMAIN_SET_INFO_3 0x00000400
346 #define SA_RIGHT_DOMAIN_ALL_ACCESS 0x000007FF
348 #define GENERIC_RIGHTS_DOMAIN_ALL_ACCESS \
349 (STANDARD_RIGHTS_REQUIRED_ACCESS| \
350 SA_RIGHT_DOMAIN_ALL_ACCESS)
352 #define GENERIC_RIGHTS_DOMAIN_READ \
353 (STANDARD_RIGHTS_READ_ACCESS | \
354 SA_RIGHT_DOMAIN_LOOKUP_ALIAS_BY_MEM | \
355 SA_RIGHT_DOMAIN_LOOKUP_INFO_2)
357 #define GENERIC_RIGHTS_DOMAIN_WRITE \
358 (STANDARD_RIGHTS_WRITE_ACCESS | \
359 SA_RIGHT_DOMAIN_SET_INFO_3 | \
360 SA_RIGHT_DOMAIN_CREATE_ALIAS | \
361 SA_RIGHT_DOMAIN_CREATE_GROUP | \
362 SA_RIGHT_DOMAIN_CREATE_USER | \
363 SA_RIGHT_DOMAIN_SET_INFO_2 | \
364 SA_RIGHT_DOMAIN_SET_INFO_1)
366 #define GENERIC_RIGHTS_DOMAIN_EXECUTE \
367 (STANDARD_RIGHTS_EXECUTE_ACCESS | \
368 SA_RIGHT_DOMAIN_OPEN_ACCOUNT | \
369 SA_RIGHT_DOMAIN_ENUM_ACCOUNTS | \
370 SA_RIGHT_DOMAIN_LOOKUP_INFO_1)
373 /* User Object specific access rights */
375 #define SA_RIGHT_USER_GET_NAME_ETC 0x00000001
376 #define SA_RIGHT_USER_GET_LOCALE 0x00000002
377 #define SA_RIGHT_USER_SET_LOC_COM 0x00000004
378 #define SA_RIGHT_USER_GET_LOGONINFO 0x00000008
379 #define SA_RIGHT_USER_ACCT_FLAGS_EXPIRY 0x00000010
380 #define SA_RIGHT_USER_SET_ATTRIBUTES 0x00000020
381 #define SA_RIGHT_USER_CHANGE_PASSWORD 0x00000040
382 #define SA_RIGHT_USER_SET_PASSWORD 0x00000080
383 #define SA_RIGHT_USER_GET_GROUPS 0x00000100
384 #define SA_RIGHT_USER_READ_GROUP_MEM 0x00000200
385 #define SA_RIGHT_USER_CHANGE_GROUP_MEM 0x00000400
387 #define SA_RIGHT_USER_ALL_ACCESS 0x000007FF
389 #define GENERIC_RIGHTS_USER_ALL_ACCESS \
390 (STANDARD_RIGHTS_REQUIRED_ACCESS| \
391 SA_RIGHT_USER_ALL_ACCESS) /* 0x000f07ff */
393 #define GENERIC_RIGHTS_USER_READ \
394 (STANDARD_RIGHTS_READ_ACCESS | \
395 SA_RIGHT_USER_READ_GROUP_MEM | \
396 SA_RIGHT_USER_GET_GROUPS | \
397 SA_RIGHT_USER_ACCT_FLAGS_EXPIRY | \
398 SA_RIGHT_USER_GET_LOGONINFO | \
399 SA_RIGHT_USER_GET_LOCALE) /* 0x0002031a */
401 #define GENERIC_RIGHTS_USER_WRITE \
402 (STANDARD_RIGHTS_WRITE_ACCESS | \
403 SA_RIGHT_USER_CHANGE_PASSWORD | \
404 SA_RIGHT_USER_SET_LOC_COM | \
405 SA_RIGHT_USER_SET_ATTRIBUTES | \
406 SA_RIGHT_USER_SET_PASSWORD | \
407 SA_RIGHT_USER_CHANGE_GROUP_MEM) /* 0x000204e4 */
409 #define GENERIC_RIGHTS_USER_EXECUTE \
410 (STANDARD_RIGHTS_EXECUTE_ACCESS | \
411 SA_RIGHT_USER_CHANGE_PASSWORD | \
412 SA_RIGHT_USER_GET_NAME_ETC ) /* 0x00020041 */
415 /* Group Object specific access rights */
417 #define SA_RIGHT_GROUP_LOOKUP_INFO 0x00000001
418 #define SA_RIGHT_GROUP_SET_INFO 0x00000002
419 #define SA_RIGHT_GROUP_ADD_MEMBER 0x00000004
420 #define SA_RIGHT_GROUP_REMOVE_MEMBER 0x00000008
421 #define SA_RIGHT_GROUP_GET_MEMBERS 0x00000010
423 #define SA_RIGHT_GROUP_ALL_ACCESS 0x0000001F
425 #define GENERIC_RIGHTS_GROUP_ALL_ACCESS \
426 (STANDARD_RIGHTS_REQUIRED_ACCESS| \
427 SA_RIGHT_GROUP_ALL_ACCESS) /* 0x000f001f */
429 #define GENERIC_RIGHTS_GROUP_READ \
430 (STANDARD_RIGHTS_READ_ACCESS | \
431 SA_RIGHT_GROUP_GET_MEMBERS) /* 0x00020010 */
433 #define GENERIC_RIGHTS_GROUP_WRITE \
434 (STANDARD_RIGHTS_WRITE_ACCESS | \
435 SA_RIGHT_GROUP_REMOVE_MEMBER | \
436 SA_RIGHT_GROUP_ADD_MEMBER | \
437 SA_RIGHT_GROUP_SET_INFO ) /* 0x0002000e */
439 #define GENERIC_RIGHTS_GROUP_EXECUTE \
440 (STANDARD_RIGHTS_EXECUTE_ACCESS | \
441 SA_RIGHT_GROUP_LOOKUP_INFO) /* 0x00020001 */
444 /* Alias Object specific access rights */
446 #define SA_RIGHT_ALIAS_ADD_MEMBER 0x00000001
447 #define SA_RIGHT_ALIAS_REMOVE_MEMBER 0x00000002
448 #define SA_RIGHT_ALIAS_GET_MEMBERS 0x00000004
449 #define SA_RIGHT_ALIAS_LOOKUP_INFO 0x00000008
450 #define SA_RIGHT_ALIAS_SET_INFO 0x00000010
452 #define SA_RIGHT_ALIAS_ALL_ACCESS 0x0000001F
454 #define GENERIC_RIGHTS_ALIAS_ALL_ACCESS \
455 (STANDARD_RIGHTS_REQUIRED_ACCESS| \
456 SA_RIGHT_ALIAS_ALL_ACCESS) /* 0x000f001f */
458 #define GENERIC_RIGHTS_ALIAS_READ \
459 (STANDARD_RIGHTS_READ_ACCESS | \
460 SA_RIGHT_ALIAS_GET_MEMBERS ) /* 0x00020004 */
462 #define GENERIC_RIGHTS_ALIAS_WRITE \
463 (STANDARD_RIGHTS_WRITE_ACCESS | \
464 SA_RIGHT_ALIAS_REMOVE_MEMBER | \
465 SA_RIGHT_ALIAS_ADD_MEMBER | \
466 SA_RIGHT_ALIAS_SET_INFO ) /* 0x00020013 */
468 #define GENERIC_RIGHTS_ALIAS_EXECUTE \
469 (STANDARD_RIGHTS_EXECUTE_ACCESS | \
470 SA_RIGHT_ALIAS_LOOKUP_INFO ) /* 0x00020008 */
472 #endif /* _RPC_SECDES_H */