LDAP / Active directory

LDAP / Active directory

tikiwiki/ldap error "Invalid username or password"


we have been trying to setup ldap with tikiwiki without success.
the ldap service is running on a remote machine. it works fine with other services like redmine, login (except with tikiwiki).

the tikiwiki server has the following config


tikiwiki server config


Linux version 2.6.31-20-generic (buildd@crested) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) )
mysql Ver 14.14 Distrib 5.1.37
PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7

this is the ldap server config


ldap.conf at the ldap server


host ldap-server
base ldap-server,dc=br
uri ldap://ldap-server
ldap_version 3
bind_policy soft
nss_base_passwd ldap-server,dc=br?sub
nss_base_shadow ldap-server,dc=br?sub
nss_base_group ou=Groups,ldap-server,dc=br?one
nss_base_hosts ou=Hosts,ldap-server,dc=br?one

tls_checkpeer no
ssl off
nss_initgroups_ignoreusers backup,bin,daemon,games,gdm,gnats,haldaemon,irc,landscape,libuuid,list,lp,mail,man,messagebus,news,openldap,postfix,proxy,pulse,root,sshd,statd,sync,sys,syslog,uucp,www-data

The only error message we got is "Invalid username or password".
Can anyone give us some idea ? how can we debug it ? is there a 'verbose mode' ? is it required to create the username before the login ?