I m working on a project called Distributed CMS for that i need to authenticate users via LDAP thru PHP scripts. Actually I m gonna use netLDAP package in PEAR to add,delete,modify user entries.
But i am failing it to bind with SASL
So how to change bindtype from SASL to Simple with TLS or without ?
Or what to do for SASL bind to work ??
The PHP scripts for simple bind & anonymous bind gives successful result on browser ..
The following errors I get when try any command like ldapadd,ldapwhoami ...
Code:
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive bind_s : Invalid credentials (49)
additional info : SASL(-13) : user not found : no secret in database
Am i missing something ????
Our System :
Open SUSE 10.3.
OpenLDAP 2.3.39 openldap-stable-20071118.tgz.
Sleepycat BerkeleyDB - 4.5.20.
Cyrus SASL 2.1.22.
( all are manually installed thru source code as per tldp LDAP-HOWTO )
also tried to use SUSE default distibution packages first ---
Any help is appreciated ....
