My Oracle Support Banner

OUD - OpenLDAP "ldapsearch" Error When Connecting to OUD SSL Port "ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)" (Doc ID 2438761.1)

Last updated on DECEMBER 29, 2022

Applies to:

Oracle Unified Directory - Version and later
Information in this document applies to any platform.


The following error was encountered while trying to use the default OpenLDAP ldapsearch to connect to the OUD SSL port.

$ ldapsearch -H ldaps://localhost:<LDAPS_PORT> -D cn="<DS_ADMIN>" -w <PASSWORD> -x -b dc=<SUFFIX_DN> uid=<USER.100> dn
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.