My Favorites


Please to see your favorites.

Using ldapsearch to find DNS-DHCP locator objects

This document (7010886) is provided subject to the disclaimer at the end of this document.


Open Enterprise Server 11 (OES11)
Open Enterprise Server 11SP1 (OES11SP1)
Novell DNS
Domain Services for Windows


Ho To find DNS-DHCP locator objects
Not all Zones are displayed in the DNS/DHCP Management Console
How many locator objects are in the tree?
How to discover where a DNS-DHCP locator object is in the tree.


The objectclass for a DNS-DHCP locator object is DNIP:locator dn

Example of a simple anonymous ldapsearch for all locator objects
ldapsearch -x -b “” -s sub objectClass=dNIPlocator

Example of secure simple bind ldapsearch
In this example user is admin.novell and the base container is o=novell
/usr/bin/ldapsearch -x -H ldaps:// -D cn=admin,o=novell -W -b "o=novell" -s sub "(objectclass=dnip:locator)" dn

Example of a DSfW IPCEXTERNAL bind ldapsearch on a DSfW server
Be sure to export the LAPCONF=/etc/opt/novell/xad/openldap/ldap.conf before running the search
/usr/bin/ldapsearch -Y EXTERNAL -b "" -s sub "(objectclass=dnip:locator)" dn

-x is for simple binds
-H ldaps:// is the secure bind
-D is the bind user name and context
-W prompts for password
-b is the base
-s is the scope, use sub to do a subtree seach
"(objectclass=dnip:locator)" is the filter
dn means only the dn will be returned
Add -LLL to remove search results additional info that is displayed

For DSfW the -Y EXTERNAL is using the IPCEXTERNAL bind

Additional Information

iManager can also be used.
In the View Objects | Search tab | set the context to [root], place a check mark in Search sub-containers, place a * for name and for Type select Locator.  Press Search and all DNS DHCP Locator objects will be returned.


This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7010886
  • Creation Date:08-OCT-12
  • Modified Date:17-DEC-13
    • NovellOpen Enterprise Server
    • SUSESUSE Linux Enterprise Server
    • NetIQeDirectory

Did this document solve your problem? Provide Feedback