s3:winbindd: don't unclude two '\0' at the end of the domain list
authorStefan Metzmacher <metze@samba.org>
Thu, 10 Mar 2016 11:17:43 +0000 (12:17 +0100)
committerStefan Metzmacher <metze@samba.org>
Sun, 13 Mar 2016 19:10:33 +0000 (20:10 +0100)
commitbb387c5b90e19b5a2f7d65fb8db816e9da51d090
tree685e83d8a5c685caa6b53e43539779d776e2d462
parent0a9acd445d246c7758e994b0c69cc90bdbbef2fe
s3:winbindd: don't unclude two '\0' at the end of the domain list

This avoids a scary "trustdom_list_done: Got invalid trustdom response" message.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/winbindd/winbindd_misc.c