Pointing direct to remote_ip:1389 was not and option because the application is taking the LDAP port from the openldap libs (LDAP_PORT) which is a constant integer = 389 ...
The solution proved to be very simple - install a small port redirect program rinted do a small configuration into .
# config /etc/rinetd.conf127.0.0.1 389 remote_ip 1389 # start the daemon (only if you install it from rpm - if not just start manually) /etc/init.d/rinetd start
And this is it - all works just fine.
Note that doing an iptables PREROUTING and DNAT will not work in my case because iptables can do
redirects ONLY into the local network.
0 comments:
Post a Comment