s4-dsdb: Add debug message if we have a ldb error string
authorAndreas Schneider <asn@samba.org>
Mon, 25 Jan 2016 15:39:59 +0000 (16:39 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 2 Feb 2016 10:49:51 +0000 (11:49 +0100)
commit8a9493f92729ff6b5a25eafc64646628b2d826be
treea5c5868ef84445c4f50ea6b18f7fea12226fa029
parent88c46879453a71ac5e5aff9bc3bbdb5d36b84a44
s4-dsdb: Add debug message if we have a ldb error string

When trying to change the password with kpasswd, the KDC returns
"Unspecified password quality failure". Because we do not get the ldb
error which is e.g.: password is too young to change!

This way at least the admin can find out what is going on.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Feb  2 11:49:51 CET 2016 on sn-devel-144
source4/dsdb/common/util.c