Anyone doing authenticated LDAP binds using PHP 4.3.3-6?

Robert L Cochran cochranb at speakeasy.net
Thu Dec 4 03:36:57 UTC 2003


Is anyone doing authenticated binds to an LDAP (package 
openldap-servers-2.1.22-8) server as follows:

php-4.3.3-6, php-devel*, phpdomxml*, php-ldap* and php-odbc* are installed

bind is being done via the php ldap_bind function in an html document

the bind is to the root DN and using the rootpw so you can modify a 
specific entry.

I'm doing exactly this and getting the following error:

Warning: ldap_bind(): Unable to bind to server: Inappropriate 
authentication in .... on line 20

When I use the command line ldapmodify tool and this same root DN and 
rootpw, I can bind successfully and add/modify attributes for the entry 
of interest.

The same php script, modified only for the root DN, rootpw, and server 
name, runs to a normal completion on a second machine which has Joe 
Orton's php-4.3.4-1.1 "testing" packages installed.


-- 
Bob Cochran
Greenbelt, Maryland, USA
http://greenbeltcomputer.biz/







More information about the fedora-list mailing list