diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-04-09 07:51:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:51:10 -0500 |
commit | 72daedbeb7aff1731468ed773c34d52cddbbe039 (patch) | |
tree | 4816bc6a77c4316eb5257d75603bfc793bd03384 /source4/torture/rpc | |
parent | cfa6311b0c94ab8f38c72f290c3d310907afba48 (diff) | |
download | samba-72daedbeb7aff1731468ed773c34d52cddbbe039.tar.gz samba-72daedbeb7aff1731468ed773c34d52cddbbe039.tar.bz2 samba-72daedbeb7aff1731468ed773c34d52cddbbe039.zip |
r133: don't try to do a database deltas with a -1 seq num
(This used to be commit dcb172d207ca0b56e62165633b2f7f7fcc188f7c)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 12a8c8a023..4c844b5f1a 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -387,8 +387,12 @@ static BOOL test_DatabaseDeltas(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) for (i=0;i<ARRAY_SIZE(database_ids);i++) { r.in.database_id = database_ids[i]; r.in.sequence_num = sequence_nums[r.in.database_id]; + + if (r.in.sequence_num.low == 0) continue; + r.in.sequence_num.low -= 1; + printf("Testing DatabaseDeltas of id %d at %d\n", r.in.database_id, r.in.sequence_num.low); |