dpb587 / ssoca

SSO for services that use CA-based authentication.
https://dpb587.github.io/ssoca/
MIT License
10 stars 2 forks source link

Tunnelblick profile fails if username does not match home directory #4

Closed dpb587-pivotal closed 6 years ago

dpb587-pivotal commented 6 years ago

If $HOME != /Users/$USERNAME, things break.

Could not start OpenVPN (openvpnstart returned with status #232)

Contents of the openvpnstart log:
*Tunnelblick: openvpnstart log:
     Executing pre-connect.sh in /Library/Application Support/Tunnelblick/Users/$USERNAME/bosh-cpi.tblk/Contents/Resources...
     stdout from pre-connect.sh: 2017-12-29T17:54:37Z renewing profile
     2017-12-29T17:54:37Z exiting with failure
     stderr from pre-connect.sh: /Library/Application Support/Tunnelblick/Users/$USERNAME/bosh-cpi.tblk/Contents/Resources/pre-connect.sh: line 13: /Users/$USERNAME/Library/Application Support/Tunnelblick/Configurations/bosh-cpi.tblk/Contents/Resources/config.ovpn.tmp: No such file or directory
     rm: /Users/$USERNAME/Library/Application Support/Tunnelblick/Configurations/bosh-cpi.tblk/Contents/Resources/config.ovpn.tmp: No such file or directory
     Status 1 returned by pre-connect.sh in /Library/Application Support/Tunnelblick/Users/$USERNAME/bosh-cpi.tblk/Contents/Resources