2009-12-15 14:36:14 -06:00
|
|
|
# Authors:
|
|
|
|
# Jason Gerard DeRose <jderose@redhat.com>
|
|
|
|
#
|
|
|
|
# Copyright (C) 2008 Red Hat
|
|
|
|
# see file 'COPYING' for use and warranty information
|
|
|
|
#
|
2010-12-09 06:59:11 -06:00
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
2009-12-15 14:36:14 -06:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2010-12-09 06:59:11 -06:00
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2009-12-15 14:36:14 -06:00
|
|
|
|
|
|
|
"""
|
|
|
|
Defines the expected objectclass for various entries.
|
|
|
|
"""
|
|
|
|
|
2011-07-01 14:32:31 -05:00
|
|
|
user_base = [
|
2009-12-17 07:16:18 -06:00
|
|
|
u'top',
|
|
|
|
u'person',
|
|
|
|
u'organizationalperson',
|
|
|
|
u'inetorgperson',
|
|
|
|
u'inetuser',
|
|
|
|
u'posixaccount',
|
|
|
|
u'krbprincipalaux',
|
2010-02-12 15:34:21 -06:00
|
|
|
u'krbticketpolicyaux',
|
2009-12-17 07:16:18 -06:00
|
|
|
u'ipaobject',
|
2011-12-07 01:50:31 -06:00
|
|
|
u'ipasshuser',
|
|
|
|
u'ipaSshGroupOfPubKeys',
|
2009-12-17 07:16:18 -06:00
|
|
|
]
|
|
|
|
|
2011-07-01 14:32:31 -05:00
|
|
|
user = user_base + [u'mepOriginEntry']
|
|
|
|
|
2009-12-17 07:16:18 -06:00
|
|
|
group = [
|
|
|
|
u'top',
|
|
|
|
u'groupofnames',
|
|
|
|
u'nestedgroup',
|
|
|
|
u'ipausergroup',
|
|
|
|
u'ipaobject',
|
|
|
|
]
|
|
|
|
|
2012-06-20 08:08:33 -05:00
|
|
|
externalgroup = group + [u'ipaexternalgroup']
|
2013-03-11 06:37:29 -05:00
|
|
|
posixgroup = group + [u'posixgroup']
|
2012-06-20 08:08:33 -05:00
|
|
|
|
2009-12-17 07:16:18 -06:00
|
|
|
host = [
|
2011-12-07 01:50:31 -06:00
|
|
|
u'ipasshhost',
|
|
|
|
u'ipaSshGroupOfPubKeys',
|
2012-01-20 14:10:44 -06:00
|
|
|
u'ieee802device',
|
2009-12-15 14:36:14 -06:00
|
|
|
u'ipaobject',
|
|
|
|
u'nshost',
|
|
|
|
u'ipahost',
|
|
|
|
u'pkiuser',
|
2009-12-17 07:16:18 -06:00
|
|
|
u'ipaservice',
|
2009-12-15 14:36:14 -06:00
|
|
|
u'krbprincipalaux',
|
|
|
|
u'krbprincipal',
|
|
|
|
u'top',
|
2009-12-17 07:16:18 -06:00
|
|
|
]
|
2009-12-15 14:36:14 -06:00
|
|
|
|
2009-12-17 07:16:18 -06:00
|
|
|
hostgroup = [
|
2009-12-15 14:36:14 -06:00
|
|
|
u'ipaobject',
|
|
|
|
u'ipahostgroup',
|
|
|
|
u'nestedGroup',
|
|
|
|
u'groupOfNames',
|
|
|
|
u'top',
|
2011-02-19 22:09:03 -06:00
|
|
|
u'mepOriginEntry',
|
2009-12-17 07:16:18 -06:00
|
|
|
]
|
2009-12-18 05:41:30 -06:00
|
|
|
|
2010-12-01 10:23:52 -06:00
|
|
|
role = [
|
2009-12-18 05:41:30 -06:00
|
|
|
u'groupofnames',
|
|
|
|
u'nestedgroup',
|
|
|
|
u'top',
|
|
|
|
]
|
|
|
|
|
2013-11-13 09:31:58 -06:00
|
|
|
system_permission = [
|
2010-12-01 10:23:52 -06:00
|
|
|
u'groupofnames',
|
2011-02-01 10:57:18 -06:00
|
|
|
u'ipapermission',
|
2010-12-01 10:23:52 -06:00
|
|
|
u'top'
|
|
|
|
]
|
|
|
|
|
2013-11-13 09:31:58 -06:00
|
|
|
permission = system_permission + [
|
|
|
|
u'ipapermissionv2',
|
|
|
|
]
|
|
|
|
|
2010-12-01 10:23:52 -06:00
|
|
|
privilege = [
|
|
|
|
u'nestedgroup',
|
2009-12-18 05:41:30 -06:00
|
|
|
u'groupofnames',
|
|
|
|
u'top'
|
|
|
|
]
|
2010-03-29 10:31:10 -05:00
|
|
|
|
|
|
|
service = [
|
|
|
|
u'krbprincipal',
|
|
|
|
u'krbprincipalaux',
|
|
|
|
u'krbticketpolicyaux',
|
|
|
|
u'ipaobject',
|
|
|
|
u'ipaservice',
|
|
|
|
u'pkiuser',
|
2012-06-14 04:02:16 -05:00
|
|
|
u'ipakrbprincipal',
|
2010-03-29 10:31:10 -05:00
|
|
|
u'top',
|
|
|
|
]
|
2010-05-17 12:38:00 -05:00
|
|
|
|
|
|
|
hbacsvc = [
|
2010-05-21 15:27:40 -05:00
|
|
|
u'ipaobject',
|
2010-05-17 12:38:00 -05:00
|
|
|
u'ipahbacservice',
|
|
|
|
]
|
|
|
|
|
|
|
|
hbacsvcgroup = [
|
2010-05-21 15:27:40 -05:00
|
|
|
u'ipaobject',
|
2010-05-17 12:38:00 -05:00
|
|
|
u'ipahbacservicegroup',
|
|
|
|
u'groupOfNames',
|
|
|
|
u'top',
|
|
|
|
]
|
2010-09-27 15:51:28 -05:00
|
|
|
|
|
|
|
sudocmd = [
|
|
|
|
u'ipaobject',
|
|
|
|
u'ipasudocmd',
|
|
|
|
]
|
|
|
|
|
|
|
|
sudocmdgroup = [
|
|
|
|
u'ipaobject',
|
|
|
|
u'ipasudocmdgrp',
|
|
|
|
u'groupOfNames',
|
|
|
|
u'top',
|
|
|
|
]
|
2010-10-29 10:32:03 -05:00
|
|
|
|
|
|
|
netgroup = [
|
|
|
|
u'ipaobject',
|
|
|
|
u'ipaassociation',
|
|
|
|
u'ipanisnetgroup',
|
|
|
|
]
|
2011-08-30 19:48:15 -05:00
|
|
|
|
|
|
|
automember = [
|
|
|
|
u'top',
|
2011-11-23 15:59:21 -06:00
|
|
|
u'automemberregexrule',
|
|
|
|
]
|
|
|
|
|
|
|
|
selinuxusermap = [
|
|
|
|
u'ipaassociation',
|
|
|
|
u'ipaselinuxusermap',
|
|
|
|
]
|
|
|
|
|
|
|
|
hbacrule = [
|
|
|
|
u'ipaassociation',
|
|
|
|
u'ipahbacrule',
|
2011-08-30 19:48:15 -05:00
|
|
|
]
|
2012-06-27 06:10:10 -05:00
|
|
|
|
|
|
|
dnszone = [
|
|
|
|
u'top',
|
|
|
|
u'idnsrecord',
|
|
|
|
u'idnszone',
|
|
|
|
]
|
|
|
|
|
2014-05-23 09:48:55 -05:00
|
|
|
dnsforwardzone = [
|
|
|
|
u'top',
|
|
|
|
u'idnsforwardzone',
|
|
|
|
]
|
|
|
|
|
2012-06-27 06:10:10 -05:00
|
|
|
dnsrecord = [
|
|
|
|
u'top',
|
|
|
|
u'idnsrecord',
|
|
|
|
]
|
2013-02-12 09:50:00 -06:00
|
|
|
|
|
|
|
realmdomains = [
|
|
|
|
u'top',
|
|
|
|
u'nsContainer',
|
|
|
|
u'domainRelatedObject',
|
|
|
|
]
|
2013-11-15 05:26:54 -06:00
|
|
|
|
|
|
|
radiusproxy = [
|
|
|
|
u'ipatokenradiusconfiguration',
|
|
|
|
u'top',
|
|
|
|
]
|
2014-05-27 05:21:33 -05:00
|
|
|
|
|
|
|
pwpolicy = [
|
|
|
|
u'krbpwdpolicy',
|
|
|
|
u'nscontainer',
|
|
|
|
u'top',
|
|
|
|
]
|
2014-08-04 07:26:43 -05:00
|
|
|
|
|
|
|
idview = [
|
|
|
|
u'ipaIDView',
|
|
|
|
u'nsContainer',
|
|
|
|
u'top'
|
|
|
|
]
|
|
|
|
|
|
|
|
idoverrideuser = [
|
|
|
|
u'ipaOverrideAnchor',
|
|
|
|
u'top',
|
|
|
|
u'ipaUserOverride',
|
|
|
|
]
|
|
|
|
|
|
|
|
idoverridegroup = [
|
|
|
|
u'ipaOverrideAnchor',
|
|
|
|
u'top',
|
|
|
|
u'ipaGroupOverride',
|
|
|
|
]
|