[Date Prev][Date Next]
Re: (ITS#5295) option to allow slapd bind to any available port
> Full_Name: Chitra Vemkatramani
> Version: 2.3.27
> OS: Redhat
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (184.108.40.206)
> For a project that we are using openldap in, we would like to allow multiple
> users to start up ldap servers on the same machine. We would like an option on
> the slapd command line asking the server to pick any available port to bind to.
> We can then do netstat, find the port and pass that on to the client. Here is
> the patch we put in, to allow us to specify -1 for the port, so that the server
> will pick any available port. Can you please consider adding this to the server
> options ?
Hacking the server code to support your peculiar disorganization doesn't seem
like a good idea. Just have your users agree on the port numbers they'll each use.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/