[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: What's the difference between -h and -H ?
Harry Rüter writes:
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 ?
try -H ldap://host:port/ instead of adding -p port (which is ignored ...)
Pierangelo
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati