I think I found the cause of thisit is in /etc/default/slapd by adding 'SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:/// ldapi:///"'Just commenting it solved the problem! Thanks.
From: [email protected] To: [email protected] Subject: RE: 389 port is closed from the client point of view Date: Wed, 30 Jan 2013 00:14:07 +1100 CC: [email protected] Here is it, # netstat -nltpActive Internet connections (only servers)Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program nametcp 0 0 0.0.0.0:749 0.0.0.0:* LISTEN 1072/kadmind tcp 0 0 0.0.0.0:464 0.0.0.0:* LISTEN 1072/kadmind tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 946/sshd tcp 0 0 0.0.0.0:636 0.0.0.0:* LISTEN 1084/slapd tcp 0 0 127.0.0.1:389 0.0.0.0:* LISTEN 1084/slapd tcp6 0 0 :::464 :::* LISTEN 1072/kadmind tcp6 0 0 :::80 :::* LISTEN 864/apache2 tcp6 0 0 :::22 :::* LISTEN 946/sshd tcp6 0 0 :::636 :::* LISTEN 1084/slapd What do you mean by Hash: SHA1 ? where can I hash it ? Thanks. > From: [email protected] > To: [email protected] > Subject: Re: 389 port is closed from the client point of view > Date: Tue, 29 Jan 2013 12:40:58 +0000 > CC: [email protected] > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Seems that your slapd is binding the localhost address only. Please, > run this command on sever side to confirm that: > > netstat -nltp > > Em 29-01-2013 10:16, Asmaa Ahmed escreveu: > > Hello, > > > > I am trying to get my ldap binding running, but some how it doen't > > work! When I checked the port using nmap, I can see clearly that it > > is closed while the server listens to it! > > > > client# nmap -p 389 ldap.domain.com > > > > Starting Nmap 5.00 ( http://nmap.org ) at 2013-01-29 23:09 EST > > Interesting ports on ldap.domain.com (203.28.247.83): PORT > > STATE SERVICE 389/tcp closed ldap > > > > Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds > > > > > > root@server:/etc/ldap# nmap -p 389 localhost > > > > Starting Nmap 5.00 ( http://nmap.org ) at 2013-01-29 23:09 EST > > Interesting ports on localhost (127.0.0.1): PORT STATE SERVICE > > 389/tcp open ldap > > > > Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds > > root@server:/etc/ldap# root@server:/etc/ldap# nmap localhost > > > > Starting Nmap 5.00 ( http://nmap.org ) at 2013-01-29 23:10 EST > > Interesting ports on localhost (127.0.0.1): Not shown: 994 closed > > ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http > > 389/tcp open ldap 464/tcp open kpasswd5 636/tcp open ldapssl > > 749/tcp open kerberos-adm > > > > Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds > > root@server:/etc/ldap# cat /etc/hosts 127.0.0.1localhost > > #127.0.1.1ldap.domain.comldap 203.28.247.83ldap.domain.com > > ldap > > > > How can I fix this? > > > > Thanks. > > > - -- > Matheus Morais > Infraestrutura de TI - Datacenter > Confederação SICREDI - Porto Alegre > 51 3358-4700 ramal 7143 > http://www.sicredi.com.br > > www.sicredi.com.br > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJRB8NUAAoJEJaxmh5NVUoj6AoH/3ZzeBnuwXNXm5rIJSgPRMO7 > w6+wszrmcwEbwwlJgA41sCLfTfSegn5q34IJSG6qE7+5/rXRQPmsl7KwE2lvlJXu > c73/30ADW6lP4Pka/i4Zvd6+fXq/aFG5QHXZ/Se2zvazYLq9HKWblAUpnGVoljR3 > j6XIT3EYbEHOFyNkm7sPwW1m2MncMeuTIo+ToyQaTHRH2GleXrqETmKLjmK9EzxZ > EZQpmSgufqXu92GmjwNrWFU2PEpBW4Seq7Xm71E3Mo/imfUizUo19+ER9D7z3kOk > /iPLZO8Z+DUBzF5IFKzHR9km59j59YPxmarxZC2F5Xab4XTqfBSKh9OWuOnHwm0= > =3m1T > -----END PGP SIGNATURE-----= > Esta mensagem é somente para uso do destinatário informado e pode conter > informações privilegiadas, proprietárias, ou privadas. Se você recebeu esta > mensagem por engano, por favor notifique o remetente imediatamente e apague a > original. Qualquer uso deste email é proibido. > This message is for the designated recipient only and may contain privileged, > proprietary, or otherwise private information. If you have received it in > error, please notify the sender immediately and delete the original. Any > other use of the email by you is prohibited. > >
