# # If passwords have uppercase characters beginning at the 9th position # (counting from 1), then login from plaintext-password Win98 # mysteriously failed. # diff -dpru samba-3.0.4/source/auth/pass_check.c samba-3.0.4-HX/source/auth/pass_check.c --- samba-3.0.4/source/auth/pass_check.c 2004-04-04 09:37:32.000000000 +0200 +++ samba-3.0.4-HX/source/auth/pass_check.c 2004-09-21 16:29:33.578854360 +0200 @@ -443,10 +443,6 @@ static NTSTATUS string_combinations2(cha int i; NTSTATUS nt_status; -#ifdef PASSWORD_LENGTH - len = MIN(len, PASSWORD_LENGTH); -#endif - if (N <= 0 || offset >= len) return (fn(s));