Some progress: I compiled it with the right CFLAGS. Version 0.6.4 produces a nm-pptp-auth-dialog binary instead of nm-ppp-auth-dialog from the previous version. Was it renamed?
If I run the test given by onlymee earlier in the thread, but with the new filename, I get:
$ /usr/libexec/nm-pptp-auth-dialog -s org.freedesktop.NetworkManager.ppp_starter -n "Test Connection"
This dialog works only with the 'org.freedesktop.NetworkManager.pptp' service.
Using this instead:
$ /usr/libexec/nm-pptp-auth-dialog -s org.freedesktop.NetworkManager.pptp -n "Test Connection"
outputs the username and password in stdout correctly (no segfault). The program doesn't terminate at all, though -- it keeps the dialog open until I give it Ctrl-C; is this intended?
Executive summary: segfault is gone with the two patches to main.c and gnome-two-password-dialog.c applied to NetworkManager-0.6.4/vpn-daemons/pptp/. Removing the second patch brings it back again. This is on AMD64.
Some progress: I compiled it with the right CFLAGS. Version 0.6.4 produces a nm-pptp-auth-dialog binary instead of nm-ppp-auth-dialog from the previous version. Was it renamed?
If I run the test given by onlymee earlier in the thread, but with the new filename, I get:
$ /usr/libexec/ nm-pptp- auth-dialog -s org.freedesktop .NetworkManager .ppp_starter -n "Test Connection" p.NetworkManage r.pptp' service.
This dialog works only with the 'org.freedeskto
Using this instead: nm-pptp- auth-dialog -s org.freedesktop .NetworkManager .pptp -n "Test Connection"
$ /usr/libexec/
outputs the username and password in stdout correctly (no segfault). The program doesn't terminate at all, though -- it keeps the dialog open until I give it Ctrl-C; is this intended?
Executive summary: segfault is gone with the two patches to main.c and gnome-two- password- dialog. c applied to NetworkManager- 0.6.4/vpn- daemons/ pptp/. Removing the second patch brings it back again. This is on AMD64.