diff -Naur openssh-3.9p1/auth1.c openssh-3.9p1.patched2/auth1.c
--- openssh-3.9p1/auth1.c	Thu Aug 12 12:40:25 2004
+++ openssh-3.9p1.patched2/auth1.c	Fri Aug 27 15:09:52 2004
@@ -80,7 +80,7 @@
 #endif
 	    PRIVSEP(auth_password(authctxt, ""))) {
 #ifdef USE_PAM
-		if (options.use_pam && (PRIVSEP(do_pam_account())))
+		if (!options.use_pam || (PRIVSEP(do_pam_account())))
 #endif
 		{
 			auth_log(authctxt, 1, "without authentication", "");
