[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5739) "host:port" does not work

h.b.furuseth@usit.uio.no wrote:
> Full_Name: Hallvard B Furuseth
> Version: HEAD, RE24
> OS: Linux x86_64
> URL:
> Submission from: (NULL) (
> Submitted by: hallvard
> $ clients/tools/ldapwhoami -x -h ldap:389
> ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
> $ clients/tools/ldapwhoami -x -h ldap
> anonymous

Why are you reporting this? "-h" has always been documented to only accept a 
hostname, you must use "-p" to set the port.
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/