Hi, On Wed, 16 Oct 2013 21:10:25 +0200 Gruel Bruno <b.gr...@sdnet.info> wrote: > As i thought that it's doesn't read my users file i changed the > username & password but nothing else.
Yes, the log shows the session is terminated because the passwords are mismatched. I checked by below snapshots, but I could not repeat the problem. OpenBSD 5.4-current (GENERIC) #77: Sun Oct 13 17:27:52 MDT 2013 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC OpenBSD 5.4-current (GENERIC) #66: Sun Oct 13 15:54:12 MDT 2013 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC Can you try again with below patch? I'd like to get log for debug. Index: npppd/pap.c =================================================================== RCS file: /cvs/openbsd/src/usr.sbin/npppd/npppd/pap.c,v retrieving revision 1.7 diff -u -p -r1.7 pap.c --- npppd/pap.c 18 Sep 2012 13:14:08 -0000 1.7 +++ npppd/pap.c 18 Oct 2013 04:06:27 -0000 @@ -341,7 +341,11 @@ pap_local_authenticate(pap *_this, const pap_response(_this, 1, DEFAULT_SUCCESS_MESSAGE); return; } - } + pap_log(_this, LOG_INFO, "password mismatch %s<>%s", + password, password0); + } else + pap_log(_this, LOG_INFO, "could not get password for %s", + username); pap_response(_this, 0, DEFAULT_FAILURE_MESSAGE); }