Re: ldap
| From: | Nick Talbott | Date: | Thu, 19 Oct 2000 07:19:57 +0000 |
| Subject: | Re: ldap | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-21102@lists.php.net to get a copy of this message | ||
Hi
>PHP4.0.2/Apace 1.3.12 on solaris 2.6
>
>I compiled in LDAP and when I do phpinfo() it says LDAP is enabled.
>
>However when I perform a:
>
>$ds = ldap_connect("ldap.xxx.com", "389");
>print $ds;
>
>$ds is empty and the script does not proceed.
>
>The server and port are correct.
>
>What gives? Has anyone successfully used LDAP with PHP?
>
Been using LDAP with PHP for literally years, though I don't have you exact
combination of software and hardware.
Assuming that the software built OK the only thing I am wondering is whether
there are any firewall-type issues here. Can you use other LDAP client
software on your Solaris box to access the remote LDAP server?
- Nick Talbott
IT Policy and Strategy Manager, Powys County Council, UK
email nickt@powys.gov.uk
FAX +44 (0) 1597 824781
web http://www.powys.gov.uk and http://www.powysweb.co.uk