Red Hat Bugzilla – Bug 333321
vpnc will not accept password and authenticate
Last modified: 2008-04-03 04:48:19 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Every time I try to use this, I get authentication unsuccessful
Steps to Reproduce:
1.Create the conf file for access
2.Try to vpnc using that conf file
3.Password within conf file is not accepted. It asks for the password two more
times and then fails stating that authentication was unsuccessful.
I can use the same conf file in fedora 6 and it connects fine. With the conf
file in fedora 7, I get the error described above.
I need to be able to use the vpnc with fedora 7.
How does your /etc/vpnc/default.conf look like? Of course without the actual
password and IPsec secrets.
IPSec gateway <ipaddress entered here>
IPSec ID <id entered here>
IPSec secret <secret entered here>
Domain <our domain here>
# your username goes here:
Xauth username <vpnUserName>
Xauth password <vpnPassword>
I have information entered in all of these fields that works everywhere except
Is it possible that you don't have a one and only one space character between
'Xauth password' and the actual password?
I cannot reproduce the problem.
No, I have exactly one space between the Xauth password and my password. I have
tried commenting out the password so I have to manually enter it as well and
still get the same response. It asks me to enter it twice and then says
There are a couple of us that are having this issue. We have tried everything
we can think of and searched for similar problems and cannot find it. There are
multiple personnel with vpn accounts, but most of them use windows and a couple
use fedora 6, and they can connect without issue.
So even entering the password manually doesn't help. Can you try to recompile
whether it helps?
I am not overly familiar with compiling from source. Can you provide a few
details for how to get started? I tried the following:
rpm -ivh vpnc-0.5.1-1.fc8.src.rpm
After adding kojibuilder user and group, I was able to get this process to
complete, but it does not create a folder that I can locate to run the
configure, make and make install commands.
Any advice you can provide for getting this started would be helpful and then I
will try to see if this solves the authentication problem.
You can download the binary rpms from koji. I did a scratch build of the F8
package for Fedora 7.
I get the same response with the updated version . I had someone else try it as
well, and the same result. It acts like it connects, just does not authenticate
the Xauth password - which we know is valid since the same password works with
fc6. Here is the version information.
vpnc version 0.5.1
Copyright (C) 2002-2006 Geoffrey Keating, Maurice Massar, others
vpnc comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of vpnc under the terms of the GNU General
Public License. For more information about these matters, see the files
Built without openssl (certificate) support.
Supported DH-Groups: nopfs dh1 dh2 dh5
Supported Hash-Methods: md5 sha1
Supported Encryptions: null des 3des aes128 aes192 aes256
Supported Auth-Methods: psk psk+xauth
Can you please report this issue on the upstream mailing list?