From: Günther Deschner Date: Tue, 11 May 2010 10:16:52 +0000 (+0200) Subject: s3-rap: fix cli_oem_change_password() and give room for the convert reply word. X-Git-Tag: samba-3.6.0pre1~2071 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70f707c2196aa503909678dd891ab4b249f1241e;p=thirdparty%2Fsamba.git 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 --- diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index 913c8d320aa..80e5a418931 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",