smbtorture: add a warning for unknown BindInfo length to the RPC-DSSYNC test
authorMichael Adam <obnox@samba.org>
Wed, 23 Jul 2008 09:06:50 +0000 (11:06 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 23 Jul 2008 10:52:40 +0000 (12:52 +0200)
Michael
(This used to be commit 7ee99105ea3a50d8ee2c83ecd39e834ed9efb98c)

source4/torture/rpc/dssync.c

index 6b82b6bf0feb5b909b1504a7a918fb1a4e921587..3279047c6a8cb6eab71eac9dd69e6fea6ff44ee0 100644 (file)
@@ -226,6 +226,9 @@ static bool _test_DsBind(struct torture_context *tctx,
                case 28:
                        b->peer_bind_info28 = b->req.out.bind_info->info.info28;
                        break;
+               default:
+                       printf("DsBind - warning: unknown BindInfo length: %u\n",
+                              b->req.out.bind_info->length);
                }
        }