torture/drs: generate linkID for test rather than specifying
authorBob Campbell <bobcampbell@catalyst.net.nz>
Tue, 7 Feb 2017 02:42:29 +0000 (15:42 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Feb 2017 01:20:07 +0000 (02:20 +0100)
Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11139

source4/torture/drs/python/repl_schema.py
source4/torture/drs/rpc/msds_intid.c

index 865260ce16515c85bd6ef39ea88b76627b1e2c12..1387ec2a41c11cda2ab5205688d116acf4853207 100644 (file)
@@ -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
index 6313513889710528d7c95893785704d2ef3b953f..53d0c3b79b6d852c6002aab5a99b446633e8c3af 100644 (file)
@@ -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" \