upgradeprovision: Remove objectCategory from constructed attrs
authorGarming Sam <garming@catalyst.net.nz>
Mon, 21 Nov 2016 02:06:22 +0000 (15:06 +1300)
committerGarming Sam <garming@samba.org>
Tue, 22 Nov 2016 01:10:16 +0000 (02:10 +0100)
The new dbcheck rules identify an error where the GUID of the
objectCategory does not exist (pointing to a non-existent schema
object). As objectClass was not copied over either, it makes sense not
to copy over the objectCategory.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12297

source4/scripting/bin/samba_upgradeprovision

index bc6e36a4f037b7909c9be9a6dd49c6fc0f778476..ccfc578281f40e895f6b021db515a21a3867046f 100755 (executable)
@@ -94,7 +94,7 @@ __docformat__ = "restructuredText"
 # created
 # This also apply to imported object from reference provision
 replAttrNotCopied = [   "dn", "whenCreated", "whenChanged", "objectGUID",
-                        "parentGUID", "objectCategory", "distinguishedName",
+                        "parentGUID", "distinguishedName",
                         "instanceType", "cn",
                         "lmPwdHistory", "pwdLastSet", "ntPwdHistory",
                         "unicodePwd", "dBCSPwd", "supplementalCredentials",