From 1ecca31caa8c366264e8b15fdb6363a4a5338cde Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Sun, 18 Oct 2009 21:28:28 +0300 Subject: s4/drs(tort): fixed '==' to '>=' ATTID is marked as partial by adding 32768. Thus the check should be '>= 32768' --- source4/torture/drs/drs_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/torture/drs/drs_util.c b/source4/torture/drs/drs_util.c index 093fcf8e2c..b8602c7e55 100644 --- a/source4/torture/drs/drs_util.c +++ b/source4/torture/drs/drs_util.c @@ -78,7 +78,7 @@ bool drs_util_oid_from_attid(struct torture_context *tctx, bin_oid.data[bin_oid.length-1] = lo_word; } else { - if (lo_word == 32768) { + if (lo_word >= 32768) { lo_word -= 32768; } bin_oid.data[bin_oid.length-2] = ((lo_word / 128) % 128) + 128; // (0x80 | ((lo_word>>7)&0x7f)) -- cgit