Discovery Tasks fail against an AD User source

  • 7004560
  • 29-Sep-2009
  • 14-May-2013

Environment

Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2 Discovery

Situation

Discovery task is not able to discover devices from AD source. 

Resolution

This is fixed in version 10.2.2 - see KB 7004803 "ZENworks 10 Configuration Management 10.2.2 - update information and list of fixes" which can be found at https://www.novell.com/support

The actual issue is resolved by being able to make modifications to the discovery.xml file.

Workaround:
 
  1. Open a command prompt window on the AD and run "ntdsutil.exe"
  2. At the "ntdsutil" prompt, type "ldap policies", and then press ENTER.
  3. At the "ldap policy" command prompt, type "connections", and then press ENTER.
  4. At the "server connection" command prompt, type "connect to server <DNS name of server>", and then press ENTER.
  5. After the connection is successful, at the "server connection" command prompt, type "quit", and then press ENTER.
  6. At the "ldap policy" command prompt, type "show values", and then press ENTER. You will see the list of policy values as they exist.
  7. At the "ldap policy" command prompt, type "set maxpagesize to 25000", and then press ENTER.
  8. At the "ldap policy" command prompt, type "commit changes", and then press ENTER. This will permanently stores the new value in AD LDAP policy.
  9. To confirm the new value, at the "ldap policy" command prompt, type "show values", and then press ENTER. The new value should appear in the list. 10. Quit the ntdsutil by entering "quit" twice. Now the AD is configured to return larger result for an LDAP request and the LDAP Discovery should return all the device objects.