winbind: Print error code on connection error in ping_dc
commitc134171e39cbe5e788f075add32a4841451ab4de
authorChristof Schmitt <christof.schmitt@us.ibm.com>
Fri, 24 May 2013 19:40:49 +0000 (24 12:40 -0700)
committerMichael Adam <obnox@samba.org>
Sat, 25 May 2013 21:11:23 +0000 (25 23:11 +0200)
tree7e74723a3f8465edb791296863408cfba620b46f
parent92254d09e0ee5a7d9d0cd91fe1803f54e64d9a5f
winbind: Print error code on connection error in ping_dc

For debugging, it is useful to include the error code in the message.

Signed-off-by: Christof Schmitt <christof.schmitt@us.ibm.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Sat May 25 23:11:23 CEST 2013 on sn-devel-104
source3/winbindd/winbindd_dual_srv.c