[PATCH] pyauth: Remove the imessaging_ctx parameter
Douglas Bagnall
douglas.bagnall at catalyst.net.nz
Wed Oct 3 22:05:21 UTC 2018
Pushed, along with two patches recently reviewed by Noel.
Douglas
> From 3b19d979a5fd5201d4048c047239733e58eea70c Mon Sep 17 00:00:00 2001
> From: Alexander Bokovoy <ab at samba.org>
> Date: Wed, 3 Oct 2018 22:48:00 +0300
> Subject: [PATCH] s4/auth/tests: Fix kerberos test string size
>
>>>> len("user0 at samba.example.com")
> 23
>
> But the string definition does not take a final '\0' into account.
>
> Signed-off-by: Alexander Bokovoy <ab at samba.org>
> ---
> source4/auth/tests/kerberos.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/source4/auth/tests/kerberos.c b/source4/auth/tests/kerberos.c
> index 703c8067908..477e26e68de 100644
> --- a/source4/auth/tests/kerberos.c
> +++ b/source4/auth/tests/kerberos.c
> @@ -26,7 +26,7 @@ static void internal_obsolete_keytab_test(int num_principals, int num_kvnos,
>
> int i,j;
> char princ_name[6] = "user0";
> - char expect_princ_name[23] = "user0 at samba.example.com";
> + char expect_princ_name[24] = "user0 at samba.example.com";
> bool found_previous;
> const char *error_str;
>
> -- 2.17.1
>
More information about the samba-technical
mailing list