[Samba] Mail samba

Rowland penny rpenny at samba.org
Sat Oct 10 12:12:21 UTC 2020

On 10/10/2020 12:56, Philip Offermans via samba wrote:
> Hi I am trying to authenticate my mail server with samba ad.
> The only problem is that I don’t get it working.
> root at dna:/data/CA/EasyRSA-v3.0.6# ldapsearch -x -h gaia.rompen.lokaal -D 'vmail' -W -b 'cn=users,dc=rompen,dc=lokaal'
> Enter LDAP Password:
> ldap_bind: Strong(er) authentication required (8)
> 	additional info: BindSimple: Transport encryption required.
> I can not read the ldap database. I think it is a certificate problem. I made my own CA agent, and gave samba a server certificate for ldap. But how can I use the public key to read the database?
> Philip

Try it like this: ldapsearch -h gaia.rompen.lokaal -U 'vmail' -W -b 

'-D' expects a DN


More information about the samba mailing list