LDAP configuration error, can't connect to LDAP server (-1)
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
LDAP configuration error, can't connect to LDAP server (-1)
Hi I'm trying to set up a Linux server and I am new to this. I have gone through most of the configuration using SAMBA 3.0 and when I populate the ldap directory all I get this error before the password request:
failed to modify entry: structural object class modification from 'sambaDomain' to 'inetOrgPerson' not allowed at /usr/sbin/smbldap-populate line 492, <GEN1> line 235.
then when I perform an ldapsearch to see if the directory is populated I get this message:
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
Can somebody tell me what to do cause I'm positive all my .conf files are done right.
Generally speaks for itself if it can't connect... not listening / firewalled / wrong server / certificate issue. just do an ldapsearch or even just telnet to the right port to ensure you are connecting OK.
The LDAP server is connected to the right port but I'm assuming now that it is a certificate issue, any idea how I can troubleshoot this problem because if I run:
I am connected and can view all of the users in the LDAP directory. Going through the config files I have all the paths correct but I dont think I have the proper certificate or maybe its the SID but when I do a getlocalsid it gives me the exact ID that I have in the file.
ok, well your -x disables sasl binds, and just does a simple bind, yet your error cites a sasl interactive bind issue, so those two usages would not appear to be equivalent.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.