summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-18 20:56:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:59 -0500
commitd8df6d1a81f8e274352fb0269e5f5a86453b25d2 (patch)
tree6368aa96d5e05c5672347b9a79e973b31660ed1a /source4
parent219490ea6e861087a6328d7f4e6c100a679b29ed (diff)
downloadsamba-d8df6d1a81f8e274352fb0269e5f5a86453b25d2.tar.gz
samba-d8df6d1a81f8e274352fb0269e5f5a86453b25d2.tar.bz2
samba-d8df6d1a81f8e274352fb0269e5f5a86453b25d2.zip
r18635: Make sure to display samr_GroupAttrs in samr_DispInfo for groups instead
of interpreting them as samr_AcctFlags. Guenther (This used to be commit ed02c1afc82391f5aeb7caa9a6cd942b1b95e630)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/samr.idl15
1 files changed, 14 insertions, 1 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 8ee31f8655..a3470ef78c 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -880,6 +880,19 @@
typedef struct {
uint32 idx;
+ uint32 rid;
+ samr_GroupAttrs acct_flags;
+ lsa_String account_name;
+ lsa_String description;
+ } samr_DispEntryFullGroup;
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] samr_DispEntryFullGroup *entries;
+ } samr_DispInfoFullGroups;
+
+ typedef struct {
+ uint32 idx;
lsa_AsciiString account_name;
} samr_DispEntryAscii;
@@ -891,7 +904,7 @@
typedef [switch_type(uint16)] union {
[case(1)] samr_DispInfoGeneral info1;/* users */
[case(2)] samr_DispInfoFull info2; /* trust accounts? */
- [case(3)] samr_DispInfoFull info3; /* groups */
+ [case(3)] samr_DispInfoFullGroups info3; /* groups */
[case(4)] samr_DispInfoAscii info4; /* users */
[case(5)] samr_DispInfoAscii info5; /* groups */
} samr_DispInfo;