I believe the manual says that ldap_connect doesn't actually make the
connection but rather it just simply sets up the connection
parameters. The actual connection doesn't happen until ldap_bind is
executed.
- or so I recall reading some where ;-)
On Jun 19, 2006, at 9:06 AM, Steve Turn
Hi
I have this code (PHP5) as part of a class to do some LDAP stuff...
public function connect()
{
$this->ds = @ldap_connect( $this->server, $this->port ); ###
This seems to return true no matter waht
if ( $this->ds ) {
// A successful connection was made
Richard Lynch wrote:
> On Mon, April 18, 2005 2:43 am, Steve Turnbull said:
>> I am running a LAMP setup consisting of Debian (testing), PHP4, Apache2,
>> and
>> MySQL 4.
>>
>> When I installed php, I used apt-get, and included in the list of modules
>> was libapache2_mod_php4 php4 php4-ldap ...
>
On Mon, April 18, 2005 2:43 am, Steve Turnbull said:
> I am running a LAMP setup consisting of Debian (testing), PHP4, Apache2,
> and
> MySQL 4.
>
> When I installed php, I used apt-get, and included in the list of modules
> was libapache2_mod_php4 php4 php4-ldap ...
>
> PHP works fine, and a test
Hi
I am running a LAMP setup consisting of Debian (testing), PHP4, Apache2, and
MySQL 4.
When I installed php, I used apt-get, and included in the list of modules
was libapache2_mod_php4 php4 php4-ldap ...
PHP works fine, and a test phpinfo() brings up all of the expected
parameters (at least I
Everytime I try to run this function it says that it is an undefined
function LDAP_connection
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am new to using PHP on RedHat 7.3 and am running into a problem with
ldap_connect(). When I attempt to run ldap_connect, I get the error:
Call to undefined function: ldap_connect()
The system I am working on has the default install of Redhat 7.3 with Apache
version "Apache/1.3.23". It has be
On Tue, Dec 04, 2001 at 12:19:24PM +0100, Susanne Benkert wrote:
> > This works for me. For ldap_connect("ldap://hostname";) to work, you need
> > OpenLDAP 2.x libs but that's all. Are you sure PHP is using that library?
>
> I'm quite sure, because other ldap functions work properly such as
> lda
Hi Stig,
Unknown Sender wrote:
>
>
> This works for me. For ldap_connect("ldap://hostname";) to work, you need
> OpenLDAP 2.x libs but that's all. Are you sure PHP is using that library?
I'm quite sure, because other ldap functions work properly such as
ldap_connect("hostname"); or ldapsearch(
Hi again Susanne, I'm on this list too...
On Tue, Dec 04, 2001 at 11:13:51AM +0100, Susanne Benkert wrote:
> The LDAP server is already recompiled and running with ssl/tsl-support.
> PHP-4.0.6. is compiled "with-openssl". But when I try to use
> "ldap_connect('ldaps://hostname/')" like suggested
Hello,
my problem is to enable a secure connection between a PHP script an an
LDAP directory using SSL.
The LDAP server is already recompiled and running with ssl/tsl-support.
PHP-4.0.6. is compiled "with-openssl". But when I try to use
"ldap_connect('ldaps://hostname/')" like suggested in the m
"Brad S. Jackson" wrote:
>
> It looks like the documentation is wrong. The C source code for the LDAP module
> doesn't do anything special with zero arguments.
>
> switch(ZEND_NUM_ARGS()) {
> case 0:
>host = NULL;
>port = 0;
that would explain wh
the ldap_connect man page states that calling ldap_connect with no
arguements should return the link identifier to the open ldap
connection. in the following code i find that the script stops before
writing the second printf statement:
$LDAP_CONNECTION = ldap_connect($MY_LDAP_SERVER);
printf("st
13 matches
Mail list logo