s4:libcli/ldap: fix retry authentication after a bad password
commita2c24e213cfb98a8fb24a0a7053bfa4189a08590
authorStefan Metzmacher <metze@samba.org>
Fri, 18 Dec 2015 12:10:58 +0000 (18 13:10 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 28 Mar 2016 22:41:30 +0000 (29 00:41 +0200)
tree82d107420103eb77877d67a7b4be7b144ae7d85d
parentc5316958677d03e3beafa4c4b949d73eb23dc730
s4:libcli/ldap: fix retry authentication after a bad password

We need to start with an empty input buffer.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
(cherry picked from commit d9d0d2d5a2667ea8984772b678272650a8719c21)
source4/libcli/ldap/ldap_bind.c