[PATCH 2/2] Suppport for LDAP PosixGroups->memberUid
Till Riedel
riedel at teco.edu
Wed Apr 16 22:55:33 CEST 2025
Signed-off-by: Till Riedel <riedel at teco.edu>
---
src/PVE/Auth/LDAP.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/PVE/Auth/LDAP.pm b/src/PVE/Auth/LDAP.pm
index bf7e968..ff05f02 100755
--- a/src/PVE/Auth/LDAP.pm
+++ b/src/PVE/Auth/LDAP.pm
@@ -383,6 +383,10 @@ sub get_groups {
if (my $user = $dnmap->{lc($member)}) {
$ret->{$name}->{users}->{$user} = 1;
}
+ else
+ {
+ $ret->{$name}->{users}->{"$member\@$realm"} = 1;
+ }
}
}
}
--
2.45.1
More information about the pve-devel
mailing list