mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
974ed9cf2c
These structures now match those in use in the source3 code. I'm not sure if this is the better API or not, but it is far, far safer to remove a pointer than to add one. Andrew Bartlett
35 lines
459 B
Plaintext
35 lines
459 B
Plaintext
#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
|
|
} id_type;
|
|
|
|
typedef [public] struct {
|
|
uint32 id;
|
|
id_type type;
|
|
} unixid;
|
|
|
|
typedef[public] enum {
|
|
ID_UNKNOWN,
|
|
ID_MAPPED,
|
|
ID_UNMAPPED,
|
|
ID_EXPIRED
|
|
} id_mapping;
|
|
|
|
typedef [public] struct {
|
|
dom_sid *sid;
|
|
unixid xid;
|
|
id_mapping status;
|
|
} id_map;
|
|
}
|