auth-user-pass only works in i386 version
In the i386 version the configure commandline was (might be one or two typos here):
./configure --with-lzo-lib=/usr/local/lib --with-lzo-headers=/usr/local/include --enable-password-save --disable-pkcs11 --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info --build=i386-portbld-freebsd8.1
expecially note --enable-password-save
In the amd64 version is was:
./configure --with-lzo-lib=/usr/local/lib --with-lzo-headers=/usr/local/include --disable-pkcs11 --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd8.1
which lacks the --enable-password-save. This means openVPN won't allow the user-pass-auth config option.
#1 Updated by Jim Pingle over 8 years ago
- Status changed from New to Feedback
I enabled the SAVE_PW option which should use --enable-password-save on both i386 and amd64, and then recompiled OpenVPN on both the i386 and amd64 builders. Future snapshots should have the feature enabled on both.
I don't see that it was ever enabled on i386, not sure how yours had it turned on.