how to test my ldap server url using telnet

邮差的信 提交于 2019-12-11 11:23:56

问题


i have an ldap server on my local and remote. I could telnet to my local ldap url, but i have trouble telnet to my remote.

telnet www.ilovebears.com 389 and i get an empty screen with a blinking cursor.

is this because of some socket configuration or that the port isn't available?


回答1:


telnet www.ilovebears.com 389 and i get an empty screen with a blinking cursor

That's exactly what you should get. LDAP doesn't speak Telnet. All you can accomplish with a Telnet client is to establish that the server can be connected to.

If you want to exercise the server as an LDAP server you have to use an LDAP client.




回答2:


Your directory server was definitely listening on port 389 at www.ilovebears.com; however, it is no longer.

Do you really need/want to have your server listening on an open port on the Internet?




回答3:


Maybe a little bit late, but here you may find a very basic implementation of a java based LDAP client, very useful for debugging.

Hint : you may use ldaps://x.x.x.x:y for the LDAP over SSL as well...



来源:https://stackoverflow.com/questions/28242740/how-to-test-my-ldap-server-url-using-telnet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!