[ldap] Fix do_cmd_output_sub() use

Fixes #179.

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>