1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-06 16:23:49 +03:00
Files
samba-mirror/source/librpc/idl/unixinfo.idl
Jelmer Vernooij 7596c708ba r11105: Warn if conformant arrays are not at the end of a struct
Support conformant [string] arrays
Eliminate utf8string

This breaks xattr binary compatibility with previous versions - is that a
problem?
2007-10-10 13:44:50 -05:00

57 lines
1.2 KiB
Plaintext

#include "idl_types.h"
/*
Unixinfo interface definition
*/
[ uuid("9c54e310-a955-4885-bd31-78787147dfa6"),
version(0.0),
endpoint("ncacn_np:[\\pipe\\unixinfo]", "ncacn_ip_tcp:", "ncalrpc:"),
pointer_default(unique),
helpstring("Unixinfo specific stuff"),
depends(security)
] interface unixinfo
{
/******************/
/* Function: 0x00 */
NTSTATUS unixinfo_SidToUid (
[in] dom_sid sid,
[out] hyper uid
);
/******************/
/* Function: 0x01 */
NTSTATUS unixinfo_UidToSid (
[in] hyper uid,
[out] dom_sid *sid
);
/******************/
/* Function: 0x02 */
NTSTATUS unixinfo_SidToGid (
[in] dom_sid sid,
[out] hyper gid
);
/******************/
/* Function: 0x03 */
NTSTATUS unixinfo_GidToSid (
[in] hyper gid,
[out] dom_sid *sid
);
typedef struct {
NTSTATUS status;
[string,charset(UTF8)] uint8 *homedir;
[string,charset(UTF8)] uint8 *shell;
} unixinfo_GetPWUidInfo;
/******************/
/* Function: 0x04 */
NTSTATUS unixinfo_GetPWUid (
[in,out,range(0,1023)] uint32 count,
[in,size_is(count)] hyper uids[],
[out,size_is(count)] unixinfo_GetPWUidInfo infos[]
);
}