Jump to content

First time user trying to connect PHP to LDAP for AD authentication


simonmlewis

Recommended Posts

Hello

 

I am a first time user on this site, and first time and getting an Intranet to connect with Active Directory (AD) via LDAP in PHP.

 

I have tried various methods, but I keep getting this error:

 

Call to undefined function ldap_connect()

It's on the line:

$conn = ldap_connect("ldap.roydomain") or die ("Could not connect to server");

 

I am suspicious that something in my Apache 2.2.1 is not enabled or I would at least get the "could not connect...." error.

 

Can someone please guide me as I am utterly lost with this.

 

Many thanks

Simon

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.