Hi, I already have openldap running with TLS - which is working with ldapsearch.

But recently I also installed PLA, but it's not working. My config.php is:
176 $config->custom->appearance['friendly_attrs'] = array(
177   'facsimileTelephoneNumber' => 'Fax',
178   'gid'                      => 'Group',
179   'mail'                     => 'Email',
180   'telephoneNumber'          => 'Telephone',
181   'uid'                      => 'User Name',
182   'userPassword'             => 'Password'
183 );

261 $servers = new Datastore();
265 $servers->newServer('ldap_pla');
269 $servers->setValue('server','name','My LDAP Server');
276 $servers->setValue('server','host','127.0.0.1');
283 $servers->setValue('server','base',array('dc=vizitra,dc=com'));
299 $servers->setValue('login','auth_type','session');
306 $servers->setValue('login','bind_id','cn=admin,dc=vizitra,dc=com');
315 $servers->setValue('server','tls',true);


When I try to login with PLA web interface I receive this error:
Could not start TLS. (My LDAP Server)
Error: Could not start TLS. Please check your LDAP server configuration.
        Unable to connect to LDAP server My LDAP Server
Error: Can't contact LDAP server (-1) for user
        Failed to Authenticate to server
Invalid Username or Password.


At the same time, the "slapd -d 256" displays this:
conn=1005 fd=19 ACCEPT from IP=127.0.0.1:48367 (IP=0.0.0.0:389)
conn=1005 op=0 EXT oid=1.3.6.1.4.1.1466.20037
conn=1005 op=0 STARTTLS
conn=1005 op=0 RESULT oid= err=0 text=
conn=1005 fd=19 TLS established tls_ssf=128 ssf=128
conn=1005 fd=19 closed (connection lost)
conn=1006 fd=19 ACCEPT from IP=127.0.0.1:48368 (IP=0.0.0.0:389)
conn=1006 op=0 EXT oid=1.3.6.1.4.1.1466.20037
conn=1006 op=0 STARTTLS
conn=1006 op=0 RESULT oid= err=0 text=
conn=1006 fd=19 TLS established tls_ssf=128 ssf=128
conn=1006 fd=19 closed (connection lost)


And the connection is not being made. If I disable the TLS in
config.php everything works (but the password is sent in clear-text).

And also ldap.conf is:
uri ldap://127.0.0.1:389


# default DN to use when performing ldap operations
base dc=vizitra,dc=com

# default bind DN to use when performing ldap operations
binddn cn=admin,dc=vizitra,dc=com

# default bind password
bindpw pass

# root bind DN
rootbinddn cn=admin,dc=vizitra,dc=com

# TLS settings

ssl start_tls
tls_reqcert never

# other options
pam_password md5
ldap_version 3



Does anybody have any idea how to solve it?

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to