diff --git a/python/samba/netcmd/domain/models/site.py b/python/samba/netcmd/domain/models/site.py index 53db6e2c3b1..134a2cd5c1d 100644 --- a/python/samba/netcmd/domain/models/site.py +++ b/python/samba/netcmd/domain/models/site.py @@ -26,9 +26,11 @@ from .model import Model class Site(Model): show_in_advanced_view_only = BooleanField("showInAdvancedViewOnly") - site_object_bl = DnField("siteObjectBL") system_flags = IntegerField("systemFlags") + # Backlinks + site_object_bl = DnField("siteObjectBL", readonly=True) + @staticmethod def get_base_dn(ldb): """Return the base DN for the Site model. diff --git a/python/samba/netcmd/domain/models/value_type.py b/python/samba/netcmd/domain/models/value_type.py index c03b394b19a..00a4e072427 100644 --- a/python/samba/netcmd/domain/models/value_type.py +++ b/python/samba/netcmd/domain/models/value_type.py @@ -44,9 +44,12 @@ class ValueType(Model): "msDS-ClaimIsValueSpaceRestricted") claim_value_type = IntegerField("msDS-ClaimValueType") is_possible_values_present = BooleanField("msDS-IsPossibleValuesPresent") - value_type_reference_bl = DnField("msDS-ValueTypeReferenceBL") show_in_advanced_view_only = BooleanField("showInAdvancedViewOnly") + # Backlinks + value_type_reference_bl = DnField( + "msDS-ValueTypeReferenceBL", readonly=True) + @staticmethod def get_base_dn(ldb): """Return the base DN for the ValueType model.