Hi Alexander, 

I create objectClasses named  'testHost' which have attribute 'host'. 

As I mention up, I also test to create new attribute like this

attributeTypes: ( 2.25.36.1.2.3.4.5.1
    NAME 'customhost'
    DESC 'A hostname or identifier for a Custom host'
    EQUALITY caseIgnoreMatch
    SUBSTR caseIgnoreSubstringsMatch
    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 
    SINGLE-VALUE     
    X-ORIGIN 'Extending FreeIPA')
#
###############################################################################
#
objectClasses: ( 2.25.36.1.2.3.4.5.2
    NAME 'testHost'
    DESC 'An object class for Custom hosts'
    SUP person
    STRUCTURAL
    MAY (customhost)
    X-ORIGIN 'Extending FreeIPA' )

and not use default one:

attributeTypes: ( 0.9.2342.19200300.100.1.9 NAME 'host'  EQUALITY caseIgnoreMa
 tch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-O
 RIGIN 'RFC 4524' )

I get only error when I use default attribute host it says, invalid 
'ipauserobjectclasses': user default attribute host would not be allowed! 

That why I'm not sure if I'm doing something wrong or is some restriction that 
we can't display attribute 'host' in User Web UI. 
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to