s4:dsdb/descriptor: remove some nesting from descriptor_modify
[Samba/gebeck_regimport.git] / librpc / idl / idmap.idl
blob54fd888dcabe89442e8a1d5fe0786cd5d1542ffc
1 #include "idl_types.h"
3 import "security.idl";
6 pointer_default(unique)
8 interface idmap
10 typedef [public] enum {
11 ID_TYPE_NOT_SPECIFIED,
12 ID_TYPE_UID,
13 ID_TYPE_GID,
14 ID_TYPE_BOTH
15 } id_type;
17 typedef [public] struct {
18 uint32 id;
19 id_type type;
20 } unixid;
22 typedef [public] enum {
23 ID_UNKNOWN,
24 ID_MAPPED,
25 ID_UNMAPPED,
26 ID_EXPIRED
27 } id_mapping;
29 typedef [public] struct {
30 dom_sid *sid;
31 unixid xid;
32 id_mapping status;
33 } id_map;