Date: Wed, 13 Apr 2011 11:16:06 +0300 From: George Mamalakis <mamalos@eng.auth.gr> To: freebsd-ports-bugs@freebsd.org Subject: php ldap_sasl_bind not available for FreeBSD? Message-ID: <4DA55BC6.6090704@eng.auth.gr>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DA55BC6.6090704>