Add allow_badcharcnv argument to all conversion function, for
[jra/samba/.git] / source4 / auth / ntlm / ntlm_check.c
index a3ac7f3347881e96ab37b14e7e45945804523afd..5298432e617d341de74f9888072e4cd4ffe18122 100644 (file)
@@ -323,7 +323,7 @@ NTSTATUS ntlm_password_check(TALLOC_CTX *mem_ctx,
                if (lm_response->length && 
                    (convert_string_talloc(mem_ctx, CH_DOS, CH_UNIX, 
                                          lm_response->data, lm_response->length, 
-                                          (void **)&unix_pw) != -1)) {
+                                          (void **)&unix_pw, false) != -1)) {
                        if (E_deshash(unix_pw, client_lm.hash)) {
                                lm_ok = true;
                        } else {