User Life Cycle: create containers and scoping DS plugins
User Life Cycle is designed http://www.freeipa.org/page/V4/User_Life-Cycle_Management
It manages 3 containers (Staging, Active, Delete). At install/upgrade Delete and Staging
containers needs to be created.
Active: cn=users,cn=accounts,$SUFFIX
Delete: cn=deleted users,cn=accounts,cn=provisioning,$SUFFIX
Stage: cn=staged users ,cn=accounts,cn=provisioning,$SUFFIX
Plugins scopes:
krbPrincipalName, krbCanonicalName, ipaUniqueID, uid:
cn=accounts,SUFFIX
cn=deleted users,cn=accounts,cn=provisioning,SUFFIX
DNA:
cn=accounts,SUFFIX
Plugins exclude subtree:
IPA UUID, Referential Integrity, memberOf:
cn=provisioning,SUFFIX
https://fedorahosted.org/freeipa/ticket/3813
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
2014-08-07 09:29:02 -05:00
|
|
|
# bootstrap the user life cycle DIT structure.
|
|
|
|
|
|
|
|
dn: cn=provisioning,$SUFFIX
|
2015-03-05 07:25:33 -06:00
|
|
|
default: objectclass: top
|
|
|
|
default: objectclass: nsContainer
|
|
|
|
default: cn: provisioning
|
User Life Cycle: create containers and scoping DS plugins
User Life Cycle is designed http://www.freeipa.org/page/V4/User_Life-Cycle_Management
It manages 3 containers (Staging, Active, Delete). At install/upgrade Delete and Staging
containers needs to be created.
Active: cn=users,cn=accounts,$SUFFIX
Delete: cn=deleted users,cn=accounts,cn=provisioning,$SUFFIX
Stage: cn=staged users ,cn=accounts,cn=provisioning,$SUFFIX
Plugins scopes:
krbPrincipalName, krbCanonicalName, ipaUniqueID, uid:
cn=accounts,SUFFIX
cn=deleted users,cn=accounts,cn=provisioning,SUFFIX
DNA:
cn=accounts,SUFFIX
Plugins exclude subtree:
IPA UUID, Referential Integrity, memberOf:
cn=provisioning,SUFFIX
https://fedorahosted.org/freeipa/ticket/3813
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
2014-08-07 09:29:02 -05:00
|
|
|
|
|
|
|
dn: cn=accounts,cn=provisioning,$SUFFIX
|
2015-03-05 07:25:33 -06:00
|
|
|
default: objectclass: top
|
|
|
|
default: objectclass: nsContainer
|
|
|
|
default: cn: accounts
|
User Life Cycle: create containers and scoping DS plugins
User Life Cycle is designed http://www.freeipa.org/page/V4/User_Life-Cycle_Management
It manages 3 containers (Staging, Active, Delete). At install/upgrade Delete and Staging
containers needs to be created.
Active: cn=users,cn=accounts,$SUFFIX
Delete: cn=deleted users,cn=accounts,cn=provisioning,$SUFFIX
Stage: cn=staged users ,cn=accounts,cn=provisioning,$SUFFIX
Plugins scopes:
krbPrincipalName, krbCanonicalName, ipaUniqueID, uid:
cn=accounts,SUFFIX
cn=deleted users,cn=accounts,cn=provisioning,SUFFIX
DNA:
cn=accounts,SUFFIX
Plugins exclude subtree:
IPA UUID, Referential Integrity, memberOf:
cn=provisioning,SUFFIX
https://fedorahosted.org/freeipa/ticket/3813
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
2014-08-07 09:29:02 -05:00
|
|
|
|
|
|
|
dn: cn=staged users,cn=accounts,cn=provisioning,$SUFFIX
|
2015-03-05 07:25:33 -06:00
|
|
|
default: objectclass: top
|
|
|
|
default: objectclass: nsContainer
|
|
|
|
default: cn: staged users
|
User Life Cycle: create containers and scoping DS plugins
User Life Cycle is designed http://www.freeipa.org/page/V4/User_Life-Cycle_Management
It manages 3 containers (Staging, Active, Delete). At install/upgrade Delete and Staging
containers needs to be created.
Active: cn=users,cn=accounts,$SUFFIX
Delete: cn=deleted users,cn=accounts,cn=provisioning,$SUFFIX
Stage: cn=staged users ,cn=accounts,cn=provisioning,$SUFFIX
Plugins scopes:
krbPrincipalName, krbCanonicalName, ipaUniqueID, uid:
cn=accounts,SUFFIX
cn=deleted users,cn=accounts,cn=provisioning,SUFFIX
DNA:
cn=accounts,SUFFIX
Plugins exclude subtree:
IPA UUID, Referential Integrity, memberOf:
cn=provisioning,SUFFIX
https://fedorahosted.org/freeipa/ticket/3813
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
2014-08-07 09:29:02 -05:00
|
|
|
|
|
|
|
dn: cn=deleted users,cn=accounts,cn=provisioning,$SUFFIX
|
2015-03-05 07:25:33 -06:00
|
|
|
default: objectclass: top
|
|
|
|
default: objectclass: nsContainer
|
2015-05-08 09:12:58 -05:00
|
|
|
default: cn: deleted users
|
2015-03-05 07:25:33 -06:00
|
|
|
|
|
|
|
# This is used for the admin to know if credential are set for stage users
|
2015-05-08 09:12:58 -05:00
|
|
|
# We can do a query on a DN to see if an attribute exists or retrieve the value
|
2015-03-05 07:25:33 -06:00
|
|
|
dn: cn=staged users,cn=accounts,cn=provisioning,$SUFFIX
|
2018-01-02 09:28:24 -06:00
|
|
|
remove:aci: (targetattr="userPassword || krbPrincipalKey")(version 3.0; acl "Search existence of password and kerberos keys"; allow(read, search) userdn = "ldap:///uid=admin,cn=users,cn=accounts,$SUFFIX";)
|
|
|
|
add:aci: (targetattr="userPassword || krbPrincipalKey")(version 3.0; acl "Search existence of password and kerberos keys"; allow(read, search) groupdn = "ldap:///cn=admins,cn=groups,cn=accounts,$SUFFIX";)
|
2015-05-08 09:12:58 -05:00
|
|
|
|
|
|
|
# This is used for the admin to reset the delete users credential
|
2015-05-08 03:41:44 -05:00
|
|
|
# No one is allowed to add entry in Delete container
|
2015-05-08 09:12:58 -05:00
|
|
|
dn: cn=deleted users,cn=accounts,cn=provisioning,$SUFFIX
|
2018-01-02 09:28:24 -06:00
|
|
|
remove:aci: (targetattr="userPassword || krbPrincipalKey || krbPasswordExpiration || krbLastPwdChange")(version 3.0; acl "Admins allowed to reset password and kerberos keys"; allow(read, search, write) userdn = "ldap:///uid=admin,cn=users,cn=accounts,$SUFFIX";)
|
|
|
|
add:aci: (targetattr="userPassword || krbPrincipalKey || krbPasswordExpiration || krbLastPwdChange")(version 3.0; acl "Admins allowed to reset password and kerberos keys"; allow(read, search, write) groupdn = "ldap:///cn=admins,cn=groups,cn=accounts,$SUFFIX";)
|
2015-05-08 09:12:58 -05:00
|
|
|
add:aci: (targetattr = "*")(version 3.0; acl "No one can add entry in Delete container"; deny (add) userdn = "ldap:///all";)
|
|
|
|
|
|
|
|
dn: cn=provisioning accounts lock,cn=accounts,cn=provisioning,$SUFFIX
|
|
|
|
default: objectClass: top
|
|
|
|
default: objectClass: cosSuperDefinition
|
|
|
|
default: objectClass: cosPointerDefinition
|
|
|
|
default: objectClass: ldapSubEntry
|
|
|
|
default: costemplatedn: cn=Inactivation cos template,cn=accounts,cn=provisioning,$SUFFIX
|
|
|
|
default: cosAttribute: nsaccountlock operational
|
|
|
|
default: cn: provisioning accounts lock
|
|
|
|
|
|
|
|
dn: cn=Inactivation cos template,cn=accounts,cn=provisioning,$SUFFIX
|
|
|
|
default: objectClass: top
|
|
|
|
default: objectClass: extensibleObject
|
|
|
|
default: objectClass: cosTemplate
|
|
|
|
default: cosPriority: 1
|
|
|
|
default: cn: Inactivation cos template
|
|
|
|
default: nsAccountLock: true
|