[SOLVED] Auth ldap quarantine web interface

albe

New Member
Apr 5, 2020
5
3
3
34
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