summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2016-11-21 15:06:22 +1300
committerKarolin Seeger <kseeger@samba.org>2016-11-30 12:19:33 +0100
commitdd5fb5b73e4cc96be5c4ab62201709aedc2e5b31 (patch)
tree0f74da528440cadbec78f7cf688f163f0bb9ee9f
parent6251b7938db4ce3b4214cd862ed5ff2a1e8e239b (diff)
downloadsamba-dd5fb5b73e4cc96be5c4ab62201709aedc2e5b31.tar.gz
upgradeprovision: Remove objectCategory from constructed attrs
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 (cherry picked from commit 5889f399daad54124e0bb2be1fe81da1df67c84e)
-rwxr-xr-xsource4/scripting/bin/samba_upgradeprovision2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_upgradeprovision b/source4/scripting/bin/samba_upgradeprovision
index bc6e36a4f03..ccfc578281f 100755
--- a/source4/scripting/bin/samba_upgradeprovision
+++ b/source4/scripting/bin/samba_upgradeprovision
@@ -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",