RE: custom contact list

  • From: "Vadim Shulaev" <vshulaev@xxxxxxxxxxxxxxxxxxx>
  • To: "[ExchangeList]" <exchangelist@xxxxxxxxxxxxx>
  • Date: Wed, 23 Jul 2003 09:06:09 -0700

Jeffrey,

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:

<?php
   $ds=ldap_connect("172.16.8.5");
   $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",
"mailnickname=".$uid);  

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

Vadim.

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


http://www.MSExchange.org/


This is a multi-part message in MIME format.


Other related posts: