summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-11-13 15:58:12 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-11-17 10:07:09 +1100
commitcf5c919c744c714b9be849e4d6424f7df92b328d (patch)
tree3e519ccd9a705c84ee0398d39574a7cb5d4e7e2c /source4
parent5b796adb125174084cfc2a6f04cfdac5e9324ef8 (diff)
downloadsamba-cf5c919c744c714b9be849e4d6424f7df92b328d.tar.gz
samba-cf5c919c744c714b9be849e4d6424f7df92b328d.tar.bz2
samba-cf5c919c744c714b9be849e4d6424f7df92b328d.zip
Improve debug when SASL search fails
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/ldap/ldap_bind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/ldap/ldap_bind.c b/source4/libcli/ldap/ldap_bind.c
index a12f7652a5..5e6a5faafa 100644
--- a/source4/libcli/ldap/ldap_bind.c
+++ b/source4/libcli/ldap/ldap_bind.c
@@ -286,7 +286,7 @@ _PUBLIC_ NTSTATUS ldap_bind_sasl(struct ldap_connection *conn,
search = &sasl_mechs_msgs[0]->r.SearchResultEntry;
if (search->num_attributes != 1) {
- DEBUG(1, ("Failed to inquire of target's available sasl mechs in rootdse search: wrong number of attributes: %d\n",
+ DEBUG(1, ("Failed to inquire of target's available sasl mechs in rootdse search: wrong number of attributes: %d != 1\n",
search->num_attributes));
goto failed;
}