summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-12-27 11:27:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:39 -0500
commit2333ea56f3822d594b5f03c863e4be99ae4a625b (patch)
tree1cbd8b1d905de00d78c5cd80c5f51a5f0b5918df /source4/librpc
parent296c0d8eacc9f61810974f996982dfe6c93dfa01 (diff)
downloadsamba-2333ea56f3822d594b5f03c863e4be99ae4a625b.tar.gz
samba-2333ea56f3822d594b5f03c863e4be99ae4a625b.tar.bz2
samba-2333ea56f3822d594b5f03c863e4be99ae4a625b.zip
r4375: Implement samr_OpenAlias, samr_QueryAliasInfo and samr_SetAliasInfo. Fix IDL
for samr_SetAliasInfo. Volker (This used to be commit d70e2371903fb21e24ab2e23d04ee4b0b2ef55e5)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/samr.idl14
1 files changed, 10 insertions, 4 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 58e0601606..38e16011e1 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -480,10 +480,16 @@
samr_String description;
} samr_AliasInfoAll;
+ typedef enum {
+ AliasInfoAll = 1,
+ AliasInfoName = 2,
+ AliasInfoDescription = 3
+ } AliasInfo;
+
typedef union {
- [case(1)] samr_AliasInfoAll all;
- [case(2)] samr_String name;
- [case(3)] samr_String description;
+ [case(AliasInfoAll)] samr_AliasInfoAll all;
+ [case(AliasInfoName)] samr_String name;
+ [case(AliasInfoDescription)] samr_String description;
} samr_AliasInfo;
NTSTATUS samr_QueryAliasInfo(
@@ -497,7 +503,7 @@
NTSTATUS samr_SetAliasInfo(
[in,ref] policy_handle *alias_handle,
[in] uint16 level,
- [in,switch_is(level)] samr_AliasInfo info
+ [in,switch_is(level),ref] samr_AliasInfo *info
);
/************************/