torture: Confirm that this element of the krb5.kdc test does not pass against Windows
authorAndrew Bartlett <abartlet@samba.org>
Mon, 27 Aug 2018 03:01:41 +0000 (15:01 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 09:42:26 +0000 (11:42 +0200)
This should be fixed, but in the meantime add clue to avoid regressions on
bug 11539.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/torture/krb5/kdc-heimdal.c

index aa610d33a9f84d21ba87e89beafd1d869586deef..cc70c9eda6725a3a30dcaee0f82ee1f963687a07 100644 (file)
@@ -174,6 +174,15 @@ static bool torture_check_krb5_error(struct torture_krb5_context *test_context,
                                                 rc, 0,
                                                 "Got invalid method data");
 
+                       /*
+                        * NOTE:
+                        *
+                        * Windows (eg Server 1709) only returns a
+                        * KRB5_PADATA_ETYPE_INFO2 in this situation.
+                        * This test should be fixed but care needs to
+                        * be taken not to reintroduce
+                        * https://bugzilla.samba.org/show_bug.cgi?id=11539
+                        */
                        torture_assert(test_context->tctx,
                                       m.len > 0,
                                       "No PA_DATA given");