https://bugs.openldap.org/show_bug.cgi?id=9839
--- Comment #5 from Jiaqing Zhao <jiaqing.zhao(a)linux.intel.com> ---
(In reply to Howard Chu from comment #2)
Port=0 is meaningless for clients, so why would anyone ever run into
this?
In #9596 it's done to allow slapd to listen on a dynamically assigned port.
There is no use case for it anywhere else. It's also questionable whether
the change for #9596 is actually appropriate.
+1, I also think listening on a dynamically assigned port is almost useless for
the slapd daemon.
Btw, invalid ports numbers like -1, 2147483648 (INT32_MAX + 1) can get parsed
successfully by ldap_url_parse(). Do you think this is a bug? If so, I will
submit patch for it.
--
You are receiving this mail because:
You are on the CC list for the issue.