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

RE: ldapsearch options question



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Quanah
Gibson-Mount

> Is there supposed any difference between:
>
> ldapsearch -x -P 2 -h <host.FQDN> -p 636
>
> and
>
> ldapsearch -x -P 2 -H ldaps://<host.FQDN>
>
> ?
>
> My testing shows me that for some servers, syntax A doesn't work, but
> syntax B does, and I don't see what the difference is.

In (A) you are selecting protocol, host, and port - this is still a normal
LDAP session.

In (B) you are selecting protocol, host, and LDAP over SSL. This is an SSL
session that happens to use port 636 by default.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support