summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-04 21:41:36 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-04 21:41:36 +0000
commitfe8383382d5b8221093a5340705c4e5b3731a249 (patch)
tree90a273d77990efc6ff60503fe1756e9397de3d6d /source3/rpc_client
parentcae821d45926157a250e9fa047e0c8aa8c0c2c54 (diff)
downloadsamba-fe8383382d5b8221093a5340705c4e5b3731a249.tar.gz
samba-fe8383382d5b8221093a5340705c4e5b3731a249.tar.bz2
samba-fe8383382d5b8221093a5340705c4e5b3731a249.zip
samuserset <username> -p password. YESSSSS :)
you have to use "ntlmv1" at the moment (i.e set client ntlmv2 = no). (This used to be commit f52504c553becc64b89d546a57b1bd9cf1bc5b5c)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 08a81040ef..0001f81dc8 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -306,7 +306,7 @@ BOOL get_samr_query_aliasmem(struct cli_state *cli, uint16 fnum,
/****************************************************************************
do a SAMR set user info
****************************************************************************/
-BOOL set_samr_query_userinfo(struct cli_state *cli, uint16 fnum,
+BOOL set_samr_set_userinfo(struct cli_state *cli, uint16 fnum,
POLICY_HND *pol_open_domain,
uint32 info_level,
uint32 user_rid, void *usr)
@@ -319,7 +319,7 @@ BOOL set_samr_query_userinfo(struct cli_state *cli, uint16 fnum,
/* send open domain (on user sid) */
if (!samr_open_user(cli, fnum,
pol_open_domain,
- 0x02000000, user_rid,
+ 0x000601b4, user_rid,
&pol_open_user))
{
return False;