Re: [PHP] ldap_bind() issue

2008-01-14 Thread Richard Lynch
On Fri, January 11, 2008 3:54 pm, Greg Donald wrote:
 On 1/11/08, Richard Lynch [EMAIL PROTECTED] wrote:
 This strikes me as if you've got a Private/Public key issue where
 you
 neglected to generate/install a key-pair...

 Yeah, the certificate error message makes me think something is not
 right with my PHP install or how it's talking to the OpenLDAP libs..
 but what exactly is the mystery.  ldap_bind()'s Error unknown
 message isn't very helpful.

 Meanwhile another project of mine, on that same server, uses ruby-ldap
 and works just fine.

Perhaps try less restrictive checks on the keys -- E.g., in cURL, you
an set it to not check the peer certificate, so it doesn't die on
certs issued by less-known CAs.

I have no idea if you can DO that in LDAP, but perhaps it will lead
somewhere...

You could also try contacting the host and see if they could grep
their logs for any info that might be of use to you.

So long as you give them a time-stamp and some distinctive data that
should be there like your IP, you're only asking somebody to spend a
couple minutes to help you out.

Even large companies occasionally have humans working for them. :-)

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

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



Re: [PHP] ldap_bind() issue

2008-01-11 Thread Richard Lynch
On Fri, January 11, 2008 11:44 am, Greg Donald wrote:

I really have NO IDEA, but...

 ldap_int_sasl_open: host=ldap.example.com
 TLS certificate verification: depth: 0, err: 66, subject:
 C=US,ST=SomeState,O=SomeCompany,CN=ldap.example.com, issuer:
 C=US,O=Equifax,OU=Equifax Secure Certificate Authority
 TLS certificate verification: Error, Unknown error
 TLS: can't connect.
 ldap_err2string

This strikes me as if you've got a Private/Public key issue where you
neglected to generate/install a key-pair...

Or did you sanitize this before you posted?...

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

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



Re: [PHP] ldap_bind() issue

2008-01-11 Thread Greg Donald
On 1/11/08, Richard Lynch [EMAIL PROTECTED] wrote:
 This strikes me as if you've got a Private/Public key issue where you
 neglected to generate/install a key-pair...

Yeah, the certificate error message makes me think something is not
right with my PHP install or how it's talking to the OpenLDAP libs..
but what exactly is the mystery.  ldap_bind()'s Error unknown
message isn't very helpful.

Meanwhile another project of mine, on that same server, uses ruby-ldap
and works just fine.

 Or did you sanitize this before you posted?...

Had to, yes.


-- 
Greg Donald
http://destiney.com/

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