summaryrefslogtreecommitdiffstats
path: root/source/rpc_client/cli_samr.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-04 21:48:06 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-04 21:48:06 +0000
commit165b15a8cacc4bc7cf8cc0b9aaabb6b92cef7fdb (patch)
treef0e6ef0baa88c4f3f29fe904ca3df20145b9f90c /source/rpc_client/cli_samr.c
parenteacc5e581af2b4de24186b9be3238b352c54effe (diff)
downloadsamba-165b15a8cacc4bc7cf8cc0b9aaabb6b92cef7fdb.tar.gz
samba-165b15a8cacc4bc7cf8cc0b9aaabb6b92cef7fdb.tar.xz
samba-165b15a8cacc4bc7cf8cc0b9aaabb6b92cef7fdb.zip
- oops, i got "add alias member" and "delete alias member" swapped.
- samr_enum_dom_users, the first 4 bytes is some sort of garbage, nt5-beta2 clears them out to zeros whereas nt4 does not. fixed bug where we were assuming that the first 4 bytes of a response _had_ to be non-zero. - cli_lsarpc.c: forgot to append the rid on the lsa_lookup_names() client call. - added in "addaliasmem" and "addgroupmem" commands. the addaliasmem command actually turned out to be a "delaliasmem" :-) :-) - parse_lsa.c: moved assert array check to after the size of useable array space is set...
Diffstat (limited to 'source/rpc_client/cli_samr.c')
-rw-r--r--source/rpc_client/cli_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_client/cli_samr.c b/source/rpc_client/cli_samr.c
index 2ea7d54821b..9d3cbd22c23 100644
--- a/source/rpc_client/cli_samr.c
+++ b/source/rpc_client/cli_samr.c
@@ -861,7 +861,7 @@ BOOL samr_open_alias(struct cli_state *cli,
prs_init(&rdata, 0 , 4, SAFETY_MARGIN, True );
/* store the parameters */
- make_samr_q_open_alias(&q_o, domain_pol, 0x0008, rid);
+ make_samr_q_open_alias(&q_o, domain_pol, 0x000f001f, rid);
/* turn parameters into data stream */
samr_io_q_open_alias("", &q_o, &data, 0);