Ok, OID - check ldapmodify - check python scripts - check These works on both ipa 3.x and ipa 4.x. So the basic functionality is there for the new object class.
js - i am stuck with, i have created the js files for the plugin, see below. But i don't know how to generate the the index. Also i might be completely wrong. On ipa 3.x the js files are there, most probably the groups.js would exist as i expect it. But on the other hand on the ipa 4.x there is nothing but freeipa/core.js is there. Here is the plugin, i am trying to use: define([ 'freeipa/phases', 'freeipa/group'], function(phases, group_mod) { // helper function function get_item(array, attr, value) { for (var i=0,l=array.length; i<l; i++) { if (array[i][attr] === value) return array[i]; } return null; } var groupmail_plugin = {}; // adds 'mail' field into group details facet groupmail_plugin.add_group_mail_pre_op = function() { var facet = get_item(group_mod.entity_spec.facets, '$type', 'details'); var section = get_item(facet.sections, 'name', 'identity'); section.fields.push({ name: 'mail', label: 'Mail' }); return true; }; phases.on('customization', groupmail_plugin.add_group_mail_pre_op); return groupmail_plugin; }); Sándor Juhász System Administrator ChemAxon Ltd . Building Hx, GraphiSoft Park, Záhony utca 7, Budapest, Hungary, H-1031 Cell: +36704258964 From: "Brian Candler" <b.cand...@pobox.com> To: "Sandor Juhasz" <sjuh...@chemaxon.com> Cc: freeipa-users@redhat.com Sent: Monday, January 2, 2017 6:41:02 PM Subject: Re: [Freeipa-users] modify schema - add group email and display attribute On 02/01/2017 11:53, Sandor Juhasz wrote: > I would be really happy if anybody could assign an OID for the new > objectcalss You can get your own enterprise OID for free from here: http://pen.iana.org/pen/PenApplication.page Note that you only get one, so it's up to you to subdivide the space. For example: if you get 1.3.6.1.4.1.99999, then you might decide to use: 1.3.6.1.4.1.99999.1 = LDAP object classes 1.3.6.1.4.1.99999.1.1 = myMailObjectClass 1.3.6.1.4.1.99999.1.2 = someOtherObjectClass 1.3.6.1.4.1.99999.2 = LDAP attributes 1.3.6.1.4.1.99999.2.1 = mySpecialAttribute then later you can assign under 1.3.6.1.4.1.99999.3 for something else that needs OIDs (e.g. SNMP MIBs) and so on.
-- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project