s3:libnet_join: remove dead code from libnet_join_connect_ads()
authorStefan Metzmacher <metze@samba.org>
Wed, 17 May 2017 10:42:04 +0000 (12:42 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 27 Jun 2017 14:57:43 +0000 (16:57 +0200)
commit5958c6790fbceb39065353c07fe25f74ddf09ef0
tree082181fa380b7e4c54aefcc399cae0e8b43261e0
parentec2da944d304852d76137e8f9d234462bc807c6b
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>
source3/libnet/libnet_join.c