From 373bd435425f85a0f24f9f14c36f76c51243a077 Mon Sep 17 00:00:00 2001 From: Bob Campbell Date: Tue, 7 Feb 2017 15:42:29 +1300 Subject: [PATCH] torture/drs: generate linkID for test rather than specifying Signed-off-by: Bob Campbell Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett BUG: https://bugzilla.samba.org/show_bug.cgi?id=11139 --- source4/torture/drs/python/repl_schema.py | 2 +- source4/torture/drs/rpc/msds_intid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/torture/drs/python/repl_schema.py b/source4/torture/drs/python/repl_schema.py index 865260ce165..1387ec2a41c 100644 --- a/source4/torture/drs/python/repl_schema.py +++ b/source4/torture/drs/python/repl_schema.py @@ -242,7 +242,7 @@ class DrsReplSchemaTestCase(drs_base.DrsBaseTestCase): AttributeID_id in Schema cache""" # add new attributeSchema object (a_ldn, a_dn) = self._schema_new_attr(self.ldb_dc1, "attr-Link-X", 10, - attrs={'linkID':"99990", + attrs={'linkID':"1.2.840.113556.1.2.50", "attributeSyntax": "2.5.5.1", "omSyntax": "127"}) # add a base classSchema class so we can use our new diff --git a/source4/torture/drs/rpc/msds_intid.c b/source4/torture/drs/rpc/msds_intid.c index 63135138897..53d0c3b79b6 100644 --- a/source4/torture/drs/rpc/msds_intid.c +++ b/source4/torture/drs/rpc/msds_intid.c @@ -113,7 +113,7 @@ struct DsIntIdTestCtx { "instanceType: 4\n" \ "isSingleValued: TRUE\n" \ "systemOnly: FALSE\n" \ - "linkID: 88880\n" \ + "linkID: 1.2.840.113556.1.2.50\n" \ "\n" \ "# schemaUpdateNow\n" \ "DN:\n" \ -- 2.47.2