summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-11 16:45:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:23 -0500
commitfc84f0d3ca1eadd6300bbab9405ca644167a4e03 (patch)
tree8fefc3c29a07e126009181c14ed0bbcbaf32c5a7 /source4/librpc
parente6e21ed3ad96735a221b453ab3031548cd793e18 (diff)
downloadsamba-fc84f0d3ca1eadd6300bbab9405ca644167a4e03.tar.gz
samba-fc84f0d3ca1eadd6300bbab9405ca644167a4e03.tar.bz2
samba-fc84f0d3ca1eadd6300bbab9405ca644167a4e03.zip
r18391: - match the samba3 protocol for UNIXINFO
- add a test for GidToSid metze (This used to be commit fb92643a8b64428e8259bc21fe04f876b24bfd84)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/unixinfo.idl13
1 files changed, 7 insertions, 6 deletions
diff --git a/source4/librpc/idl/unixinfo.idl b/source4/librpc/idl/unixinfo.idl
index a1a9283e79..955e38d86b 100644
--- a/source4/librpc/idl/unixinfo.idl
+++ b/source4/librpc/idl/unixinfo.idl
@@ -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
);
/******************/
@@ -36,13 +37,13 @@
/* 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;
/******************/