From:             sriram dot natarajan at gmail dot com
Operating system: unix
PHP version:      5.3SVN-2009-10-08 (snap)
PHP Bug Type:     LDAP related
Bug description:  srinatar

Description:
------------
php ldap extension's config.m4 when enabled with ldap extension checks to
see if certain ldap functions are to be enabled. currently, these ldap
functions are checked to be available on the system rather than with the
ldap library that the customer is trying to compile with

for example, if i try to php with openldap on solaris or aix, current
ldap's config.m4 extension uses AC_CHECK_FUNCS to determine if these
functions are available on the system . this is ok, if ldap library is
available on the system (like is the case with linux)

better solution would be to check if these functions are avaialable with
the ldap library provided at this option : --with-ldap=<directory>


Reproduce code:
---------------
compiling with --with-ldap=<path-to-openldap> on aix or solaris machine
causes these ldap functions to be not available even though opendlap
library has them

Expected result:
----------------
ldap_parse_result, ldap_start_tls_s functions should be available on any
unix systems if compiled against openldap library

Actual result:
--------------
all ldap functions are avaialable if linked against openldap

-- 
Edit bug report at http://bugs.php.net/?id=49808&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49808&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49808&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49808&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49808&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49808&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49808&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49808&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49808&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49808&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49808&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49808&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49808&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49808&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49808&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49808&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49808&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49808&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49808&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49808&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49808&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49808&r=mysqlcfg

Reply via email to