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

Re: ldapuri vs. ldaphost



On Sun, Feb 09, 2020 at 19:10:04 +0100, Dieter Klünter wrote:
> ldapurl -H ldap://::1/o=avci,c=de\?\+\?\?
> unable to parse URI "ldap://::1/o=avci,c=de?+??";
> 
> It seems this is more likely  ipv6 related.



The correct notation is ldapurl -H 'ldap://[::1]/'

IPv6 adresses are to be enclosed in [], or the colons would be ambiguous
as ip:port -- for IPv6+port, use [ip]:port.

Mind the quotes, otherwise the shell may parse the [] as a glob pattern.


	Geert


-- 
geert.hendrickx.be :: geert@hendrickx.be :: PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!