[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: What's the difference between -h and -H ?
The -h and -p options go together. The -H option expects a URL and ignores
both the -h and -p options. If you want to specify a port with -H use proper
URL syntax:
ldap://486dx66.hrnet.de:5389
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Harry Ruter
> Sent: Thursday, August 29, 2002 3:31 AM
> To: OpenLDAP-software@OpenLDAP.org
> Subject: What's the difference between -h and -H ?
>
>
>
> Hi,
>
> i read the manpages of ldapwhoami (v2.1.4),
> but i don't know what's the "real" difference
> between the -h and the -H option.
>
> I show you, what makes me ask this question :
>
> ---snipp---
> 486dx66:~ # /usr/local/ldap/bin/ldapwhoami -h 486dx66.hrnet.de -p 5389
> SASL/GSSAPI authentication started
> SASL username: harry@HRNET.DE
> SASL SSF: 56
> SASL installing layers
> dn:uid=harry,cn=hrnet.de,ou=ldap,o=myorganization,dc=hrnet,dc=de
> Result: Success (0)
> ---snipp---
>
> You see, it works fine, but -h is deprecated.
>
> Now, the other way :
>
> ---snipp---
> 486dx66:~ # /usr/local/ldap/bin/ldapwhoami -H
> ldap://486dx66.hrnet.de -p 5389
> SASL/GSSAPI authentication started
> SASL username: harry@HRNET.DE
> SASL SSF: 56
> SASL installing layers
> Result: Protocol error (2)
> Additional info: unsupported extended operation
> ---snipp---
>
> This doesn't work,
> looking to the logfile of the server i see,
> there's no connection, the error must be in ldapwhoami ..
>
> Any suggestions to this behaviour ?
>
> greets
>
> Harry
>
>