Re: [Swan] XAUTH: PAM auth chain failed with '7' on CentOS 7

2014-08-21 Thread Pontus Wiberg
Seems really odd, I tried it on RHEL7 as well with the same issue.. passwd file is indeed marked correctly - I changed to using crypt() passwords and it worked immediately! Thanks, I guess crypt should be fine for XAUTH, and this way I can at least finish my setup for now. If anything is needed fro

Re: [Swan] XAUTH: PAM auth chain failed with '7' on CentOS 7

2014-08-21 Thread Paul Wouters
On Thu, 21 Aug 2014, Pontus Wiberg wrote: FYI did a new setup on a Ubuntu server with no additional software but Libreswan and the requirements, a clean setup, clean ipsec.conf, getting the same error. The password is incorrectly handled by Libreswan or some dependency somewhere, same error as

Re: [Swan] XAUTH: PAM auth chain failed with '7' on CentOS 7

2014-08-21 Thread Matt Rogers
On 08/21, Pontus Wiberg wrote: > FYI did a new setup on a Ubuntu server with no additional software but > Libreswan and the requirements, a clean setup, clean ipsec.conf, getting > the same error. The password is incorrectly handled by Libreswan or some > dependency somewhere, same error as I've ha

Re: [Swan] XAUTH: PAM auth chain failed with '7' on CentOS 7

2014-08-21 Thread Pontus Wiberg
FYI did a new setup on a Ubuntu server with no additional software but Libreswan and the requirements, a clean setup, clean ipsec.conf, getting the same error. The password is incorrectly handled by Libreswan or some dependency somewhere, same error as I've had on Openswan too. Is there anything I

Re: [Swan] XAUTH: PAM auth chain failed with '7' on CentOS 7

2014-08-21 Thread Pontus Wiberg
Hi all, This below is what I get when using PAM (same as above) , the password is correct though. but as you can ssee (further) below when using xauthby=file, Libreswan interpretes the sent password as (null) even though the modecfg reports the correct number of letters in the password. Thus it is