From 70f707c2196aa503909678dd891ab4b249f1241e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 11 May 2010 12:16:52 +0200 Subject: 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 --- source3/libsmb/clirap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit