summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-07-02 02:55:01 +0200
committerMartin Kosek <mkosek@redhat.com>2014-09-24 10:02:44 +0200
commite629763af9b4b7ce19109ec6ea915d43bb054879 (patch)
treeabecdd3f8ed44adab6aa4ac16f9b7bc1d125ec8b
parent22ce015913c482308d499572bd24389bca98a0e5 (diff)
downloadfreeipa-e629763af9b4b7ce19109ec6ea915d43bb054879.tar.gz
freeipa-e629763af9b4b7ce19109ec6ea915d43bb054879.tar.xz
freeipa-e629763af9b4b7ce19109ec6ea915d43bb054879.zip
Set the default attributes for RootDSE
With 389 DS 1.3.3 upwards we can leverage the nsslapd-return-default-opattr attribute to enumerate the list of attributes that should be returned even if not specified explicitly. Use the behaviour to get the same attributes returned from searches on rootDSE as in 1.3.1. https://fedorahosted.org/freeipa/ticket/4288 Reviewed-By: Martin Kosek <mkosek@redhat.com>
-rw-r--r--install/updates/10-rootdse.update9
-rw-r--r--install/updates/Makefile.am1
2 files changed, 10 insertions, 0 deletions
diff --git a/install/updates/10-rootdse.update b/install/updates/10-rootdse.update
new file mode 100644
index 000000000..f44992a5d
--- /dev/null
+++ b/install/updates/10-rootdse.update
@@ -0,0 +1,9 @@
+# Set the default attributes to be returned by RootDSE
+dn:
+add:nsslapd-return-default-opattr:namingContexts
+add:nsslapd-return-default-opattr:supportedControl
+add:nsslapd-return-default-opattr:supportedExtension
+add:nsslapd-return-default-opattr:supportedLDAPVersion
+add:nsslapd-return-default-opattr:supportedSASLMechanisms
+add:nsslapd-return-default-opattr:vendorName
+add:nsslapd-return-default-opattr:vendorVersion
diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am
index b137ffedc..2aafdd85c 100644
--- a/install/updates/Makefile.am
+++ b/install/updates/Makefile.am
@@ -5,6 +5,7 @@ app_DATA = \
10-config.update \
10-enable-betxn.update \
10-selinuxusermap.update \
+ 10-rootdse.update \
10-uniqueness.update \
10-schema_compat.update \
19-managed-entries.update \