Problem:
`object
cn=myPersonalAttribute,cn=custom
attributes,cn=univention,dc=schein,dc=ig is not recognized as
settings/extended_attribute. Ignoring for now. Please report!`
Investigation:
Here is more output expected!
$ udm settings/extended_attribute list --filter cn=myPersonalAttribute
cn=myPersonalAttribute
$ univention-ldapsearch -LLL cn=myPersonalAttribute
# myPersonalAttribute, custom attributes, univention, schein.ig
dn: cn=myPersonalAttribute,cn=custom attributes,cn=univention,dc=schein,dc=ig
univentionObjectType: settings/extended_attribute
univentionUDMPropertyValueMayChange: 1
univentionUDMPropertyDoNotSearch: 1
cn: myPersonalAttribute
univentionUDMPropertyShortDescription: my Personal Attribute
objectClass: top
objectClass: univentionUDMProperty
objectClass: univentionObject
univentionUDMPropertyModule: users/user
univentionUDMPropertyLayoutTabName: Microsoft 365
univentionUDMPropertySyntax: myPersonalAttributeSelection
univentionUDMPropertyLongDescription: if the Mails are in Office 365, select the corresponding Exchange group
univentionUDMPropertyValueRequired: 0
univentionUDMPropertyVersion: 3
univentionUDMPropertyMultivalue: 0
univentionUDMPropertyLayoutGroupName: MY
univentionUDMPropertyObjectClass: univentionFreeAttributes
univentionUDMPropertyCopyable: 1
univentionUDMPropertyCLIName: myPersonalAttribute
univentionUDMPropertyValueNotEditable: 0
univentionUDMPropertyHook: myPersonalAttributeHook
univentionUDMPropertyLdapMapping: univentionFreeAttribute6
You also see errormessages in /var/log/syslog
about using FreeAttributes6
Solution:
With the modification of the extended attribute via udm the univentionUDMPropertyVersion
was mistakenly increased. This is NOT allowed. This has to be 2
$ udm settings/extended_attribute modify --dn "cn=myPersonalAttribute,cn=custom attributes,cn=univention,dc=schein,dc=ig" --set tabName="Microsoft 365" --set version=2
Addition:
univentionUDMPropertyVersion is also an ldap schema:
attributetype ( 1.3.6.1.4.1.10176.200.100 NAME 'univentionUDMPropertyVersion'
DESC ' determines which object format is used for this custom attribute '
EQUALITY caseExactMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )