From 036ea78a8b2f5a6705f08e344fbe123796d0eeba Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sep 30 2014 08:42:06 +0000 Subject: idviews: Create container for ID views under cn=accounts Part of: https://fedorahosted.org/freeipa/ticket/3979 Reviewed-By: Petr Viktorin Reviewed-By: Petr Vobornik Reviewed-By: Alexander Bokovoy --- diff --git a/install/updates/71-idviews.update b/install/updates/71-idviews.update new file mode 100644 index 0000000..6ec928c --- /dev/null +++ b/install/updates/71-idviews.update @@ -0,0 +1,4 @@ +dn: cn=views,cn=accounts,$SUFFIX +default: objectClass: top +default: objectClass: nsContainer +default: cn: views diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am index 9e3db24..8bd0ee5 100644 --- a/install/updates/Makefile.am +++ b/install/updates/Makefile.am @@ -43,6 +43,7 @@ app_DATA = \ 60-trusts.update \ 61-trusts-s4u2proxy.update \ 62-ranges.update \ + 71-idviews.update \ $(NULL) EXTRA_DIST = \ diff --git a/ipalib/constants.py b/ipalib/constants.py index 8ae5455..8fb4974 100644 --- a/ipalib/constants.py +++ b/ipalib/constants.py @@ -113,6 +113,7 @@ DEFAULT_CONFIG = ( ('container_realm_domains', DN(('cn', 'Realm Domains'), ('cn', 'ipa'), ('cn', 'etc'))), ('container_otp', DN(('cn', 'otp'))), ('container_radiusproxy', DN(('cn', 'radiusproxy'))), + ('container_views', DN(('cn', 'views'), ('cn', 'accounts'))), # Ports, hosts, and URIs: ('xmlrpc_uri', 'http://localhost:8888/ipa/xml'),