summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-07-31 11:52:04 +0200
committerMartin Kosek <mkosek@redhat.com>2014-09-30 10:42:06 +0200
commit6b14030e9076e4f9e71ddb641ba959043284c78d (patch)
treed58f590169a56d646cfdab7c6e2bfbed449dd03c
parent16f3786d25a59a3f4041d780db64940ee80d269d (diff)
downloadfreeipa-6b14030e9076e4f9e71ddb641ba959043284c78d.tar.gz
freeipa-6b14030e9076e4f9e71ddb641ba959043284c78d.tar.xz
freeipa-6b14030e9076e4f9e71ddb641ba959043284c78d.zip
idviews: Create container for ID views under cn=accounts
Part of: https://fedorahosted.org/freeipa/ticket/3979 Reviewed-By: Petr Viktorin <pviktori@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
-rw-r--r--install/updates/71-idviews.update4
-rw-r--r--install/updates/Makefile.am1
-rw-r--r--ipalib/constants.py1
3 files changed, 6 insertions, 0 deletions
diff --git a/install/updates/71-idviews.update b/install/updates/71-idviews.update
new file mode 100644
index 000000000..6ec928c32
--- /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 cec6c8e55..2b3157d2e 100644
--- a/install/updates/Makefile.am
+++ b/install/updates/Makefile.am
@@ -44,6 +44,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 8af221328..b24ff0dd4 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'),