lib: Add a few required includes
[samba4-gss.git] / librpc / idl / idmap.idl
blobe58e39210c70656f95880dbe288471f0755ade7d
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,
16 * This are internal between winbindd
17 * parent and child.
19 * It means the idmap backend/child requires a valid type_hint
20 * for wbint_Sids2UnixIDs():
22 * - ID_TYPE_UID or ID_TYPE_GID means the user/group exists
23 * - ID_TYPE_BOTH means that only the domain exist
25 ID_TYPE_WB_REQUIRE_TYPE
26 } id_type;
28 typedef [public] struct {
29 uint32 id;
30 id_type type;
31 } unixid;
33 typedef [public] enum {
34 ID_UNKNOWN,
35 ID_MAPPED,
36 ID_UNMAPPED,
37 ID_EXPIRED,
39 * This means the idmap backend requires a valid type_hint
40 * in order to map a sid to a unix id.
42 * - ID_TYPE_UID or ID_TYPE_GID means the user/group exists
43 * - ID_TYPE_BOTH means that only the domain exist
45 ID_REQUIRE_TYPE
46 } id_mapping;
48 typedef [public] struct {
49 dom_sid *sid;
50 unixid xid;
51 id_mapping status;
52 } id_map;