× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This one has me scratching my head a little.

I installed osTicket on i so a customer of mine can enter support tickets that I can manage for them. One of the options is to use LDAP for authentication and the web site shows some simple hacks to get it to work. Cool. So I hacked the files and still can't authenticate. So, I decided just to create a simple script that will just verify that I am hitting the AD server. Still nothing. Not even an error. So here is the code I used just to kick the tires and see if I can hit the AD:

<?php

// LDAP variables
$ldaphost = "xxxxxxxxxxxx"; // your ldap servers
$ldapport = 389; // your ldap server's port number

// Connecting to LDAP
$ldapconn = ldap_connect($ldaphost, $ldapport)
or die("Could not connect to $ldaphost");

?>

So when I run this script, I get nothing. Blank page. No errors. Even though the host name is xxxxxxxxxx (and yes, that is the actual character value I passed as host - all x's). Any one using LDAP in a PHP app on i? Any pointers? And, why don't I see any errors? php.ini has display_errors = On and error_reporting = E_ALL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.