r25068: Older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for every opcode on the
[Samba.git] / source / librpc / idl / unixinfo.idl
blob48bc565fff51212f686b386172c0a5fcb1ae9361
1 #include "idl_types.h"
2 /*
3 Unixinfo interface definition
4 */
6 import "security.idl";
8 [ uuid("9c54e310-a955-4885-bd31-78787147dfa6"),
9 version(0.0),
10 endpoint("ncacn_np:[\\pipe\\unixinfo]", "ncacn_ip_tcp:", "ncalrpc:"),
11 pointer_default(unique),
12 helpstring("Unixinfo specific stuff")
13 ] interface unixinfo
15 /******************/
16 /* Function: 0x00 */
17 NTSTATUS unixinfo_SidToUid (
18 [in] dom_sid sid,
19 [out] hyper *uid
22 /******************/
23 /* Function: 0x01 */
24 NTSTATUS unixinfo_UidToSid (
25 [in] hyper uid,
26 [out] dom_sid *sid
29 /******************/
30 /* Function: 0x02 */
31 NTSTATUS unixinfo_SidToGid (
32 [in] dom_sid sid,
33 [out] hyper *gid
36 /******************/
37 /* Function: 0x03 */
38 NTSTATUS unixinfo_GidToSid (
39 [in] hyper gid,
40 [out] dom_sid *sid
43 typedef struct {
44 NTSTATUS status;
45 utf8string homedir;
46 utf8string shell;
47 } unixinfo_GetPWUidInfo;
49 /******************/
50 /* Function: 0x04 */
51 NTSTATUS unixinfo_GetPWUid (
52 [in,out,ref,range(0,1023)] uint32 *count,
53 [in,size_is(*count)] hyper uids[],
54 [out,size_is(*count)] unixinfo_GetPWUidInfo infos[*]