diff options
Diffstat (limited to 'source3/client/clientutil.c')
-rw-r--r-- | source3/client/clientutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clientutil.c b/source3/client/clientutil.c index ed5497782b..01b4a09321 100644 --- a/source3/client/clientutil.c +++ b/source3/client/clientutil.c @@ -460,7 +460,7 @@ BOOL cli_send_login(char *inbuf, char *outbuf, BOOL start_session, BOOL use_setu /* send a session setup command */ bzero(outbuf,smb_size); - if (passlen > MAX_PASSWORD_LENGTH) { + if (passlen > MAX_PASS_LEN) { DEBUG(1,("password too long %d\n", passlen)); return False; } |