Title: #841: DEBUG: Add debug to display ldapsearch requests
The existing debug output from SSSD is quite helpful in this respect,
but it would be better if a small enhancement were made so that for a
specific debug level SSSD would print out all the details of the
LDAP search it is doing, ie the LDAP server, the base dn,
the scope, filter and attributes requested.
Server address is already in the log nowadays so this change
writes missing search scope. Also received attributes are logged
with SSSDBG_TRACE_LIBS debug level.
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/841/head:pr841
git checkout pr841