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
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