summaryrefslogtreecommitdiff
path: root/librpc/idl/unixinfo.idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-15 01:23:36 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-15 01:23:36 +0200
commit45f97c4614e9fe7d4828eb47e32ebe0ba03893b5 (patch)
tree60cd82cb2717180b19dabb6a8f60de6e0484d1f9 /librpc/idl/unixinfo.idl
parent7f24027e024bc56cb95b76ee0f9838d609e903cb (diff)
downloadsamba-45f97c4614e9fe7d4828eb47e32ebe0ba03893b5.tar.gz
samba-45f97c4614e9fe7d4828eb47e32ebe0ba03893b5.tar.bz2
samba-45f97c4614e9fe7d4828eb47e32ebe0ba03893b5.zip
Move shared DCE/RPC IDL files to root IDL dir.
Diffstat (limited to 'librpc/idl/unixinfo.idl')
-rw-r--r--librpc/idl/unixinfo.idl56
1 files changed, 56 insertions, 0 deletions
diff --git a/librpc/idl/unixinfo.idl b/librpc/idl/unixinfo.idl
new file mode 100644
index 0000000000..6929e86e61
--- /dev/null
+++ b/librpc/idl/unixinfo.idl
@@ -0,0 +1,56 @@
+#include "idl_types.h"
+/*
+ Unixinfo interface definition
+*/
+
+import "security.idl";
+
+[ 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")
+] 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;
+ [charset(UTF8),string] uint8 homedir[];
+ [charset(UTF8),string] uint8 shell[];
+ } unixinfo_GetPWUidInfo;
+
+ /******************/
+ /* Function: 0x04 */
+ NTSTATUS unixinfo_GetPWUid (
+ [in,out,ref,range(0,1023)] uint32 *count,
+ [in,size_is(*count)] hyper uids[],
+ [out,size_is(*count)] unixinfo_GetPWUidInfo infos[*]
+ );
+}