Re: [phpldapadmin] SASL/GSSAPI

"Ethan Moore" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
php_sapi_info() returns "cgi-fcgi"

I put together a test page that just binds to my ldap server
w/ldap_sasl_bind, I added a ldap_unbind(), and it didn't make any
difference, refreshing the page immediately after a successful bind throws
an error, but waiting 20 seconds or so and it binds perfectly again...

I'll keep playing with it and see if I can come up with something.

ethan

> Ethan Moore wrote:
>> Attached is the patch file I generated via `diff ds_ldap.php
>> ds_ldap.php.orig`.  Forgive me if I did this part backwards.
>>
> Thanks Ethan, I'll add your patch to PLA for the 1.2.0.3 release.
>> There is one issue I have yet to resolve, which I will try to explain.
> See if calling ldap_unbind($resource) somewhere fixes this. It might be
> that even though the browser has rendered the page, fastcgi is caching
> the resource, so on the next invocation (when a user clicks), the
> connection is still "in use".
>
> Also, it would be good if we can detect that you are running as fastcgi
> - what is the output of php_sapi_name()?
>> I'm happy to provide any additional assistance or testing with regards
>> to
>> this.
>>
>
> Great, I dont use SASL, so I am dependant on PLA users who do to provide
> the code - I'm happy to include it in PLA :)
>
> ...deon
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ______________________________________
> phpLDAPadmin development mailing list.
> To unsbuscribe:
> https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
> http://phpldapadmin.sourceforge.net/
>
>



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.