Re: knetworkmanager does not request vpnc user password



On Wed, 2010-02-17 at 21:12 +0300, Andrey Borzenkov wrote:
> I try to setup VPN connection using vpnc. Versions are: 
> 
> {pts/1}% rpm -qa \*networkmanager\*
> knetworkmanager-debug-0.9-0.r1084746.1mdv2010.1
> networkmanager-vpnc-debug-0.7.999-1mdv2010.1
> networkmanager-applet-0.7.999-1.git20100122.2mdv2010.1
> networkmanager-debug-0.7.999-3mdv2010.1
> knetworkmanager-common-0.9-0.r1084746.1mdv2010.1
> knetworkmanager-vpnc-0.9-0.r1084746.1mdv2010.1
> networkmanager-0.7.999-3mdv2010.1
> kde-solid-networkmanager-4.4-0.r1084249.1mdv2010.1
> kde-solid-networkmanager-debug-4.4-0.r1084249.1mdv2010.1
> knetworkmanager-0.9-0.r1084746.1mdv2010.1
> networkmanager-vpnc-0.7.999-1mdv2010.1
> 
> 
> Connection request always fails; in (strace-)logs I see that vpnc fails 
> with:
> 
> 3422  write(2, "/usr/sbin/vpnc: ", 16)  = 16
> 3422  write(2, "missing Xauth password", 22) = 22
> 
> I can't set fixed password in configuration because service is using 
> OTP; in connection definition user password is set to Always ask. Still 
> I never get any password request.

Interesting; this also depends on knetworkmanager doing the right thing
when NM asks for the secrets for the VPN.  Any chance you can run
'strace -p <pidof knetworkmanager process>' and then hit connect and
wait for it to fail, then send the strace log?  That may allow us to
figure out what's going on.

> Looking for advice where to look further (I am new to NM); is it known 
> problem or local packaging issue?

It's not a known issue, but the knetworkmanager bits are developed by
the KDE project, so people on this list aren't as familiar with them.
It might also make sense to ask there and see as well.  Until then, the
strace might help us get closer.

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]