diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-06 18:04:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:43:30 -0500 |
commit | 48450d97a56b43febb3853aba8caea4dd2cdffe1 (patch) | |
tree | 2b5efb433791b7350aa35179483345288314d674 /source3/librpc/idl/unixinfo.idl | |
parent | 1a6ffd139176f7b19ed0a7acfb13354adae03062 (diff) | |
download | samba-48450d97a56b43febb3853aba8caea4dd2cdffe1.tar.gz samba-48450d97a56b43febb3853aba8caea4dd2cdffe1.tar.bz2 samba-48450d97a56b43febb3853aba8caea4dd2cdffe1.zip |
r18185: add librpc/idl and relevant IDL files from SAMBA_4_0
(This used to be commit 6da1ef0f1cf4d47c26cdb850f01a3411dfd87350)
Diffstat (limited to 'source3/librpc/idl/unixinfo.idl')
-rw-r--r-- | source3/librpc/idl/unixinfo.idl | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/source3/librpc/idl/unixinfo.idl b/source3/librpc/idl/unixinfo.idl new file mode 100644 index 0000000000..2b5b60908f --- /dev/null +++ b/source3/librpc/idl/unixinfo.idl @@ -0,0 +1,55 @@ +/* + 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] 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,ref] 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,ref,range(0,1023)] uint32 *count, + [in,size_is(*count)] hyper uids[], + [out,size_is(*count)] unixinfo_GetPWUidInfo *infos + ); +} |