r18391: - match the samba3 protocol for UNIXINFO
[samba.git] / source4 / librpc / idl / unixinfo.idl
index a1a9283e79805f2c4ece463c7f0b5889592578b2..955e38d86b20cf1a6897ba4c508880166b2481dd 100644 (file)
@@ -1,3 +1,4 @@
+#include "idl_types.h"
 /*
   Unixinfo interface definition
 */
@@ -22,7 +23,7 @@
        /* Function: 0x01 */
        NTSTATUS unixinfo_UidToSid (
            [in]        hyper uid,
-           [out,ref]   dom_sid *sid
+           [out,unique]        dom_sid *sid
            );
 
        /******************/
        /* Function: 0x03 */
        NTSTATUS unixinfo_GidToSid (
            [in]        hyper gid,
-           [out,ref]   dom_sid *sid
+           [out,unique]        dom_sid *sid
            );
 
-    typedef struct {
-       NTSTATUS status;
-        [string,charset(UTF8)] uint8 *homedir;
-               [string,charset(UTF8)] uint8 *shell;
+       typedef struct {
+               NTSTATUS status;
+               utf8string homedir;
+               utf8string shell;
        } unixinfo_GetPWUidInfo;
 
        /******************/