summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-11 12:16:52 +0200
committerGünther Deschner <gd@samba.org>2010-05-12 00:22:13 +0200
commit70f707c2196aa503909678dd891ab4b249f1241e (patch)
treefe99b6f5b8b2f526e46e0b50667bf2e03e43443c /source3
parent99a7ebc5569e6d4d9128d17431b567516084f8a1 (diff)
downloadsamba-70f707c2196aa503909678dd891ab4b249f1241e.tar.gz
samba-70f707c2196aa503909678dd891ab4b249f1241e.tar.bz2
samba-70f707c2196aa503909678dd891ab4b249f1241e.zip
s3-rap: fix cli_oem_change_password() and give room for the convert reply word.
Any servers I could find so far return it. Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clirap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 913c8d320a..80e5a41893 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -500,7 +500,7 @@ bool cli_oem_change_password(struct cli_state *cli, const char *user, const char
PIPE_LANMAN, /* name */
0,0, /* fid, flags */
NULL,0,0, /* setup, length, max */
- param,param_len,2, /* param, length, max */
+ param,param_len,4, /* param, length, max */
(char *)data,data_len,0 /* data, length, max */
) == False) {
DEBUG(0,("cli_oem_change_password: Failed to send password change for user %s\n",