diff --git a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py b/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py index bb3a432..02510a3 100644 --- a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py +++ b/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py @@ -666,7 +666,7 @@ def _create(self): # ... if property has no option or any required option is currently enabled options_match = bool(set(p.options) & set(self.options)) if getattr(self, 'options', []) and p.options else True if options_match and self.descriptions[name].default(self): - self[name] + self[name] = self.descriptions[name].default(self) # iterate over all properties and call checkLdap() of corresponding syntax self._call_checkLdap_on_all_property_syntaxes() @@ -760,7 +760,7 @@ def _modify(self, modify_childs=1, ignore_license=0): # skip otherwise if getattr(self, 'options', []) and p.options and (set(p.options) & set(self.options)): if self.descriptions[name].default(self): - self[name] + self[name] = self.descriptions[name].default(self) # iterate over all properties and call checkLdap() of corresponding syntax self._call_checkLdap_on_all_property_syntaxes()