[Samba] LDAP problem

Rowland Penny rpenny at samba.org
Mon Feb 13 10:49:29 UTC 2017

On Mon, 13 Feb 2017 10:15:06 +0000
Lukz Ferris via samba <samba at lists.samba.org> wrote:

> Hello Rowland,
I take it your ldap.conf now looks like this:

HOST devsamba.lucas.ufes.br
TLS_CACERT /usr/local/samba/private/tls/cert.pem

and the path to 'cert.pem' is correct for your installation
> ldapsearch -D "administrator at lucas.ufes.br" -b
> "cn=users,cn=lucas,dc=ufes,dc=br" -H ldaps://devsamba.lucas.ufes.br
> -w 's3nh4.s3rv3r' sAMAccountName=administrator
> ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

All I can say is that it works for me, both on the DC and a domain

> Thank you for the help. I don't know if it is a server machine's
> problem. Probably I'll backup and restore it or just set the server
> from the beginning...

Is something else getting in the way ? a firewall or selinux etc.


More information about the samba mailing list