php ldap_sasl_bind not available for FreeBSD?

George Mamalakis mamalos at eng.auth.gr
Wed Apr 13 08:34:36 UTC 2011


Dear all,

We are writing a php script that has to use sasl/gssapi authentication 
with openldap. When I saw the available options of lang/php5, 
lang/php5-extensions and net/php5-ldap I realized that there was no 
option regarding sasl-ldap support. When I used the function 
ldap_sasl_bind() to connect to my openldap server, php returned the 
error: "Call to undefined function ldap_sasl_bind()". In order to build 
php with ldap_sasl support, I had to do what 
http://php.net/manual/en/function.ldap-sasl-bind.php suggested, which 
was to alter /usr/ports/lang/php5/Makefile to include /--with-ldap-sasl 
/in its//configuration options. After that everything worked as 
expected, but I suspect that there should be a FreeBSD-ports-centric way 
to achieve this.

Should I send a PR to the port maintainer, or is there something I am 
missing regarding this issue?

Thank you all for your time in advance,

mamalos
//

-- 
George Mamalakis

IT Officer
Electrical and Computer Engineer (Aristotle Un. of Thessaloniki),
MSc (Imperial College of London)

Department of Electrical and Computer Engineering
Faculty of Engineering
Aristotle University of Thessaloniki

phone number : +30 (2310) 994379




More information about the freebsd-ports-bugs mailing list