s3:libnet_join: remove dead code from libnet_join_connect_ads()
commitb76556fc88b4588c0750299161146ee8c39c5951
authorStefan Metzmacher <metze@samba.org>
Wed, 17 May 2017 10:42:04 +0000 (17 12:42 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Jul 2017 18:01:26 +0000 (13 20:01 +0200)
tree2c998951836256d1542398c6812f2c3395c3de9b
parent691d69f80b895b5bdc921332ba95b216a43cb706
s3:libnet_join: remove dead code from libnet_join_connect_ads()

username[strlen(username)] is *always* '\0'!

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 5958c6790fbceb39065353c07fe25f74ddf09ef0)
source3/libnet/libnet_join.c