librpc/ndr_nbt: we need to keep a trailing '.' in the last component of an nbt_string
authorStefan Metzmacher <metze@samba.org>
Wed, 25 Mar 2015 15:04:06 +0000 (15:04 +0000)
committerGünther Deschner <gd@samba.org>
Fri, 27 Mar 2015 00:26:15 +0000 (01:26 +0100)
commite6e2ec0001fe3c010445e26cc0efddbc1f73416b
tree10a918f3238bd00d8fd5a632af0fecb62ed52e98
parent1a787135526f2b4d4c4a51595ac7db115b597e37
librpc/ndr_nbt: we need to keep a trailing '.' in the last component of an nbt_string

Windows uses a username of 'domain.example.com.' as username and we need to
return it that way in the NETLOGON_SAM_LOGON_RESPONSE_EX reply.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
librpc/ndr/ndr_nbt.c