s4/auth/tests: Fix kerberos test string size
authorAlexander Bokovoy <ab@samba.org>
Wed, 3 Oct 2018 19:48:00 +0000 (22:48 +0300)
committerVolker Lendecke <vl@samba.org>
Fri, 5 Oct 2018 11:08:25 +0000 (13:08 +0200)
commit54207bb3b2e18cf36c2a5585f9847326930b33ed
tree892ce86638d5846c26f426784111588b28e6d4c9
parent43a0e635ea6b7b1d246664248641a4b96955a4d4
s4/auth/tests: Fix kerberos test string size

>>> len("user0@samba.example.com")
23

But the string definition does not take a final '\0' into account.
As per Volker's suggestion, use compiler's support to allocate
the string properly.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/auth/tests/kerberos.c