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

Re: Reg OpenLdap on Ubuntu



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