[SOLVED] Auth ldap quarantine web interface

albe

New Member
Apr 5, 2020
5
3
3
33
Authentication doesn't work from https://pmg-server:8006/quarantine with LDAP users.


Error in /var/log/syslog

authentication failure; rhost=xxx.xxx.xxx.xxx user=user@domain.name@quarantine msg=Can't locate object method "ldap_connect" via package "PMG::LDAPCache" at /usr/share/perl5/PMG/LDAPSet.pm line 166.

I have replaced line :
if (my $ldap = $self->{$id}->ldap_connect()) {
with
if (my $ldap = $self->{$id}->ldap_connect_and_bind()) {
Restart pmgdaemon and pmgproxy
systemctl restart pmgdaemon.service
systemctl restart pmgproxy.service

and after it works perfectly
 
  • Like
Reactions: Chriswiss

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!