[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Binding to LDAP/SASL via PHP

On Sun, Apr 14, 2002 at 10:37:55PM -0600, Quinn Perkins wrote:
> I have an OpenLDAP 2.0.23 installation running with SASL 1.5.27 to 
> support a Cyrus IMAP/Postfix mail server. I would like to work with the 
> LDAP directory with PHP 4.1.2.
> I have another LDAP directory without SASL that I can bind to with PHP 
> without any problem (all the same versions).
> For some reason, it won't let me bind to the LDAP w/SASL giving me a 
> "Warning: LDAP: Unable to bind to server: Inappropriate authentication" 
> error and pointing to the line where I specify the password to bind with.

PHP only supports simple authentication for now. SASL is indeed something
that should be supported. You should take this to the PHP lists, and maybe
file a feature request.