freeipa/ipaserver/install/plugins
Alexander Bokovoy d631e008cc adtrust: update Samba domain controller keytab with host keys
When DCERPC clients use Kerberos authentication, they use a service
ticket to host/domain.controller because in Active Directory any
service on the host is an alias to the machine account object.

In FreeIPA each Kerberos service has own keys so host/.. and cifs/..
do not share the same keys. It means Samba suite needs to have access to
host/.. keytab entries to validate incoming DCERPC requests.

Unfortunately, MIT Kerberos has no means to operate on multiple keytabs
at the same time and Samba doesn't implement this either. We cannot use
GSS-Proxy as well because Samba daemons are running under root.

As a workaround, copy missing aes256 and aes128 keys from the host
keytab. SMB protocol doesn't use other encryption types and we don't
have rc4-hmac for the host either.

Fixes: https://pagure.io/freeipa/issue/3999
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-06-29 11:00:28 +03:00
..
__init__.py Server Upgrade: specify order of plugins in update files 2015-04-14 19:25:47 +02:00
adtrust.py adtrust: update Samba domain controller keytab with host keys 2019-06-29 11:00:28 +03:00
ca_renewal_master.py Use api.env.container_masters 2019-03-28 00:21:00 +01:00
dns.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
fix_replica_agreements.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
rename_managed.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
update_ca_topology.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
update_dna_shared_config.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
update_fix_duplicate_cacrt_in_ldap.py Fix ipa-server-upgrade: This entry already exists 2017-08-30 12:47:53 +02:00
update_idranges.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
update_ldap_server_list.py Move ds.replica_populate to an update plugin 2016-11-11 12:13:56 +01:00
update_managed_permissions.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
update_nis.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
update_pacs.py logging: remove object-specific loggers 2017-07-14 15:55:59 +02:00
update_passsync.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
update_ra_cert_store.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
update_referint.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
update_services.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
update_unhashed_password.py Switch nsslapd-unhashed-pw-switch to nolog 2019-05-24 12:42:51 +02:00
update_uniqueness.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
upload_cacrt.py CA: set ipaconfigstring:compatCA in cn=DOMAIN IPA CA 2019-05-22 17:53:13 +02:00