[Freeipa-devel] [PATCH] check for LDAP ports during install

Simo Sorce ssorce at redhat.com
Mon Oct 15 16:29:25 UTC 2007


On Mon, 2007-10-15 at 10:49 -0400, Rob Crittenden wrote:
> Patch to verify that the LDAP ports are available when doing an 
> installation. If they aren't the FDS installer will crash and burn.

To properly check you should not try to connect to the ports, but
instead try to bind the ports.
Connect may fail because of firewall or maybe because a server is bound
only to the public IP and not localhost, etc ...
Trying to bind to the wildcard address will tell you exactly if binding
is possible. Can you change the patch to try to bind instead of trying
to connect?

Thanks,
Simo.




More information about the Freeipa-devel mailing list