LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2018, 01:07 AM   #1
anshikam
LQ Newbie
 
Registered: Oct 2018
Posts: 1

Rep: Reputation: Disabled
Not able to connect to AD LDAP on linux server : PHP Fatal error


I am using AD LDAP authentication code to connect my web portal to SSO but I am unable to do so as it is giving me the error below.

The same code when tried on the windows server is working fine.

Is there any specific permissions that need to be provided in a Linux server? The ports required for the end to end connectivity (389 and 636) are open and have been confirmed, still the LDAP is not able to connect.

PHP Fatal error: Uncaught exception 'adLDAPException'

with message:

Bind to Active Directory failed.
Check the login credentials and/or server details.
AD said: Can't contact LDAP server

Please suggest what can be done to run the LDAP code for SSO authentication.
 
Old 10-15-2018, 05:49 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by anshikam View Post
I am using AD LDAP authentication code to connect my web portal to SSO but I am unable to do so as it is giving me the error below. The same code when tried on the windows server is working fine. Is there any specific permissions that need to be provided in a Linux server? The ports required for the end to end connectivity (389 and 636) are open and have been confirmed, still the LDAP is not able to connect.

PHP Fatal error: Uncaught exception 'adLDAPException'

with message:

Bind to Active Directory failed.
Check the login credentials and/or server details.
AD said: Can't contact LDAP server

Please suggest what can be done to run the LDAP code for SSO authentication.
Since you don't tell us version/distro of Linux, any details about your LDAP setup, what SSO you're talking about, what web portal, web engine, or pretty much ANY details about your server/configuration (past an error message), we can't suggest ANYTHING. Read the "Question Guidelines" link in my posting signature.

Is this a totally new installation? LDAP running on what server? What version of Windows works? Do you have any other Linux servers hooked into AD?
 
  


Reply



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
openldap client fails to connect ldap server 'ldap_bind: Can't contact LDAP server' Suresh Chandra Linux - Server 1 04-30-2014 02:23 AM
Got fatal error during xfer (inet connect: Connection timed out): Backuppc ERROR sanjay87 Linux - Server 0 05-15-2012 01:38 AM
[SOLVED] openldap client fails to connect ldap server 'ldap_bind: Can't contact LDAP server' JALITE Linux - Server 12 09-30-2010 08:17 AM
LDAP configuration error, can't connect to LDAP server (-1) rdanielz Linux - Networking 3 06-01-2010 09:15 AM
Ubuntu Hardy (php-ldap):Can't contact LDAP server eantoranz Programming 7 12-02-2008 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:23 PM.

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
Open Source Consulting | Domain Registration