s3-smbd: Added a become_user_by_session() function.
[Samba.git] / librpc / idl / idmap.idl
blob65e4596adfa147b6b7fb36c08e27a3d92e7ba0d9
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;