diff -Naur mount-cifs-3.0.30/source/client/mount.cifs.c mount-cifs-3.0.30mod/source/client/mount.cifs.c --- mount-cifs-3.0.30/source/client/mount.cifs.c 2008-06-11 10:56:52.000000000 +0200 +++ mount-cifs-3.0.30mod/source/client/mount.cifs.c 2009-02-10 07:22:01.000000000 +0100 @@ -463,7 +463,7 @@ printf("\npassword specified twice, ignoring second\n"); } else got_password = 1; - } else if (strnlen(value, 17) < 17) { + } else if (strnlen(value, 128) < 128) { if(got_password) printf("\nmount.cifs warning - password specified twice\n"); got_password = 1;