From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <pve-devel-bounces@lists.proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9])
	by lore.proxmox.com (Postfix) with ESMTPS id D8D621FF16B
	for <inbox@lore.proxmox.com>; Thu, 17 Apr 2025 08:29:52 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id AF633C332;
	Thu, 17 Apr 2025 08:29:32 +0200 (CEST)
To: pve-devel@lists.proxmox.com
Date: Wed, 16 Apr 2025 22:55:31 +0200
In-Reply-To: <20250416205656.153451-1-riedel@teco.edu>
References: <20250416205656.153451-1-riedel@teco.edu>
X-Mailman-Approved-At: Thu, 17 Apr 2025 08:29:30 +0200
MIME-Version: 1.0
Message-ID: <mailman.1106.1744871370.359.pve-devel@lists.proxmox.com>
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Post: <mailto:pve-devel@lists.proxmox.com>
From: Till Riedel via pve-devel <pve-devel@lists.proxmox.com>
Precedence: list
Cc: Till Riedel <riedel@teco.edu>
X-Mailman-Version: 2.1.29
X-BeenThere: pve-devel@lists.proxmox.com
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
Subject: [pve-devel] [PATCH 0/2] Suppport for LDAP PosixGroups->memberUid
Content-Type: multipart/mixed; boundary="===============4987295238778272315=="
Errors-To: pve-devel-bounces@lists.proxmox.com
Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com>

--===============4987295238778272315==
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <riedel@teco.edu>
X-Original-To: pve-devel@lists.proxmox.com
Delivered-To: pve-devel@lists.proxmox.com
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by lists.proxmox.com (Postfix) with ESMTPS id 17BC4D5F82
	for <pve-devel@lists.proxmox.com>; Wed, 16 Apr 2025 22:57:14 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
	by firstgate.proxmox.com (Proxmox) with ESMTP id 00AD3652F
	for <pve-devel@lists.proxmox.com>; Wed, 16 Apr 2025 22:57:14 +0200 (CEST)
Received: from scc-mailout-kit-01.scc.kit.edu (scc-mailout-kit-01.scc.kit.edu [IPv6:2a00:1398:9:f713::8d34:47f5])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by firstgate.proxmox.com (Proxmox) with ESMTPS
	for <pve-devel@lists.proxmox.com>; Wed, 16 Apr 2025 22:57:09 +0200 (CEST)
Received: by scc-mailout-kit-01.scc.kit.edu with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(envelope-from <riedel@teco.edu>)
	id 1u59oc-00AOu6-1B
	for pve-devel@lists.proxmox.com;
	Wed, 16 Apr 2025 22:57:03 +0200
Received: from [129.13.170.146] (helo=teco.edu)
	by mailhost.teco.edu with smtp (Exim 4.96)
	(envelope-from <riedel@teco.edu>)
	id 1u59ob-005i0e-1I;
	Wed, 16 Apr 2025 20:57:02 +0000
Received: (nullmailer pid 153487 invoked by uid 7534);
	Wed, 16 Apr 2025 20:57:02 -0000
From: Till Riedel <riedel@teco.edu>
To: pve-devel@lists.proxmox.com
Cc: Till Riedel <riedel@teco.edu>
Subject: [PATCH 0/2] Suppport for LDAP PosixGroups->memberUid 
Date: Wed, 16 Apr 2025 22:55:31 +0200
Message-ID: <20250416205656.153451-2-riedel@teco.edu>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <20250416205656.153451-1-riedel@teco.edu>
References: <20250416205656.153451-1-riedel@teco.edu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-SPAM-LEVEL: Spam detection results:  0
	AWL                    -1.150 Adjusted score from AWL reputation of From: address
	BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
	DMARC_PASS               -0.1 DMARC pass policy
	KAM_DMARC_STATUS         0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
	SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
	SPF_PASS               -0.001 SPF: sender matches SPF record
	URIBL_BLOCKED           0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked.  See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [ldap.pm,ldapwiki.com]
X-Mailman-Approved-At: Thu, 17 Apr 2025 08:29:30 +0200

Citing https://ldapwiki.com/wiki/Wiki.jsp?page=PosixGroup

2307Bis says:
"Group members may either be login names (values of memberUid) or Distinguished Names (values of uniqueMember). In the uniqueMember, the Distinguished Names must be mapped to one or more login names by examining the name's RDN or, if it is not distinguished by uid, performing a base search on the DN with a filter of "(objectclass=*)".

Currently only DNs seem to be supported

Till Riedel (1):
  support login-names instead of DNs

 src/PVE/Auth/LDAP.pm | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.45.1



--===============4987295238778272315==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

--===============4987295238778272315==--