|
|
544061 |
install/updates/30-ipservices.update from 39eaf2fa as it is not part of the
|
|
|
544061 |
release tarball of 4.8.0 but needed for 27586cb7:
|
|
|
544061 |
|
|
|
544061 |
commit 39eaf2fab5e27bd12edfb2a24c439a8ea5fb26f0
|
|
|
544061 |
Author: Christian Heimes <cheimes@redhat.com>
|
|
|
544061 |
Date: Fri Dec 7 13:08:49 2018 +0100
|
|
|
544061 |
|
|
|
544061 |
Add index and container for RFC 2307 IP services
|
|
|
544061 |
|
|
|
544061 |
IPA doesn't officially support RFC 2307 IP services. However SSSD has a
|
|
|
544061 |
nsswitch plugin to provide service lookups. The subtree search for
|
|
|
544061 |
(&(ipserviceport=$PORT)(ipserviceprotocol=$SRV)(objectclass=ipservice)) in
|
|
|
544061 |
cn=accounts,$SUFFIX has caused performance issues on large
|
|
|
544061 |
installations.
|
|
|
544061 |
|
|
|
544061 |
This patch introduced a dedicated container
|
|
|
544061 |
cn=ipservices,cn=accounts,$SUFFIX for IP services for future use or 3rd
|
|
|
544061 |
party extensions. SSSD will be change its search base in an upcoming
|
|
|
544061 |
release, too.
|
|
|
544061 |
|
|
|
544061 |
A new ipServicePort index is added to optimize searches for an IP
|
|
|
544061 |
service by port. There is no index on ipServiceProtocol because the index
|
|
|
544061 |
would have poor selectivity. An ipService entry has either 'tcp' or 'udp'
|
|
|
544061 |
as protocol.
|
|
|
544061 |
|
|
|
544061 |
Fixes: https://pagure.io/freeipa/issue/7797
|
|
|
544061 |
See: https://pagure.io/freeipa/issue/7786
|
|
|
544061 |
Signed-off-by: Christian Heimes <cheimes@redhat.com>
|
|
|
544061 |
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
|
|
|
544061 |
|
|
|
544061 |
diff --git a/install/updates/30-ipservices.update b/install/updates/30-ipservices.update
|
|
|
544061 |
new file mode 100644
|
|
|
544061 |
index 000000000..01a6d52f8
|
|
|
544061 |
--- /dev/null
|
|
|
544061 |
+++ b/install/updates/30-ipservices.update
|
|
|
544061 |
@@ -0,0 +1,6 @@
|
|
|
544061 |
+# container for RFC 2307 IP services
|
|
|
544061 |
+
|
|
|
544061 |
+dn: cn=ipservices,cn=accounts,$SUFFIX
|
|
|
544061 |
+default: objectClass: top
|
|
|
544061 |
+default: objectClass: nsContainer
|
|
|
544061 |
+default: cn: ipservices
|
|
|
544061 |
install/updates/75-user-trust-attributes.update from c18ee9b6 as it is not
|
|
|
544061 |
part of the release tarball of 4.8.0 but needed for 27586cb7:
|
|
|
544061 |
|
|
|
544061 |
commit c18ee9b641ddc1e6b52d0413caa1fb98ac13785d
|
|
|
544061 |
Author: Tibor Dudlák <tdudlak@redhat.com>
|
|
|
544061 |
Date: Tue Apr 2 16:23:09 2019 +0200
|
|
|
544061 |
|
|
|
544061 |
Add SMB attributes for users
|
|
|
544061 |
|
|
|
544061 |
SMB attributes are used by Samba domain controller when reporting
|
|
|
544061 |
details about IPA users via LSA DCE RPC calls.
|
|
|
544061 |
|
|
|
544061 |
Based on the initial work from the external plugin:
|
|
|
544061 |
https://github.com/abbra/freeipa-user-trust-attributes
|
|
|
544061 |
|
|
|
544061 |
Related: https://pagure.io/freeipa/issue/3999
|
|
|
544061 |
|
|
|
544061 |
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
|
|
|
544061 |
Signed-off-by: Tibor Dudlák <tdudlak@redhat.com>
|
|
|
544061 |
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
|
|
|
544061 |
Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
|
|
|
544061 |
|
|
|
544061 |
diff --git a/install/updates/75-user-trust-attributes.update b/install/updates/75-user-trust-attributes.update
|
|
|
544061 |
new file mode 100644
|
|
|
544061 |
index 000000000..43bb40c7d
|
|
|
544061 |
--- /dev/null
|
|
|
544061 |
+++ b/install/updates/75-user-trust-attributes.update
|
|
|
544061 |
@@ -0,0 +1,5 @@
|
|
|
544061 |
+# Add an explicit self-service ACI to allow writing to manage trust attributes
|
|
|
544061 |
+# for the owner of the object
|
|
|
544061 |
+dn: cn=users,cn=accounts,$SUFFIX
|
|
|
544061 |
+add:aci:(targetattr = "ipantlogonscript || ipantprofilepath || ipanthomedirectory || ipanthomedirectorydrive")(version 3.0;acl "system:Allow trust agents to read user SMB attributes";allow (read) groupdn = "ldap:///cn=adtrust agents,cn=sysaccounts,cn=etc,$SUFFIX";)
|
|
|
544061 |
+add:aci:(targetattr = "ipantlogonscript || ipantprofilepath || ipanthomedirectory || ipanthomedirectorydrive")(version 3.0;acl "selfservice:Users can manage their SMB attributes";allow (write) userdn = "ldap:///self";)
|
|
|
544061 |
commit 27586cb7ae32af191cb8a3c36fc8856957300f08
|
|
|
544061 |
Author: Timo Aaltonen <tjaalton@debian.org>
|
|
|
544061 |
Date: Fri Aug 9 23:03:25 2019 +0300
|
|
|
544061 |
|
|
|
544061 |
install: Add missing scripts to app_DATA.
|
|
|
544061 |
|
|
|
544061 |
Signed-off-by: Timo Aaltonen <tjaalton@debian.org>
|
|
|
544061 |
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
|
|
|
544061 |
|
|
|
544061 |
diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am
|
|
|
544061 |
index bce8a56b1..68facbaf2 100644
|
|
|
544061 |
--- a/install/updates/Makefile.am
|
|
|
544061 |
+++ b/install/updates/Makefile.am
|
|
|
544061 |
@@ -30,6 +30,7 @@ app_DATA = \
|
|
|
544061 |
21-ca_renewal_container.update \
|
|
|
544061 |
21-certstore_container.update \
|
|
|
544061 |
25-referint.update \
|
|
|
544061 |
+ 30-ipservices.update \
|
|
|
544061 |
30-provisioning.update \
|
|
|
544061 |
30-s4u2proxy.update \
|
|
|
544061 |
37-locations.update \
|
|
|
544061 |
@@ -63,6 +64,7 @@ app_DATA = \
|
|
|
544061 |
73-custodia.update \
|
|
|
544061 |
73-winsync.update \
|
|
|
544061 |
73-certmap.update \
|
|
|
544061 |
+ 75-user-trust-attributes.update \
|
|
|
544061 |
80-schema_compat.update \
|
|
|
544061 |
90-post_upgrade_plugins.update \
|
|
|
544061 |
$(NULL)
|