From: Venkat Raman Don on
Hi,

While configuring PHP (configure command) one has to use the switch --with-ldap-sasl, otherwise this function is undefined. Probably the LDAP library you are using is not configured with this switch. Try compiling with this switch yourself.

Thanks,
Don.

-----Original Message-----
From: Bruno CHALOPIN [mailto:bruno.chalopin(a)laposte.net]
Sent: Tuesday, May 11, 2010 12:17 PM
To: php-windows(a)lists.php.net
Subject: Re: [PHP-WIN] 2 questions on mssql and ldap

Hi Sascha,

Le 11/05/2010 17:22, Sascha Meyer a écrit :
>
> What does your phpinfo() say about LDAP support? Are the rest of the LDAP functions (ldap_connect(),ldap_bind()) available?
>

My phpinfo() file says that the ldap extension is loaded and the rest of
the LDAP functions are working properly. It's only ldap_sasl_bind which
give me some problems.

Regards,

Bruno

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


From: "Sascha Meyer" on
Hi Don,

Don wrote:
> While configuring PHP (configure command) one has to use the switch
> --with-ldap-sasl, otherwise this function is undefined. Probably the LDAP library
> you are using is not configured with this switch. Try compiling with this
> switch yourself.

could you give us some more info on this topic? I didn't knew that you have to compile PHP on windows for extensions to work and thought compiling was just a requirement on most *nix systems.

Which files are necessary to compile SASL support into PHP and which steps have to be taken?

Thanks and regards,

Sascha
--
Freundliche Grüße / Kind regards,

Sascha Meyer
--------------------------------------------------
EE: http://www.experts-exchange.com/M_761556.html
ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
From: Lester Caine on
Venkat Raman Don wrote:
> Hi,
>
> While configuring PHP (configure command) one has to use the switch --with-ldap-sasl, otherwise this function is undefined. Probably the LDAP library you are using is not configured with this switch. Try compiling with this switch yourself.

This IS the windows PHP list - so compiling special versions is not appropriate!
There are a number of extensions available ready compiled, so it is just a
matter of checking that they have loaded in phpinfo() or looking for errors in
the log which explain why they haven't

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
From: Bruno CHALOPIN on
Hi,

Le 12/05/2010 09:40, Lester Caine a écrit :
> This IS the windows PHP list - so compiling special versions is not
> appropriate!

I agree that compiling special versions is not appropriate on Windows.

> There are a number of extensions available ready compiled, so it is just
> a matter of checking that they have loaded in phpinfo() or looking for
> errors in the log which explain why they haven't

I only get this error : "Fatal error: Call to undefined function
ldap_sasl_bind()". It's a little bit light to find how to make it work :-/

Regards,

Bruno
From: "Sascha Meyer" on
Hi Bruno,

Bruno wrote:
> I only get this error : "Fatal error: Call to undefined function
> ldap_sasl_bind()". It's a little bit light to find how to make it work :-/

I checked bugs.php.net and found the following bug:

http://bugs.php.net/bug.php?id=43233

Quote:
"This is not a bug, just missing feature or rather: missing sasl support in the ldap libraries used to build win32 binaries."

The bug's status is "open" so I assume that this is also a problem with more recent builds of Windows PHP versions.

Regards,

Sascha
--
Freundliche Grüße / Kind regards,

Sascha Meyer
--------------------------------------------------
EE: http://www.experts-exchange.com/M_761556.html
ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01