Re: [Openvpn-devel] [PATCH] Use PAM correctly

2006-10-13 Thread Roy Marples
On Friday 13 October 2006 07:03, Matthias Andree wrote: > We've needed to do the equivalent for the FreeBSD port, Michael Helmeste > was so kind as to make me aware of the issue and this possible solution. > > IOW, if you're installing on FreeBSD, use the official port in version > 2.0.6_4 and all

Re: [Openvpn-devel] [PATCH] Use PAM correctly

2006-10-12 Thread Matthias Andree
On Wed, 11 Oct 2006, Roy Marples wrote: > openvpn pam plugin does not use PAM correctly. Namely it requires a private > LinuxPAM header and links using -ldl which is Linux only. To top this off, someone would have to rewrite the Makefile so that it works with POSIX makes, too, and not just GNU m

[Openvpn-devel] [PATCH] Use PAM correctly

2006-10-11 Thread Roy Marples
Hi List! openvpn pam plugin does not use PAM correctly. Namely it requires a private LinuxPAM header and links using -ldl which is Linux only. Attached is a trivial patch that removes this private header and links using -lpam. This enables openvpn pam plugin to compile correctly on default Lin