From: "plaisthos (Code Review)" Date: Mon, 2 Mar 2026 15:03:45 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., selva.nair@...277..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="ZsT6Vmqbsn8="; 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: , To: selvanair Cc: flichtenheld , openvpn-devel --ZsT6Vmqbsn8= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. plaisthos 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: (2 comments) Patchset: PS4: The patch overall looks good but think the usability how to use the feature= needs to be clearer. File doc/man-sections/client-options.rst: http://gerrit.openvpn.net/c/openvpn/+/1548/comment/695f9498_3d55bfa1?usp=3D= email : PS4, Line 96: So I have a bit of usability problems here. If I want to put the username t= o use into the profile, in typical OpenVPN fashion I expect to having to use auth-user-pass username-only theusername which is not necessarily obvious. If we want this to be the way, we should = at least document it. And something like auth-user-pass /some/file username-only does not seem to be supported. auth-user-pass username-only auth-user-pass /some/file username-only might work but is not intuitive either. Maybe have something like auth-sendusername as alias to auth-user-pass that= imlicitlty sets the flag and otherwise works the same as auth-user-pass? -- 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:03:45 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No --ZsT6Vmqbsn8= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos.

View = Change

2 comments:

  • Patchset:

    • Patch Set #4:

      The patch over= all looks good but think the usability how to use the feature needs to be c= learer.

  • File doc/= man-sections/client-options.rst:

    • Patch Set #4, Line 96:

      So I have a bit of usability problem= s here. If I want to put the username to use into the profile, in typical O= penVPN fashion I expect to having to use

      auth-user-pass username-only<= br><auth-user-pass>
      theusername
      </auth-user-pass>

      whi= ch is not necessarily obvious. If we want this to be the way, we should at = least document it.

      And something like

      auth-user-pass /some/file use= rname-only does not seem to be supported.

      auth-user-pass username-only =
      auth-user-pass /some/file username-only

      might work but is not intui= tive either.

      Maybe have something like auth-sendusername as alias to au= th-user-pass that imlicitlty sets the flag and otherwise works the same as = auth-user-pass?

To view, visit change 1548. To unsubs= cribe, or 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:03:45= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
= --ZsT6Vmqbsn8=--