s3:winbindd: don't unclude two '\0' at the end of the domain list
commita44025b9a41be56fa7a1ae791d4fd72955164c5f
authorStefan Metzmacher <metze@samba.org>
Thu, 10 Mar 2016 11:17:43 +0000 (10 12:17 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Mar 2016 19:29:33 +0000 (15 20:29 +0100)
tree76803f55eb12169eda735167e5db7b2aac10fcb8
parenta83a26f8787664b015a297ebdb66590adcb75173
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>
(cherry picked from commit bb387c5b90e19b5a2f7d65fb8db816e9da51d090)
source3/winbindd/winbindd_misc.c