LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-31-2010, 05:10 PM   #1
rdanielz
LQ Newbie
 
Registered: May 2010
Location: Ontario, Canada
Posts: 2

Rep: Reputation: 0
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.

Thanks
 
Old 05-31-2010, 05:38 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 06-01-2010, 09:34 AM   #3
rdanielz
LQ Newbie
 
Registered: May 2010
Location: Ontario, Canada
Posts: 2

Original Poster
Rep: Reputation: 0
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:

ldapsearch -LLL -x -b 'dc=example,dc=ca' -H ldap://localhost

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.

Thanks for the help
 
Old 06-01-2010, 10:15 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP server configuration kamransoomro84 Linux - Server 8 05-14-2010 07:48 AM
how to setup open ldap server and solaris 10 as ldap client maheshlad Linux - Software 1 10-10-2009 01:55 AM
Ubuntu Hardy (php-ldap):Can't contact LDAP server eantoranz Programming 7 12-02-2008 07:40 PM
Ldap server configuration tarunlinux Linux - Server 1 09-19-2008 09:51 AM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 09:22 AM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration