I feel obliged to point out that this blog post is roughly 5 years old. People change, opinions evolve. In just a few years, vast technological landscapes can shift. And don't get me started on config files. Please consider this text in the context of its time.

Some of these improvements are not really new. They were in Solaris for years, however they were not really documented and while many people knew about them they weren’t official options of the commands. This has changed.

  • You can now control the amount of debugging with ldaplist, ldapaddent(8) and ldapclient(8) by using one or multiple -v. It gets more verbose with the number of v.
  • The -d option to ldap-cachemgr is no longer an open secret (it was in the usage message of the binary) but it’s now officially documented in the man page. With this you can set the debugging level while the process is running without restarting it.
  • You can configure the debugging facility of nscd while this process is running without restarting. The ability to do this without restarting the daemon is quite useful, as sometimes problems and hints pointing to the problems just disappear when you are restarting things.
    # nscd -C all -L /var/adm/nscd_diag -D all
    
  • The service svc:/network/ldap/client now has the config/debug_level which is used by ldapclient as if you would set it with -a.
Written by

Joerg Moellenkamp

Grey-haired, sometimes grey-bearded Windows dismissing Unix guy.