Prev: older windows binaries
Next: Still cannot append one table to another without duplicates following.
From: Bruno CHALOPIN on 12 May 2010 05:02 Hi Sascha, Le 12/05/2010 10:51, Sascha Meyer a écrit : > > 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. > Thanks for the search. It is a pity that it hasn't been resolved since 2007. Seems like the win32 binaries of PHP are not considered that much despite the fact that the use of PHP is getting higher with the last versions of IIS. I suppose I'll be obliged to use COM components within PHP to simulate this not so native feature. Regards, Bruno
From: "Sascha Meyer" on 12 May 2010 06:02 Hi Bruno, Bruno wrote: > I suppose I'll be obliged to use COM components within > PHP to simulate this not so native feature. You might also look into the PEAR repository before switching to COM: http://pear.php.net/package/Auth_SASL http://pear.php.net/package/Net_LDAP2 (contains a function supportedSASLMechanism() to check if an LDAP server supports SASL auth) I haven't used the above packages yet but you might consider checking these before doing any COM-related programming. 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: Bruno CHALOPIN on 12 May 2010 07:21 Hi Sascha, Le 12/05/2010 12:02, Sascha Meyer a écrit : > You might also look into the PEAR repository before switching to COM: > > http://pear.php.net/package/Auth_SASL > http://pear.php.net/package/Net_LDAP2 (contains a function supportedSASLMechanism() to check if an LDAP server supports SASL auth) > > I haven't used the above packages yet but you might consider checking these before doing any COM-related programming. > The Net_LDAP2 doesn't provide sasl authentication and Auth_SASL won't work threw ldap_bind. Regards, Bruno
From: Venkat Raman Don on 12 May 2010 10:57 Hi Sascha, I was just saying that if your LDAP extension is not compiled with option --with-ldap-sasl, this function will not be defined. Since Bruno is getting other functions defined other than this particular function, this means that LDAP DLL he is using was not configured with --with-ldap-sasl option at build time. This is what I got from PHP manual. Look at http://us2.php.net/manual/en/function.ldap-sasl-bind.php under requirement. An obvious solution is to compile it with the option --with-ldap-sasl. I told Bruno to do it because I thought it will be convenient. If not, someone has to compile it with the option mentioned above and upload it so that others can use. I can also see that LDAP is very much part of PHP MSI, so probably bundled MSI/ZIP package has to be modified. So a change in Windows build script somewhere is needed. Thanks, Don. -----Original Message----- From: Sascha Meyer [mailto:harlequin2(a)gmx.de] Sent: Wednesday, May 12, 2010 12:22 AM To: Venkat Raman Don; php-windows(a)lists.php.net; bruno.chalopin(a)laposte.net Subject: Re: RE: [PHP-WIN] 2 questions on mssql and ldap 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: Pierre Joye on 13 May 2010 04:15 On Wed, May 12, 2010 at 11:02 AM, Bruno CHALOPIN <bruno.chalopin(a)laposte.net> wrote: > Hi Sascha, > > Le 12/05/2010 10:51, Sascha Meyer a écrit : >> >> 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. >> > > Thanks for the search. It is a pity that it hasn't been resolved since 2007. > Seems like the win32 binaries of PHP are not considered that much despite > the fact that the use of PHP is getting higher with the last versions of > IIS. I suppose I'll be obliged to use COM components within PHP to simulate > this not so native feature. See my comment in the bug report. SASL is not well supported by AD either. I'm really not sure we can get SASL support in openldap client libraries working well for Windows. About the sqlserver support question, I strongly suggest to use the Microsoft SqlSrv driver instead. It is much more stable, works with all active PHP versions and supports all authentification methods you can have with the native sqlserver drivers on windows. Cheers. -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: older windows binaries Next: Still cannot append one table to another without duplicates following. |