[Freeipa-users] Adding a custom attribute to user object

Prashant Bapat prashant at apigee.com
Mon Mar 23 09:19:15 UTC 2015


Hi,

I'm trying to add a custom attribute to user object. Below is the ldif i'm
using.

dn: cn=schema
changetype: modify
add: attributeTypes
attributeTypes: (2.16.840.1.113730.3.8.11.31.1 NAME 'ipaSshSigTimestamp'
DESC 'SSH public key signature and timestamp' EQUALITY octetStringMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 X-ORIGIN 'CUSTOM FREEIPA EXTENTION' )
-
add: objectclasses
objectclasses: ( 2.16.840.1.113730.3.8.11.31.2 NAME 'ApigeeUserAttr' SUP
top AUXILIARY DESC 'CUSTOM FREEIPA EXTENTION' MAY ipaSshSigTimestamp )

This gets added successfully using the ldapmodify command as directory
manager. But both the UI and the ipa config-mod commands refuse to add the
new attribute to ipaUserObjectClasses with error objectclass not found.

What I'm I doing wrong ?

Thanks.
--Prashant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20150323/2ea2195e/attachment.htm>


More information about the Freeipa-users mailing list