LDAP how to get all listed entries [message #672306] |
Wed, 10 October 2018 14:12  |
wtolentino
Messages: 422 Registered: March 2005
|
Senior Member |
|
|
before if I want to get info about the database service name, or connect descriptors I would normally opened the tnsnames.ora file. now that we are using LDAP, how do I get all the entries that are in the LDAP?
all that the ldap.ora file has are:
DEFAULT_ADMIN_CONTEXT = ...
DIRECTORY_SERVERS = ...
DIRECTORY_SERVER_TYPE = ...
note: i replaced the actual values for each parameters with ...
thanks
|
|
|
|
|
|
|
|
|
Re: LDAP how to get all listed entries [message #672320 is a reply to message #672312] |
Thu, 11 October 2018 07:33   |
wtolentino
Messages: 422 Registered: March 2005
|
Senior Member |
|
|
before I post my inquires here I always google and if I can't find the answer that I am looking for that's when I post in this forum for help/advise.
i tried but could not find it in google or maybe it's the keywords that i typed in.
after reading some online docs about LDAP my best guess was that the info that i am looking for was on this parameter in the LDAP.ora
DIRECTORY_SERVERS = (...)
and in that server i might find it.
|
|
|
Re: LDAP how to get all listed entries [message #672321 is a reply to message #672318] |
Thu, 11 October 2018 07:40   |
John Watson
Messages: 8966 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
wtolentino wrote on Thu, 11 October 2018 13:08
thanks yes I use tnsping when I know what is the database name or service name. but to get all the entries just like when I open the tnsnames.ora file how do I do that for LDAP. You can use the supplied ldap utilities to bind to and search the directory,C:\Users\john>
C:\Users\john>dir %ORACLE_HOME%\bin\ldap*
Volume in drive C is OS
Volume Serial Number is 4454-E531
Directory of C:\app\oracle\product\12.2.0\dbhome_1\bin
23/11/2016 22:54 560,128 ldapadd.exe
23/11/2016 22:54 568,832 ldapaddmt.exe
23/11/2016 22:54 523,264 ldapbind.exe
23/11/2016 22:54 523,776 ldapcompare.exe
23/11/2016 22:54 523,776 ldapdelete.exe
23/11/2016 22:54 523,776 ldapmoddn.exe
23/11/2016 22:54 560,128 ldapmodify.exe
23/11/2016 22:54 568,832 ldapmodifymt.exe
23/11/2016 22:54 549,376 ldapsearch.exe
9 File(s) 4,901,888 bytes
0 Dir(s) 63,582,928,896 bytes free
C:\Users\john>
|
|
|
|
|
|
Re: LDAP how to get all listed entries [message #672338 is a reply to message #672327] |
Thu, 11 October 2018 12:10   |
wtolentino
Messages: 422 Registered: March 2005
|
Senior Member |
|
|
thanks all.
i think maybe it is not on the client.
Microsoft Windows [Version 10.0.16299.666]
(c) 2017 Microsoft Corporation. All rights reserved.
O:\>ldaplist
'ldaplist' is not recognized as an internal or external command,
operable program or batch file.
O:\>lsnrctl services
'lsnrctl' is not recognized as an internal or external command,
operable program or batch file.
O:\>lsnrctl
'lsnrctl' is not recognized as an internal or external command,
operable program or batch file.
O:\>
|
|
|
|
|
|