summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_samr.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-04 22:00:39 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-04 22:00:39 +0000
commit8891f8c6b9aacfa935419662c7106f5d98843af1 (patch)
treeddafe36680e72a6ef1598b0007506dd5874e14ff /source3/rpcclient/cmd_samr.c
parent89c56492a86fb02b2045182490b93f17a475f03d (diff)
downloadsamba-8891f8c6b9aacfa935419662c7106f5d98843af1.tar.gz
samba-8891f8c6b9aacfa935419662c7106f5d98843af1.tar.bz2
samba-8891f8c6b9aacfa935419662c7106f5d98843af1.zip
fixing "addgroupmem" and "enumgroups -m" commands, samr_open_group()
needed a flags fields as you get 0x0000 0010 and 0x0000 001f unknown values for different purposes, no-one's going to tell us what they are and i don't CARE! (This used to be commit aabb4b3bc5119ef317b5697ae6fcf5d36c2d474e)
Diffstat (limited to 'source3/rpcclient/cmd_samr.c')
-rw-r--r--source3/rpcclient/cmd_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index ae3ef548c6..ac9da8b2ea 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -405,7 +405,7 @@ void cmd_sam_add_groupmem(struct client_info *info)
/* connect to the domain */
res1 = res ? samr_open_group(smb_cli,
&info->dom.samr_pol_open_domain,
- group_rid, &group_pol) : False;
+ 0x0000001f, group_rid, &group_pol) : False;
while (next_token(NULL, tmp, NULL, sizeof(tmp)) && res2 && res1)
{