[phpldapadmin] [ phpldapadmin-Bugs-2837475 ] fail to bind on second (and following?) ldap server

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2837475, was opened at 2009-08-14 17:41
Message generated for change (Comment added) made by wurley
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2837475&group_id=61828

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.2.x
>Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Starikov Sergey (ikonta_521)
Assigned to: Nobody/Anonymous (nobody)
Summary: fail to bind on second (and following?) ldap server

Initial Comment:
The LDAP server is:
FreeBSD 6.4-RELEASE #0
openldap-server-2.4.16_1 Open source LDAP server implementation

The server is configured with hidden root (and looks like two virtual different servers).
Most important acls in slapd.conf are:
access to attrs=userPassword,sambaLMPassword,sambaNTPassword
         by dn="uid=admin,dc=domain1,dc=ru" write
         by dn="uid=admin,dc=domain2,dc=ru" write
         by dn="uid=samba,ou=Services,dc=domain1,dc=ru" write
         by dn="uid=squid,ou=Services,dc=domain2,dc=ru" read
         by dn="uid=apache,ou=Services,dc=domain1,dc=ru" read
         by self read
         by anonymous auth
         by * none

access to dn="cn=subschema"
         by users read

access to dn.subtree="dc=domain1,dc=ru"
         by dn="uid=admin,dc=domain1,dc=ru" write
         by dn="uid=samba,ou=Services,dc=domain1,dc=ru" write
         by dn="uid=squid,ou=Services,dc=domain1,dc=ru" read
         by dn="uid=apache,ou=Services,dc=domain1,dc=ru" read
         by dn.children="ou=People,dc=domain1,dc=ru" read
         by * none



The PLA server is:
FreeBSD 6.3-RELEASE #0 
apache-2.2.8
php5-5.2.5_1        PHP Scripting Language
php5-gettext-5.2.5_1 The gettext shared extension for php
php5-iconv-5.2.5_1  The iconv shared extension for php
php5-ldap-5.2.5_1   The ldap shared extension for php
php5-openssl-5.2.5_1 The openssl shared extension for php
php5-pcre-5.2.5_1   The pcre shared extension for php
php5-session-5.2.5_1 The session shared extension for php
php5-xml-5.2.5_1    The xml shared extension for php
openldap-client-2.3.40 Open source LDAP client implementation
phpldapadmin-1.2.0,1 A set of PHP-scripts to administer LDAP over the web

The servers for PLA 1.2.0 were configured:
$servers->newServer('ldap_pla');
 
$servers->setValue('server','name','domain_1');
$servers->setValue('server','host','ldap.mydomain.ru');
$servers->setValue('server','port',389);
$servers->setValue('login','bind_id','uid=admin,dc=domain1,dc=ru');
$servers->setValue('server','base',array('dc=domain1,dc=ru'));
 
$servers->newServer('ldap_pla');
 
$servers->setValue('server','name','domain_2');
$servers->setValue('server','host','ldap.mydomain.ru');
$servers->setValue('server','port',389);
$servers->setValue('login','bind_id','uid=admin,dc=domain2,dc=ru');
$servers->setValue('server','base',array('dc=domain2,dc=ru'));


The problem will be illustrated by screenshots.
With 1.1.0.6 everything work fine.

----------------------------------------------------------------------

>Comment By: Deon George (wurley)
Date: 2009-08-14 17:48

Message:
This should be fixed in 1.2.0.1 - can you please upgrade and try it. (There
was a bug in 1.2.0 that did affect multi-server configurations).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2837475&group_id=61828

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.