[PLUG] How to connect to a openldap server without DNS?

Amey Abhyankar sco1984 at gmail.com
Fri Jul 16 10:27:05 IST 2021


Hello All,

Any simple method to achieve this?

I want to fetch openldap user from a third party application.
I enter ldap details in the third party app for connection.

I did Google and found some posts at IBM forums which are complicated
enough to understand and half baked.

I have installed openldap using turnkey Linux. Bundled openldap software.
Configured cn,dn etc.
Added generic user with sn.
This is just a POC server.
I am using a different domain name than the currently used domain name.

If I try to make a ldap connection even on this server using 127.0.1.1
it gives an errpr.
command = ldapsearch -x -LLL -H ldap://127.0.1.1
error = object not found (32)
I also tried to use ldap:/// flag.
Same error.

Any hints on how to configure SRV record? Thanks.
Installing BIND9 on the openldap Debian 10 os will help?

Regards,
Amey.


More information about the plug-mail mailing list