E: Invalid Syntax: Do not show this extended attribute in the UMC: Value must be 0 or 1

I get an error when I import my extended_attribute:

E: Invalid Syntax: Do not show this extended attribute in the UMC: Value must be 0 or 1

but I can only find “donotsearch” in the docs: Univention Developer Reference

I created this import manually from an export using “udm settings/extended_attribute list”:

udm settings/extended_attribute create "$@" --ignore_exists \
--position "cn=nextcloudUserEnabled,cn=nextcloud_manually,cn=custom attributes,cn=univention,$ldap_base" \
--set CLIName="nextcloudEnabled" \
--set copyable="1" \
--set default="1" \
--set deleteObjectClass="0" \
--set disableUDMWeb="None" \
--set doNotSearch="0" \
--set fullWidth="None" \
--set groupName="None" \
--set groupPosition="None" \
--set hook="None" \
--set ldapMapping="nextcloudEnabled" \
--set longDescription="Whether user may access Nextcloud" \
--set mayChange="1" \
--set module="users/user" \
--set multivalue="0" \
--set name="nextcloudUserEnabled" \
--set notEditable="0" \
--set objectClass="nextcloudUser" \
--set overwritePosition="0" \
--set overwriteTab="0" \
--set shortDescription="Access to Nextcloud" \
--set syntax="boolean" \
--set tabAdvanced="1" \
--set tabName="Nextcloud" \
--set tabPosition="1" \
--set translationLongDescription='"de_DE" "Der Benutzer kann auf Nextcloud zugreifen"' \
--set translationShortDescription='"de_DE" "Zugang für Nextloud"' \
--set translationTabName='"de_DE" "Nextcloud"' \
--set valueRequired="0" \
--set version="2"

Hey,

the attribute meant is disableUDMWeb (not that obvious I have to admit) which has to be 0/1 or can be omitted.

Best regards
Jan-Luca

1 Like

I see… so the easiest for me would be to remove all the lines with “none” as a value

Only if they are marked as optional, otherwise a valid value should be supplied :smiley: If you scroll down to Example 6.1. you can see what needs to be set at least with a corresponding syntax.

Mastodon