Opened 10 years ago
Closed 6 years ago
#372 closed Bug / Defect (notabug)
auth-user-pass-verify passes an empty trailing arg
Reported by: | alga | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | plug-ins / plug-in API | Version: | OpenVPN 2.3.2 (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | auth-user-pass-verify |
Cc: |
Description
Then the server config contains a line like:
auth-user-pass-verify "/opt/vpnauth/bin/vpnauth /etc/vpnauth/config.cfg" via-env
The script in fact receives three arguments:
{"/opt/vpnauth/bin/vpnauth", "/etc/vpnauth/config.cfg", ""}
This upsets scripts with strict argument parsers.
Bug oserved on Ubuntu 13.10, openvpn-2.3.2-4ubuntu1.
Change History (3)
comment:1 Changed 9 years ago by
Component: | Generic / unclassified → plug-ins / plug-in API |
---|---|
Keywords: | auth-user-pass-verify added |
comment:2 Changed 9 years ago by
There has been no response to this ticket. April 21st I did e-mail the reporter directly and have not heard anything yet.
I propose to close this ticket as notabug unless people report this as a real issue within the end of May 2015.
The patch suggested in this ticket needs to be tested and reviewed to be considered a suitable fix.
comment:3 Changed 6 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
This is most likely not a something we need to fix. I can acknowledge that the additional empty argument may very well be the result as it is now, but not convinced it's a severe enough issue to mandate "complicating" the code further. The patch here will anyhow not apply on git master nor release/2.4, so a new fix is needed.
If this ticket gets noticeable traction with good arguments why this needs to be fixed, please re-open it.
Can you please try to test this patch, to see if this resolves the issue you see?