diff options
author | Günther Deschner <gd@samba.org> | 2005-11-22 14:29:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:30 -0500 |
commit | 2770e98aec8bcf462f1619a6506385cb4cfbc256 (patch) | |
tree | 4290fe1f348d8ed222bd22a812a89c3c48beddc4 /source3/rpcclient | |
parent | b1e8785070e0aabf847572e99a767e0e23556d96 (diff) | |
download | samba-2770e98aec8bcf462f1619a6506385cb4cfbc256.tar.gz samba-2770e98aec8bcf462f1619a6506385cb4cfbc256.tar.bz2 samba-2770e98aec8bcf462f1619a6506385cb4cfbc256.zip |
r11856: Replace unknown1 with group_attr.
Can anyone remember why we initialize groups only with 0x03 instead of 0x07 ?
Guenther
(This used to be commit 3282c7c458d390547fbaca44821eff376e8f9aaa)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index a761ea3163..7727330388 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -404,13 +404,22 @@ static void display_group_info1(GROUP_INFO1 *info1) printf("\tGroup Name:\t%s\n", temp); unistr2_to_ascii(temp, &info1->uni_acct_desc, sizeof(temp)-1); printf("\tDescription:\t%s\n", temp); - printf("\tunk1:%d\n", info1->unknown_1); + printf("\tGroup Attribute:%d\n", info1->group_attr); printf("\tNum Members:%d\n", info1->num_members); } /**************************************************************************** display group info ****************************************************************************/ +static void display_group_info3(GROUP_INFO3 *info3) +{ + printf("\tGroup Attribute:%d\n", info3->group_attr); +} + + +/**************************************************************************** + display group info + ****************************************************************************/ static void display_group_info4(GROUP_INFO4 *info4) { fstring desc; @@ -429,6 +438,10 @@ static void display_group_info_ctr(GROUP_INFO_CTR *ctr) display_group_info1(&ctr->group.info1); break; } + case 3: { + display_group_info3(&ctr->group.info3); + break; + } case 4: { display_group_info4(&ctr->group.info4); break; |