Jump to content

uogiene

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

uogiene's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. on the other hand [code]<?php $ldaphost = "ldaps://10.176.45.1/"; $connection = ldap_connect($ldaphost); if (!$connection) {   echo "Not connected!"; } else {   echo "Connection successful!"; } ?>[/code] gave same output... 10.176.45.1 being ip that does not exsists... something is not right... ???
  2. Thanks a lot your suggestion outputted: [QUOTE] Connection successful! [/QUOTE] ;D
  3. Hi, I'm having a little problem using LDAP over php in any way... Here's my current server setup: phpinfo relevant output [quote] Apache/1.3.33 (Win32) PHP/4.4.0 ldap LDAP Support  enabled  RCS Version  $Id: ldap.c,v 1.130.2.13 2005/05/08 16:06:24 sniper Exp $  Total Links  0/unlimited  API Version  2004  Vendor Name  OpenLDAP  Vendor Version  0  [/quote]As required I've uncommented following in php.ini[quote] extension=php_ldap.dll [/quote] I've also copied libeay32.dll and ssleay32.dll to my SYSTEM folder I'm using following code to query LDAP [code] <?php $ldaphost = "ldaps://10.176.40.10/"; // Connecting to LDAP $ldapconn = ldap_connect($ldaphost)         or die("Could not connect to {$ldaphost}"); ?> [/code] I just get a blank page... If I do some echo'ing in that code I get the echo output... Any ideas what could be wrong? It looks as if the LDAP is not enabled properly Thanks for your help!
×
×
  • 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.