Dolibarr 14.0.2 - Failed to connect to LDAP

NethServer Version: 7.9 - Samba AD Domain Member

Installed Dolibarr 14.0.2 with:
yum install nethserver-dolibarr --enablerepo=stephdl-dolibarr

When I try to login with admin/admin or a domainuser I always get this error:
Failed to connect to LDAP: Failed to connect to LDAP: 8 Strong(er) authentication required

It seems dolibarr wants to connect without TLS.

As a workaround you may add

ldap server require strong auth = no

to the global section of /var/lib/machines/nsdc/etc/samba/smb.conf and restart samba:

systemctl -M nsdc restart samba

EDIT:

The workaround does not work.

Tried a fresh install without AD and it’s not possible to login as default admin, seems there’s a missing table…

Error: Table 'dolibarr.llx_user' doesn't exist

1 Like

Yes, got this too… I think @stephdl has to work on it?

1 Like

I am looking to it

1 Like

It should be good, rpm uploaded, it needs few hours to be synchronized to all mirrors

2 Likes

Hi @stephdl, thank you for the fix! I was able to login with user admin.
I will do further tests on the evening… tnx

1 Like

I joined the dolibarr Server to my existing Nethserver Samba AD domain and was able to login with a domain user… :+1: - :clap: :clap: :clap:

2 Likes