On Tue, 26 Aug 2014, Nels Lindquist wrote:

authentication and one for session authorization. I believe this
last one fails when you see the "error 7".

But I still need to confirm this by setting up a rhel7 machines and
test this.

I'm experiencing the same issue on CentOS6, actually.

I commented out everything in /etc/pam.d/pluto except for:

account    required    pam_permit.so
password   required    pam_permit.so
session    required    pam_permit.so

...but it didn't make any difference.  Still getting an authentication
failure:

Aug 26 14:53:42 mail pluto[16526]: XAUTH: User nels: Attempting to login
Aug 26 14:53:42 mail pluto[16526]: XAUTH: pam authentication being
called to authenticate user nels
Aug 26 14:53:44 mail pluto[16526]: XAUTH: pam_authenticate failed with
'Authentication failure'
Aug 26 14:53:44 mail pluto[16526]: XAUTH: User nels: Authentication
Failed: Incorrect Username or Password

Can you try:

#%PAM-1.0

auth include system-auth use_first_pass
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so

Paul
_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

Reply via email to