Comments

Posted by Stefan Gehrig (sgehrig) on 2010-12-12T22:58:42.000+0000

Could you please make sure, that ext/ldap (that's the LDAP PHP extension) is working correctly on your CentOs machine? Try to connect to the server using the core ldap_*-functions.
Check you php.ini for any configuration parameters present - also check phpinfo(); for the ext/ldap.

It's quite uncommon that Zend_Ldap brings down the whole script by itself without any error message.

Please also do a check on your error log. If you disabled error logging, please turn it on, so that PHP low-level errors are logged to a file (alternatively switch display_errors on so that PHP low-level errors are displayed on screen),

We'd need a lot mor information to do some debugging on this one.

Posted by Ramlan Gustian (rampog) on 2010-12-12T23:34:26.000+0000

Hi Stefan Gehrig
i am very pleasure for reply
i have created new case in ticketing support but still no reply
i also have attach files that support tools generate

all is well connecting to Active Directory both windows & my centOs machine if valid username & password

but only invalid credential in my CentOs machine terminated scripts

i check in /usr/local/zend/var/log/php.log nothing change when i execute that invalid credential

Do you have any other Linux machine on hand to try the code? What AD server are you authenticating against (Windows Server 2003, Windows Server 2008)?

Posted by Ramlan Gustian (rampog) on 2010-12-15T20:07:54.000+0000

Windows Server 2008
any recommendation what php version that work properly
for doing authentication through LDAP Active Directory
that you have tried?

Posted by Stefan Gehrig (sgehrig) on 2010-12-16T00:00:23.000+0000

Do you have any possibility to run the Zend_Ldap unit tests on both of your machines?

I actually managed to run all the tests successfully from a Windows machine (PHP 5.2.x) connecting to OpenLDAP, Windows 2003 R2 and Windows 2008 and from a Mac (PHP 5.3.3) connecting to OpenLDAP and Windows 2003 R2. Unfortunately I don't have a Windows 2008 virtual machine available, so I cannot test PHP 5.3.3 against the Windows 2008 AD.