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',
|
|
|
|
]
|
|
|
|
|
|
|
|
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',
|
|
|
|
]
|
|
|
|
|
2010-12-01 10:23:52 -06:00
|
|
|
permission = [
|
|
|
|
u'groupofnames',
|
2011-02-01 10:57:18 -06:00
|
|
|
u'ipapermission',
|
2010-12-01 10:23:52 -06:00
|
|
|
u'top'
|
|
|
|
]
|
|
|
|
|
|
|
|
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',
|
|
|
|
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
|
|
|
]
|