RE: custom contact list

  • From: "Jeffrey Robillard" <jrobill@xxxxxxxxxxxxx>
  • To: "[ExchangeList]" <exchangelist@xxxxxxxxxxxxx>
  • Date: Wed, 23 Jul 2003 12:21:58 -0400

make sure the extensions section of your php.ini file has the ldap line 
uncommented.   as a default it comes remarked out so its not supported.


if you run the phpinfo script attached you should see something like this in 
the result.  If you do not then the ldap support function isn't working in php.

LDAP Support enabled 
RCS Version $Id: ldap.c,v 2002/04/23 18:59:57 derick Exp $ 
Total Links 0/unlimited 
API Version 2004 
Vendor Name OpenLDAP 
Vendor Version 20023 

-----Original Message-----
From: Vadim Shulaev [mailto:vshulaev@xxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, July 23, 2003 12:06 PM
To: [ExchangeList]
Subject: [exchangelist] RE: custom contact list


The script looks like what i want to be able to do with contact list.
I have a problem though... it doesn't seems to work for me. Here is the
error i get from my server:

Fatal error: Call to undefined function: ldap_connect() in
c:\inetpub\wwwroot\ldap_exchange.php on line 2

It looks like i can't connect to my LDAP server. I know it is working
fine. Is ther something has to be activated on my server???

Here is my settings i put in the script:

   $dn = "cn=administrator, cn=users, dc=casinomontelago, dc=com";  
   $password = "*****";
   if ($ds) { 
      $r=ldap_bind($ds, $dn, $password);
      $sr=ldap_search($ds,"cn=users, dc=casinomontelago, dc=com",

      $info = ldap_get_entries($ds, $sr);


-----Original Message-----
From: Jeffrey Robillard [mailto:jrobill@xxxxxxxxxxxxx] 
Sent: Friday, July 18, 2003 11:06 AM
To: [ExchangeList]
Subject: [exchangelist] RE: custom contact list

This is a multi-part message in MIME format.

List Archives:
Exchange Newsletters:
Exchange FAQ:
Other Internet Software Marketing Sites:
Leading Network Software Directory:
No.1 ISA Server Resource Site:
Windows Security Resource Site:
Network Security Library:
Windows 2000/NT Fax Solutions:
You are currently subscribed to this Discussion List as: 
To unsubscribe send a blank email to $subst('Email.Unsub')

Message sent 23/7/2003 from Jeffrey Robillard to [ExchangeList]

Other related posts: