From: "selvanair (Code Review)"
Date: Mon, 2 Mar 2026 15:19:33 +0000
In-Reply-To:
References:
Reply-To: selva.nair@...277..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...,
gert@...1296...
Message-ID: <62ef50de0876b6c5030c352f21badb0503c2c85b-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="vtMAOJCcevY="; charset=UTF-8
Subject: [Openvpn-devel] [M] Change in openvpn[master]: Add an optional
username-only flag for auth-user-pass
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: flichtenheld , plaisthos , openvpn-devel
--vtMAOJCcevY=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
selvanair has posted comments on this change by selvanair. ( http://gerrit.=
openvpn.net/c/openvpn/+/1548?usp=3Demail )
Change subject: Add an optional username-only flag for auth-user-pass
......................................................................
Patch Set 4:
(1 comment)
File doc/man-sections/client-options.rst:
http://gerrit.openvpn.net/c/openvpn/+/1548/comment/5b6d4fe6_304f5220?usp=3D=
email :
PS4, Line 96:
> So I have a bit of usability problems here. [=E2=80=A6]
Embedding username (with or without password) or reading from file are inco=
mpatible with username-only field. So, the usage you mentioned is not suppo=
rted.
I thought this was obvious as we currently do not support repeating such op=
tions like auth-user-pass --- i.e when repeated, onlythe last one overwrite=
s previous ones. But we can strss this as done in teh commit message.
If user wants to inline a username in the file, do not use username-only, =
just inline the username and a dummy password. Its already possible an dno =
chnages needed. Adding a dummy password inline is no trouble IMO.
The rationale: The only case where "username-only" is required and useful i=
s when no password should be prompted for, and embedding a dummy password i=
s not practical: as in common config files for all users and SSO based on u=
sername/email that we do in some environments.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1548?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings?usp=3Demail
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I788f76e6a70a9c20bca3367140d2741bd0551582
Gerrit-Change-Number: 1548
Gerrit-PatchSet: 4
Gerrit-Owner: selvanair
Gerrit-Reviewer: plaisthos
Gerrit-CC: cron2
Gerrit-CC: flichtenheld
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: flichtenheld
Gerrit-Comment-Date: Mon, 02 Mar 2026 15:19:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos
--vtMAOJCcevY=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: flichtenheld, plaisthos.
View =
Change
1 comment:
Embedding username (with or without password) or read=
ing from file are incompatible with username-only field. So, the usage you =
mentioned is not supported.
I thought this was obvious as we currently =
do not support repeating such options like auth-user-pass --- i.e when repe=
ated, onlythe last one overwrites previous ones. But we can strss this as d=
one in teh commit message.
If user wants to inline a username in the f=
ile, do not use username-only, just inline the username and a dummy passwor=
d. Its already possible an dno chnages needed. Adding a dummy password inli=
ne is no trouble IMO.
The rationale: The only case where "username=
-only" is required and useful is when no password should be prompted f=
or, and embedding a dummy password is not practical: as in common config fi=
les for all users and SSO based on username/email that we do in some enviro=
nments.
To view, visit change 1548. To unsubscribe, o=
r for help writing mail filters, visit settings.
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I788f76e6a70a9c20bca3367140d=
2741bd0551582
Gerrit-Change-Number: 1548
Gerrit-PatchSet: 4
Gerrit-Owner: selvanair <selva.nair@...1354...=
..>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-CC: cron2 <gert@...1296...>
Gerrit-CC: flichtenheld <frank@...2641...&g=
t;
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...=
41...>
Gerrit-Comment-Date: Mon, 02 Mar 2026 15:19:33=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <arne-openvp=
n@...1227...>
=
--vtMAOJCcevY=--