diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-18 19:02:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:52:00 -0500 |
commit | 8dd826f50026f29cf1175ce56111c4832f2d4809 (patch) | |
tree | 8375c51511c17094962aa78561d93d9dfa709033 /source3/librpc/idl/unixinfo.idl | |
parent | ab916747536df7a3ccd28299ce534825a255b4f3 (diff) | |
download | samba-8dd826f50026f29cf1175ce56111c4832f2d4809.tar.gz samba-8dd826f50026f29cf1175ce56111c4832f2d4809.tar.bz2 samba-8dd826f50026f29cf1175ce56111c4832f2d4809.zip |
r18618: * remove svn:externals
* 'make idl' now requires pidl in the current PATH
* regenerate winreg ndr files
(This used to be commit e936d39e00f07d942ce977b9a725ebe7b9e57625)
Diffstat (limited to 'source3/librpc/idl/unixinfo.idl')
-rw-r--r-- | source3/librpc/idl/unixinfo.idl | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/source3/librpc/idl/unixinfo.idl b/source3/librpc/idl/unixinfo.idl new file mode 100644 index 0000000000..086cfc7486 --- /dev/null +++ b/source3/librpc/idl/unixinfo.idl @@ -0,0 +1,56 @@ +#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), + keepref +] interface unixinfo +{ + /******************/ + /* Function: 0x00 */ + NTSTATUS unixinfo_SidToUid ( + [in] dom_sid sid, + [out,ref] hyper *uid + ); + + /******************/ + /* Function: 0x01 */ + NTSTATUS unixinfo_UidToSid ( + [in] hyper uid, + [out,unique] dom_sid *sid + ); + + /******************/ + /* Function: 0x02 */ + NTSTATUS unixinfo_SidToGid ( + [in] dom_sid sid, + [out,ref] hyper *gid + ); + + /******************/ + /* Function: 0x03 */ + NTSTATUS unixinfo_GidToSid ( + [in] hyper gid, + [out,unique] dom_sid *sid + ); + + typedef struct { + NTSTATUS status; + utf8string homedir; + utf8string 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[*] + ); +} |