Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: nickpiggott on March 14, 2021, 07:47:41 pm

Title: [FIX] FATAL: Could not connect to samba LDAP server: connect: Connection refused
Post by: nickpiggott on March 14, 2021, 07:47:41 pm
I started to see this error in the Web Admin console when trying to access any of the Domain menu options.

The error was reported in /var/log/zental/zental.log as

Code: [Select]
Ldap.pm:219 EBox::Ldap::safeConnect - FATAL: Could not connect to samba LDAP server: connect: Permission denied at FATAL: Could not connect to samba LDAP server: connect: Permission denied at /usr/share/perl5/EBox/Ldap.pm line 219

After a great deal of debugging, I found this solution.

I changed the permissions of the private folder
Code: [Select]
sudo chgrp ebox private
sudo chown g=rwx private

That fixed my problem