[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
OpenLDAP starts, but...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've managed to make OpenLDAP start, but I still can't get everything to work
correctly.
I've configured phpldapadmin to start TLS, like this:
$servers[$i]['name'] = 'Science Fiction Readers';
$servers[$i]['host'] = 'ldap://master.pupeno.com';
$servers[$i]['base'] = 'dc=sfreaders,dc=com,dc=ar';
$servers[$i]['port'] = 389;
$servers[$i]['auth_type'] = 'session';
$servers[$i]['tls'] = true;
but on the browser, I get:
"Could not start TLS. Please check your LDAP server configuration."
and on the logs I get (among others):
Mar 14 20:40:11 master slapd[12234]: connection_get(17)
Mar 14 20:40:11 master slapd[12234]: connection_get(17): got connid=0
Mar 14 20:40:11 master slapd[12234]: connection_read(17): checking for input
on id=0
Mar 14 20:40:11 master slapd[12234]: connection_read(17): TLS accept error
error=-1 id=0, closing
Mar 14 20:40:11 master slapd[12234]: connection_closing: readying conn=0
sd=17 for close
so I changed phpldapadmin to use SSL (ldaps) instead, and I've configured it
this way:
$servers[$i]['name'] = 'Science Fiction Readers';
$servers[$i]['host'] = 'ldaps://master.pupeno.com';
$servers[$i]['base'] = 'dc=sfreaders,dc=com,dc=ar';
$servers[$i]['port'] = 636;
$servers[$i]['auth_type'] = 'session';
$servers[$i]['tls'] = false;
and now, when trying to log in I get "Bad username or password. Please try
again." which doesn't make much sense but I've seen phpldapadmin fail with
that error when the problem was anything.
This times the logs show this (almost the same):
Mar 14 20:49:37 master slapd[12234]: connection_get(17)
Mar 14 20:49:37 master slapd[12234]: connection_get(17): got connid=4
Mar 14 20:49:37 master slapd[12234]: connection_read(17): checking for input
on id=4
Mar 14 20:49:37 master slapd[12234]: connection_read(17): TLS accept error
error=-1 id=4, closing
Mar 14 20:49:37 master slapd[12234]: connection_closing: readying conn=4
sd=17 for close
Mar 14 20:49:37 master slapd[12234]: connection_close: conn=4 sd=17
Can anybody make any meaning out of it and give me some hints as to what am I
doing wrong ?
- --
Pupeno: pupeno@pupeno.com - http://pupeno.com
Reading Science Fiction ? http://sfreaders.com.ar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFCNkB3fW48a9PWGkURAqcSAJ0Uwbl+O542oiKywyf8SjxxotkeJACfe4CG
NzEh1b/BMvoViKHw4ke7TUU=
=WFeW
-----END PGP SIGNATURE-----