s3:libads: Print more information when LDAP fails
authorAndreas Schneider <asn@samba.org>
Fri, 29 Mar 2019 10:34:53 +0000 (11:34 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Apr 2019 09:49:51 +0000 (09:49 +0000)
commitbe37e77bb316d72f29e99265583b00f0cfa5636f
tree7ee93ca5f9d27948c0b9b2d7cfacf3de8b45264e
parentb1d1f5f5ac39ef1a716ebef9b6953a9f1e73f3dd
s3:libads: Print more information when LDAP fails

Currently we just get an error but don't know what exactly we tried to
do in 'net ads join -d10'.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13861

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 40669e3739eb5cde135c371e2c8134d3f11a16a5)
source3/libads/ldap.c