blob: e58e39210c70656f95880dbe288471f0755ade7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#include "idl_types.h"
import "security.idl";
[
pointer_default(unique)
]
interface idmap
{
typedef [public] enum {
ID_TYPE_NOT_SPECIFIED,
ID_TYPE_UID,
ID_TYPE_GID,
ID_TYPE_BOTH,
/*
* This are internal between winbindd
* parent and child.
*
* It means the idmap backend/child requires a valid type_hint
* for wbint_Sids2UnixIDs():
*
* - ID_TYPE_UID or ID_TYPE_GID means the user/group exists
* - ID_TYPE_BOTH means that only the domain exist
*/
ID_TYPE_WB_REQUIRE_TYPE
} id_type;
typedef [public] struct {
uint32 id;
id_type type;
} unixid;
typedef [public] enum {
ID_UNKNOWN,
ID_MAPPED,
ID_UNMAPPED,
ID_EXPIRED,
/*
* This means the idmap backend requires a valid type_hint
* in order to map a sid to a unix id.
*
* - ID_TYPE_UID or ID_TYPE_GID means the user/group exists
* - ID_TYPE_BOTH means that only the domain exist
*/
ID_REQUIRE_TYPE
} id_mapping;
typedef [public] struct {
dom_sid *sid;
unixid xid;
id_mapping status;
} id_map;
}
|