My Oracle Support Banner

OUD - Need To Use Ldapsearch From OUD Distribution (Doc ID 1374393.1)

Last updated on MAY 17, 2018

Applies to:

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


Problem Description:

The OS ldapsearch command can create  some confusion, as it might work in somes cases, but not when connecting to the admin port.

 which ldapsearch

<basedir>/oud/Oracle/Middeware/ds_2221/OUD/bin# ldapsearch -p 2221 -D "cn=Directory Manager" -w secret12 -b "dc=example,dc=com" uid=user.0

dn: uid=user.0,ou=People,dc=example,dc=com
postalAddress: Aaccf Amar$01251 Chestnut Street$Panama City, DE  50369
postalCode: 50369
title: PDG
uid: user.0
description: This is the description for Aaccf Amar.
employeeNumber: 0
initials: ASA
givenName: Aaccf
objectClass: person
objectClass: organizationalperson
objectClass: inetorgperson
objectClass: top
pager: +1 779 041 6341
mobile: +1 010 154 3228
cn: Aaccf Amar
telephoneNumber: +1 685 622 6202
sn: Amar
street: 01251 Chestnut Street
homePhone: +1 225 216 5900
l: Panama City
st: DE
displayName: Amar Aaccf

 <basedir>/oud/Oracle/Middeware/ds_2221/OUD/bin/ldapsearch  -p 2224 -D "cn=Directory Manager" -w secret12    -b  "cn=config" objectclass=* ldap_simple_bind: Can't contact LDAP server


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
 Problem Description:
 Documentation pointer:

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