Dieter Klünter wrote: > Hi, > > The manual pages ldapsearch(1) et.al. describe ldapuri abbriviation as > -H and ldaphost abbriviation -h. Both, ldapuri and ldpaphost > description might be of host name or host ip. If ldapuri is a ipv6 > address, an error occurs: > Could not parse LDAP URI(s)=2001:16b8:c115:9f00:44ff:f15b:11d1:e620 (3 > > ldapsearch -YGSSAPI -H 2001:16b8:c115:9f00:44ff:f15b:11d1:e620 -b "" -s > base +. Just for verification one may use ipv6 address ::1 > > The question is: must ldapuri contain a hostname, or would a > hostaddress be sufficient. While ldaphost accepts hostname and > hostaddress?
ldapuri must contain a URI. That is why it is called what it is. A bare hostname or IP address are not valid URIs. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
