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

Re: Reg OpenLdap on Ubuntu



Hi Machael,

The first command works fine (ldapsearch -x -H ldap://ldap-company.com -ZZ) but the second one (ldapsearch -x -H ldaps://ldap-company.com:636 -ZZ) is showing error :

ldap_start_tls: Operations error (1)

-Asimananda

2009/7/20 Michael Ströder <michael@stroeder.com>
Asimananda Mohanty wrote:
> Hi Michael,
>
> Thanks for the reply.
>
> I tried with "ldapsearch -x -H ldap://ldap-company.com:636
> <http://ldap-company.com:636> -ZZ -D dc=ldap-company,dc=com" and got the
> error :
>
> ber_get_next failed.
> ldap_start_tls: Can't contact LDAP server (-1)

Sorry should have been

ldapsearch -x -H ldap://ldap-company.com -ZZ

for LDAP access going to standard port 389 (clear-text) and then using
StartTLS extended operation.

Another option is to use LDAPS (LDAP over SSL) to separate port:

ldapsearch -x -H ldaps://ldap-company.com:636 -ZZ

Ciao, Michael.

--
Michael Ströder
E-Mail: michael@stroeder.com
http://www.stroeder.com