It has been some posting about this issue, but I cant find a solution
I can't log on to my ldap server port 389 with my browser. service seems to be running.
I am not running selinux, port 389 are open on both client and server.
Message from browser: Access to this port is disabled for security reasons.
Added command (hint from earlier posting) and got this list
# netstat -aptn | grep :389 tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:33057 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:32833 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:33058 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:33053 127.0.0.1:389 ESTABLISHED 2576/httpd tcp 0 0 127.0.0.1:33055 127.0.0.1:389 ESTABLISHED 2574/httpd tcp 0 0 127.0.0.1:33054 127.0.0.1:389 ESTABLISHED 2575/httpd tcp 0 0 127.0.0.1:33057 127.0.0.1:389 ESTABLISHED 2572/httpd tcp 0 0 127.0.0.1:33058 127.0.0.1:389 ESTABLISHED 2569/httpd tcp 0 0 127.0.0.1:33069 127.0.0.1:389 ESTABLISHED 2573/httpd tcp 0 0 127.0.0.1:33068 127.0.0.1:389 ESTABLISHED 2570/httpd tcp 0 0 127.0.0.1:33067 127.0.0.1:389 ESTABLISHED 2571/httpd tcp 0 0 127.0.0.1:33084 127.0.0.1:389 ESTABLISHED 3235/-bash tcp 0 0 127.0.0.1:389 127.0.0.1:33093 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:33093 127.0.0.1:389 ESTABLISHED 3269/-bash tcp 0 0 127.0.0.1:389 127.0.0.1:32837 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:32815 127.0.0.1:389 ESTABLISHED 2443/cupsd tcp 0 0 127.0.0.1:32837 127.0.0.1:389 ESTABLISHED 2494/xinetd tcp 0 0 127.0.0.1:32833 127.0.0.1:389 ESTABLISHED 2479/sshd tcp 0 0 127.0.0.1:32851 127.0.0.1:389 ESTABLISHED 2563/xfs tcp 0 0 127.0.0.1:32861 127.0.0.1:389 ESTABLISHED 2625/dbus-daemon-1 tcp 0 0 127.0.0.1:32856 127.0.0.1:389 ESTABLISHED 2615/atd tcp 0 0 127.0.0.1:32905 127.0.0.1:389 ESTABLISHED 2664/sh tcp 0 0 127.0.0.1:389 127.0.0.1:32905 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:33067 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:43309 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43308 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43311 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43310 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43305 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43304 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43307 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43306 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43301 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43303 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43302 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43298 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43325 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43324 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43327 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43326 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43321 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43320 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43323 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43322 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43317 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43316 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43319 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43318 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43313 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43312 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43315 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43314 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:389 127.0.0.1:33069 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:43373 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43372 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43375 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43374 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43369 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43368 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43371 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43370 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43365 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43364 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43367 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43366 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43361 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43360 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43363 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43362 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43389 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43388 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43391 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43390 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43385 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43384 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43387 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43386 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43381 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43380 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43383 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43382 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43377 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43376 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43379 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43378 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43341 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43340 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43343 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43342 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43337 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43336 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43339 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43338 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43333 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43332 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43335 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43334 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43329 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43328 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43331 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43330 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43357 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43356 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43359 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43358 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43353 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43352 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43355 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43354 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43349 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43348 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43351 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43350 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43345 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43344 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43347 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43346 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43437 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43436 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43439 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43438 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43433 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43432 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43435 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43434 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43429 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43428 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43431 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43430 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43425 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43424 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43427 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43426 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43453 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43452 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43455 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43454 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43449 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43448 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43451 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43450 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43445 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43444 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43447 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43446 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43441 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43440 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43443 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43442 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43405 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43404 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43407 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43406 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43401 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43400 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43403 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43402 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43397 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43396 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43399 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43398 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43393 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43392 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43395 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43394 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43421 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43420 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43423 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43422 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43417 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43416 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43419 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43418 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43413 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43412 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43415 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43414 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43409 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43408 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43411 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43410 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43457 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43456 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43459 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:43458 127.0.0.1:389 TIME_WAIT - tcp 0 0 127.0.0.1:389 127.0.0.1:33068 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:32815 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:32851 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:32856 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:33053 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:32861 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:33084 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:33055 ESTABLISHED 2407/slapd tcp 0 0 127.0.0.1:389 127.0.0.1:33054 ESTABLISHED 2407/slapd tcp 0 0 :::389 :::* LISTEN 2407/slapd
Am Fr, den 27.01.2006 schrieb Kai Sandsengen um 22:40:
It has been some posting about this issue, but I cant find a solution
I can't log on to my ldap server port 389 with my browser. service seems to be running.
Big question mark. What do you expect from trying to speak HTTP with the OpenLDAP server? I don't see what kind of sense that would make. Use `ldapsearch' or whatever tool from the LDAP clients software to interact with the LDAP server.
I am not running selinux, port 389 are open on both client and server.
Message from browser: Access to this port is disabled for security reasons.
Do you try that on the localhost itself? Did you protect slapd by tcp-wrappers?
Configure syslog to log facility local4.* and observe the resulting log file if you want to see what the LDAP server does.
Alexander
Alexander Dalloz wrote:
Am Fr, den 27.01.2006 schrieb Kai Sandsengen um 22:40:
It has been some posting about this issue, but I cant find a solution
I can't log on to my ldap server port 389 with my browser. service seems to be running.
Big question mark. What do you expect from trying to speak HTTP with the OpenLDAP server? I don't see what kind of sense that would make. Use `ldapsearch' or whatever tool from the LDAP clients software to interact with the LDAP server.
I assumed that phpldapadmin was installed since I have a program called php-ldap. And therefore tried to contact phpldapadmin. I used port 389 because i cant find any info within the doc. This gui works very well with my debian server. Maybe the service is called with an other name or maybe another port/ns?
I am not running selinux, port 389 are open on both client and server.
Message from browser: Access to this port is disabled for security reasons.
Do you try that on the localhost itself? Did you protect slapd by tcp-wrappers?
Configure syslog to log facility local4.* and observe the resulting log file if you want to see what the LDAP server does.
Alexander
I think my problem is within the httpd.conf.
Am Sa, den 28.01.2006 schrieb Kai Sandsengen um 1:22:
I can't log on to my ldap server port 389 with my browser. service seems to be running.
Big question mark. What do you expect from trying to speak HTTP with the OpenLDAP server? I don't see what kind of sense that would make. Use `ldapsearch' or whatever tool from the LDAP clients software to interact with the LDAP server.
I assumed that phpldapadmin was installed since I have a program called php-ldap. And therefore tried to contact phpldapadmin. I used port 389 because i cant find any info within the doc.
O, I see :) No, you are on the wrong path: php-ldap is not phpldapadmin! It (php-ldap) is just the module for PHP to use LDAP functions within PHP code.
http://centos.karan.org/el4/extras/stable/i386/RPMS/repodata/repoview/phplda...
You should use that repository and install phpldapadmin from there.
This gui works very well with my debian server.
It works on CentOS fine too.
I think my problem is within the httpd.conf.
No, it is most certainly not. Given you follow the advise to install the phpldapadmin RPM from centos.karan.org you need to configure /etc/phpldapadmin/config.php with your specific server information, as well /etc/httpd/conf.d/phpldapadmin.conf.
Alexander
That would do the trick, installing the program, thank you :)
Alexander Dalloz wrote:
Am Sa, den 28.01.2006 schrieb Kai Sandsengen um 1:22:
I can't log on to my ldap server port 389 with my browser. service seems to be running.
Big question mark. What do you expect from trying to speak HTTP with the OpenLDAP server? I don't see what kind of sense that would make. Use `ldapsearch' or whatever tool from the LDAP clients software to interact with the LDAP server.
I assumed that phpldapadmin was installed since I have a program called php-ldap. And therefore tried to contact phpldapadmin. I used port 389 because i cant find any info within the doc.
O, I see :) No, you are on the wrong path: php-ldap is not phpldapadmin! It (php-ldap) is just the module for PHP to use LDAP functions within PHP code.
http://centos.karan.org/el4/extras/stable/i386/RPMS/repodata/repoview/phplda...
You should use that repository and install phpldapadmin from there.
This gui works very well with my debian server.
It works on CentOS fine too.
I think my problem is within the httpd.conf.
No, it is most certainly not. Given you follow the advise to install the phpldapadmin RPM from centos.karan.org you need to configure /etc/phpldapadmin/config.php with your specific server information, as well /etc/httpd/conf.d/phpldapadmin.conf.
Alexander
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos