--- Begin Message ---
Signed-off-by: Till Riedel <rie...@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



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

Reply via email to