Improve debug when SASL search fails
authorAndrew Bartlett <abartlet@samba.org>
Thu, 13 Nov 2008 04:58:12 +0000 (15:58 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 16 Nov 2008 23:07:09 +0000 (10:07 +1100)
source4/libcli/ldap/ldap_bind.c

index a12f7652a55fa31803f4f494dd07934bc9cfa1ca..5e6a5faafa42d8ae8f32973df80172b408bec4ac 100644 (file)
@@ -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;
        }