2011-02-11 15:48:59 -06:00
|
|
|
# IPA configuration
|
|
|
|
|
|
|
|
dn: cn=Write IPA Configuration,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:cn: Write IPA Configuration
|
2011-02-22 08:21:14 -06:00
|
|
|
default:description: Write IPA Configuration
|
2011-02-11 15:48:59 -06:00
|
|
|
|
|
|
|
dn: cn=Write IPA Configuration,cn=permissions,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: ipapermission
|
|
|
|
default:cn: Write IPA Configuration
|
|
|
|
default:member: cn=Write IPA Configuration,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
|
|
|
|
dn: $SUFFIX
|
|
|
|
add:aci: '(targetattr = "ipausersearchfields || ipagroupsearchfields || ipasearchtimelimit || ipasearchrecordslimit || ipacustomfields || ipahomesrootdir || ipadefaultloginshell || ipadefaultprimarygroup || ipamaxusernamelength || ipapwdexpadvnotify || ipauserobjectclasses || ipagroupobjectclasses || ipadefaultemaildomain || ipamigrationenabled || ipacertificatesubjectbase || ipaconfigstring")(target = "ldap:///cn=ipaconfig,cn=etc,$SUFFIX" )(version 3.0 ; acl "permission:Write IPA Configuration"; allow (write) groupdn = "ldap:///cn=Write IPA Configuration,cn=permissions,cn=pbac,$SUFFIX";)'
|
|
|
|
|
2011-02-22 08:21:14 -06:00
|
|
|
# Host-Based Access Control
|
2011-12-08 03:04:09 -06:00
|
|
|
dn: cn=HBAC Administrator,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: HBAC Administrator
|
|
|
|
default:description: HBAC Administrator
|
2011-02-22 08:21:14 -06:00
|
|
|
|
|
|
|
# SUDO
|
|
|
|
|
2011-12-08 03:04:09 -06:00
|
|
|
dn: cn=Sudo Administrator,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: Sudo Administrator
|
|
|
|
default:description: Sudo Administrator
|
|
|
|
|
2011-02-22 08:21:14 -06:00
|
|
|
# Password Policy
|
2011-12-08 03:04:09 -06:00
|
|
|
dn: cn=Password Policy Administrator,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: Password Policy Administrator
|
|
|
|
default:description: Password Policy Administrator
|
|
|
|
|
2011-03-29 12:15:22 -05:00
|
|
|
dn: cn=Host Enrollment,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
add:member: 'cn=admins,cn=groups,cn=accounts,$SUFFIX'
|
2011-07-01 09:41:42 -05:00
|
|
|
|
2011-10-05 16:16:05 -05:00
|
|
|
# The original DNS permissions lacked the tag.
|
|
|
|
dn: $SUFFIX
|
2014-06-09 08:06:35 -05:00
|
|
|
remove:aci:'(target = "ldap:///idnsname=*,cn=dns,$SUFFIX")(version 3.0;acl "Add DNS entries";allow (add) groupdn = "ldap:///cn=add dns entries,cn=permissions,cn=pbac,$SUFFIX";)'
|
|
|
|
remove:aci:'(target = "ldap:///idnsname=*,cn=dns,$SUFFIX")(version 3.0;acl "Remove DNS entries";allow (delete) groupdn = "ldap:///cn=remove dns entries,cn=permissions,cn=pbac,$SUFFIX";)'
|
|
|
|
remove:aci:'(targetattr = "idnsname || cn || idnsallowdynupdate || dnsttl || dnsclass || arecord || aaaarecord || a6record || nsrecord || cnamerecord || ptrrecord || srvrecord || txtrecord || mxrecord || mdrecord || hinforecord || minforecord || afsdbrecord || sigrecord || keyrecord || locrecord || nxtrecord || naptrrecord || kxrecord || certrecord || dnamerecord || dsrecord || sshfprecord || rrsigrecord || nsecrecord || idnsname || idnszoneactive || idnssoamname || idnssoarname || idnssoaserial || idnssoarefresh || idnssoaretry || idnssoaexpire || idnssoaminimum || idnsupdatepolicy")(target = "ldap:///idnsname=*,cn=dns,$SUFFIX")(version 3.0;acl "Update DNS entries";allow (write) groupdn = "ldap:///cn=update dns entries,cn=permissions,cn=pbac,$SUFFIX";)'
|
2011-11-23 15:59:21 -06:00
|
|
|
|
|
|
|
# SELinux User Mapping
|
|
|
|
dn: cn=SELinux User Map Administrators,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:cn: SELinux User Map Administrators
|
|
|
|
default:description: SELinux User Map Administrators
|
|
|
|
|
2012-07-11 14:51:01 -05:00
|
|
|
dn: cn=ipa,cn=etc,$SUFFIX
|
|
|
|
add:aci:'(target = "ldap:///cn=*,cn=ca_renewal,cn=ipa,cn=etc,$SUFFIX")(version 3.0; acl "Add CA Certificates for renewals"; allow(add) userdn = "ldap:///fqdn=$FQDN,cn=computers,cn=accounts,$SUFFIX";)'
|
|
|
|
add:aci:'(target = "ldap:///cn=*,cn=ca_renewal,cn=ipa,cn=etc,$SUFFIX")(targetattr = "userCertificate")(version 3.0; acl "Modify CA Certificates for renewals"; allow(write) userdn = "ldap:///fqdn=$FQDN,cn=computers,cn=accounts,$SUFFIX";)'
|
2013-04-22 14:43:12 -05:00
|
|
|
|
|
|
|
# Add permissions "Retrieve Certificates from the CA" and "Revoke Certificate"
|
|
|
|
# to privilege "Host Administrators"
|
|
|
|
dn: cn=Retrieve Certificates from the CA,cn=permissions,cn=pbac,$SUFFIX
|
|
|
|
add: member: 'cn=Host Administrators,cn=privileges,cn=pbac,$SUFFIX'
|
|
|
|
|
|
|
|
dn: cn=Revoke Certificate,cn=permissions,cn=pbac,$SUFFIX
|
|
|
|
add: member: 'cn=Host Administrators,cn=privileges,cn=pbac,$SUFFIX'
|
2013-09-19 07:10:32 -05:00
|
|
|
|
2014-02-18 11:15:49 -06:00
|
|
|
dn: cn=ipa,cn=etc,$SUFFIX
|
|
|
|
add:aci:'(target = "ldap:///cn=CAcert,cn=ipa,cn=etc,$SUFFIX")(targetattr = cACertificate)(version 3.0; acl "Modify CA Certificate"; allow (write) userdn = "ldap:///fqdn=$FQDN,cn=computers,cn=accounts,$SUFFIX";)'
|
2014-05-30 11:35:31 -05:00
|
|
|
|
2014-06-10 07:07:35 -05:00
|
|
|
dn: cn=certificates,cn=ipa,cn=etc,$SUFFIX
|
|
|
|
add:aci:'(targetfilter = "(&(objectClass=ipaCertificate)(ipaConfigString=ipaCA))")(targetattr = "ipaCertIssuerSerial || cACertificate")(version 3.0; acl "Modify CA Certificate Store Entry"; allow (write) userdn = "ldap:///fqdn=$FQDN,cn=computers,cn=accounts,$SUFFIX";)'
|
|
|
|
|
2013-09-19 07:10:32 -05:00
|
|
|
# Automember tasks
|
|
|
|
dn: cn=Automember Task Administrator,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: Automember Task Administrator
|
|
|
|
default:description: Automember Task Administrator
|
|
|
|
|
|
|
|
dn: cn=Add Automember Rebuild Membership Task,cn=permissions,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: ipapermission
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: Add Automember Rebuild Membership Task
|
|
|
|
default:member: cn=Automember Task Administrator,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:ipapermissiontype: SYSTEM
|
|
|
|
|
|
|
|
dn: cn=config
|
|
|
|
add:aci: '(target = "ldap:///cn=automember rebuild membership,cn=tasks,cn=config")(targetattr=*)(version 3.0;acl "permission:Add Automember Rebuild Membership Task";allow (add) groupdn = "ldap:///cn=Add Automember Rebuild Membership Task,cn=permissions,cn=pbac,$SUFFIX";)'
|
2014-03-26 11:11:23 -05:00
|
|
|
|
|
|
|
|
2014-04-17 05:36:33 -05:00
|
|
|
# Virtual operations
|
|
|
|
|
|
|
|
dn: cn=retrieve certificate,cn=virtual operations,cn=etc,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: nsContainer
|
|
|
|
default:cn: retrieve certificate
|
|
|
|
|
|
|
|
dn: cn=request certificate,cn=virtual operations,cn=etc,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: nsContainer
|
|
|
|
default:cn: request certificate
|
|
|
|
|
|
|
|
dn: cn=request certificate different host,cn=virtual operations,cn=etc,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: nsContainer
|
|
|
|
default:cn: request certificate different host
|
|
|
|
|
|
|
|
dn: cn=certificate status,cn=virtual operations,cn=etc,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: nsContainer
|
|
|
|
default:cn: certificate status
|
|
|
|
|
|
|
|
dn: cn=revoke certificate,cn=virtual operations,cn=etc,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: nsContainer
|
|
|
|
default:cn: revoke certificate
|
|
|
|
|
|
|
|
dn: cn=certificate remove hold,cn=virtual operations,cn=etc,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: nsContainer
|
|
|
|
default:cn: certificate remove hold
|
|
|
|
|
2014-06-18 02:02:03 -05:00
|
|
|
dn: cn=request certificate with subjectaltname,cn=virtual operations,cn=etc,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: nsContainer
|
|
|
|
default:cn: request certificate with subjectaltname
|
|
|
|
|
|
|
|
dn: cn=Request Certificate with SubjectAltName,cn=permissions,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: top
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: ipapermission
|
|
|
|
default:cn: Request Certificate with SubjectAltName
|
|
|
|
default:member: cn=Certificate Administrators,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
|
|
|
|
dn: $SUFFIX
|
|
|
|
add:aci:'(targetattr = "objectclass")(target = "ldap:///cn=request certificate with subjectaltname,cn=virtual operations,cn=etc,$SUFFIX" )(version 3.0; acl "permission:Request Certificate with SubjectAltName"; allow (write) groupdn = "ldap:///cn=Request Certificate with SubjectAltName,cn=permissions,cn=pbac,$SUFFIX";)'
|
|
|
|
|
2014-04-17 05:36:33 -05:00
|
|
|
|
2014-03-26 11:11:23 -05:00
|
|
|
# Read privileges
|
|
|
|
dn: cn=RBAC Readers,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: RBAC Readers
|
|
|
|
default:description: Read roles, privileges, permissions and ACIs
|
2014-03-26 11:11:23 -05:00
|
|
|
|
|
|
|
dn: cn=Password Policy Readers,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: Password Policy Readers
|
|
|
|
default:description: Read password policies
|
2014-03-26 11:11:23 -05:00
|
|
|
|
|
|
|
dn: cn=Kerberos Ticket Policy Readers,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: Kerberos Ticket Policy Readers
|
|
|
|
default:description: Read global and per-user Kerberos ticket policy
|
2014-03-26 11:11:23 -05:00
|
|
|
|
|
|
|
dn: cn=Automember Readers,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: Automember Readers
|
|
|
|
default:description: Read Automember definitions
|
2014-03-26 11:11:23 -05:00
|
|
|
|
|
|
|
dn: cn=IPA Masters Readers,cn=privileges,cn=pbac,$SUFFIX
|
|
|
|
default:objectClass: nestedgroup
|
|
|
|
default:objectClass: groupofnames
|
|
|
|
default:objectClass: top
|
|
|
|
default:cn: IPA Masters Readers
|
|
|
|
default:description: Read list of IPA masters
|
2014-06-12 01:37:40 -05:00
|
|
|
|
|
|
|
dn: cn=masters,cn=ipa,cn=etc,$SUFFIX
|
|
|
|
add:aci:'(targetfilter = "(objectClass=nsContainer)")(targetattr = "cn || objectClass || ipaConfigString")(version 3.0; acl "Read IPA Masters"; allow (read, search, compare) userdn = "ldap:///fqdn=$FQDN,cn=computers,cn=accounts,$SUFFIX";)'
|
|
|
|
add:aci:'(targetfilter = "(objectClass=nsContainer)")(targetattr = "ipaConfigString")(version 3.0; acl "Modify IPA Masters"; allow (write) userdn = "ldap:///fqdn=$FQDN,cn=computers,cn=accounts,$SUFFIX";)'
|