Sorry for late reply, actualy I was sick those days.
Here is more details.

slapd.conf

include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include
/usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/qmail.schema

pidfile         /usr/local/var/run/slapd.pid
argsfile        /usr/local/var/run/slapd.args

database        bdb
suffix          "dc=webexs,dc=com"
rootdn          "cn=Manager,dc=webexs,dc=com"
rootpw          mypass

index   objectClass     eq
index   mail,mailAlternateAddress,uid                 
 eq,sub
index   accountStatus,mailHost,deliveryMode           
 eq
index   default       

changepaswword config.php

$ldap_server = "localhost";
$ldap_password_field = "userPassword";
$ldap_user_field = "uid";
$ldap_base_dn = "dc=webexs,dc=com";

$query_dn = "" ;
$query_pw = "" ;

$no_bind_as_user = 1 ;

$ldap_bind_as_manager = 1;
$ldap_manager_dn="cn=Manager,dc=webexs,dc=com";
$ldap_manager_pw="mypass";

$change_smb=0;
$smb_passwd="/usr/bin/smbpasswd";
$smb_host="";

$change_ldapsmb=0;
$mkntpwd="/usr/bin/mkntpwd";

$ldapsmb_lmpassword="sambalmpassword";
$ldapsmb_ntpassword="sambantpassword";

Now tell where do i make change and what to resolve
the LDAP bind failed error.


--- Tomas Kuliavas <[EMAIL PROTECTED]>
wrote:

> > Thanks you are realy helpful, I got installed
> every
> > thing and now php is supporting ldap. Now I am
> getting this error.
> >
> > LDAP bind failed.
> >
> >
> > I think this is related to config.php or
> slapd.conf,
> > BTW i dont have any read,write permisions in
> > slapd.conf, every thing is default.
> 
> What does it mean? You can't read slapd.conf or you
> have default slapd.conf?
> 
> Can you change slapd configuration and add 'allow
> bind_v2' option?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to