From: Markus Frank <m.frank@proxmox.com>
To: pmg-devel@lists.proxmox.com
Subject: [pmg-devel] [PATCH pmg-api v4 1/3] Auth Plugin: stop forcing the default realm to be the pmg realm
Date: Wed, 19 Mar 2025 14:29:57 +0100 [thread overview]
Message-ID: <20250319132959.5149-2-m.frank@proxmox.com> (raw)
In-Reply-To: <20250319132959.5149-1-m.frank@proxmox.com>
This allows a different realm to be set as the default.
Signed-off-by: Markus Frank <m.frank@proxmox.com>
---
no changes in v4
src/PMG/Auth/Plugin.pm | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/PMG/Auth/Plugin.pm b/src/PMG/Auth/Plugin.pm
index 9268a49..5969911 100755
--- a/src/PMG/Auth/Plugin.pm
+++ b/src/PMG/Auth/Plugin.pm
@@ -144,8 +144,6 @@ sub parse_config {
$cfg->{ids}->{pmg}->{type} = 'pmg'; # force type
$cfg->{ids}->{pmg}->{comment} = "Proxmox Mail Gateway authentication server"
if !$cfg->{ids}->{pmg}->{comment};
- $cfg->{ids}->{pmg}->{default} = 1
- if !$cfg->{ids}->{pmg}->{default};
$cfg->{ids}->{pam}->{type} = 'pam'; # force type
$cfg->{ids}->{pam}->{comment} = "Linux PAM standard authentication"
--
2.39.5
_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel
next prev parent reply other threads:[~2025-03-19 13:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-19 13:29 [pmg-devel] [PATCH pmg-api/pmg-gui v4 0/3] add default realm option and OIDC configuration panel Markus Frank
2025-03-19 13:29 ` Markus Frank [this message]
2025-03-19 13:29 ` [pmg-devel] [PATCH pmg-gui v4 2/3] realms: enable default realm support Markus Frank
2025-03-19 13:29 ` [pmg-devel] [PATCH pmg-gui v4 3/3] add OIDC configuration panel for PMG Markus Frank
2025-03-20 9:36 ` [pmg-devel] [PATCH pmg-api/pmg-gui v4 0/3] add default realm option and OIDC configuration panel Christoph Heiss
2025-03-26 7:41 ` Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250319132959.5149-2-m.frank@proxmox.com \
--to=m.frank@proxmox.com \
--cc=pmg-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.