summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-07-31 11:52:04 +0200
committerTomas Babej <tbabej@redhat.com>2014-09-17 14:41:50 +0200
commit6200b8786fc4db9623aaefe728b768d119767096 (patch)
tree262bb3c72c3b09713aefc26660dd61ac1fee008d
parent4f44efb40acce8023405cdc09f5e52346455ac98 (diff)
downloadfreeipa-6200b8786fc4db9623aaefe728b768d119767096.zip
freeipa-6200b8786fc4db9623aaefe728b768d119767096.tar.gz
freeipa-6200b8786fc4db9623aaefe728b768d119767096.tar.xz
idviews: Create container for ID views under cn=accounts
Part of: https://fedorahosted.org/freeipa/ticket/3979
-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 0000000..5a5a3d6
--- /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 \ No newline at end of file
diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am
index 026cde0..555805a 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 8af2213..b24ff0d 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'),