| Age | Commit message (Collapse) | Author | Files | Lines |
|
New configure option '--with-vendordir' to search for krb5.conf in case
$(sysconfdir)/krb5.conf does not exist.
Doc: https://en.opensuse.org/openSUSE:Packaging_UsrEtc
Doc: https://github.com/uapi-group/specifications/blob/main/specs/configuration_files_specification.md
Signed-off-by: Samuel Cabrero <scabrero@suse.com>
|
|
Resolves: https://gitlab.freedesktop.org/realmd/adcli/-/work_items/47
|
|
librkb5 returns the default keytab with a 'FILE:' prefix which must be
removed before calling libselinux functions to operate on the keytab
file.
Resolves: https://issues.redhat.com/browse/RHEL-78631
|
|
|
|
If SELinux is enable in a system the file context of the keytab file
might be important because it will restrict access for confined services
and applications.
Typically the system keytab /etc/krb5.keytab is handled by the system
policy. But adcli will create e.g. /etc/krb5.keytab.domain.name for MSAs
which should get the keytab specific file context as well. This patch
adds a SELinux policy module for adcli which set the file context for
files matching the pattern /etc/krb5.keytab.* and
/etc/sssd/krb5.keytab.* . Unfortunately wildcards are not supported for
automatic transitions in the kernel so that adcli has to call
selinux_restorecon() manually on new or changed keytab files.
Resolves: https://issues.redhat.com/browse/RHEL-78631
|
|
With this new option the delete-computer sub-command can delete child
objects of the computer object as well.
Resolves: https://gitlab.freedesktop.org/realmd/adcli/-/issues/18
Resolves: https://issues.redhat.com/browse/RHEL-16141
|
|
Since the DNS domain name of a client might differ from the name of the
joined domain it is more reliable to use the realm name found in the
keytab when testing the join.
Resolves: https://issues.redhat.com/browse/RHEL-5044
|
|
|
|
Use LDAP add/mod operation instead of Kerberos to set the machine
account password.
There was an issue in AD where if PacRequestorEnforcement was set to '2'
setting the machine account password via Kerberos would be rejected.
This is already fixed on the AD side bit this patch which was created
with the help of David Mulder <dmulder@suse.com> might still be useful
if setting the machine account password with Kerberos might fail.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2039349
Resolves: https://gitlab.freedesktop.org/realmd/adcli/-/issues/27
|
|
If the --use-ldaps option is used and there is no reply on the CLDAP
389/udp port adcli will try to send the request to the LDAPS port
636/tcp.
Resolves: https://gitlab.freedesktop.org/realmd/adcli/-/issues/31
|
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2124030
Resolves: https://gitlab.freedesktop.org/realmd/adcli/-/issues/10
|
|
|
|
When adcli is called from sssd it inherits the sssd's umask (0177) and as
the default sssd.service file drops CAP_DAC_OVERRIDE, the result is that
the directory is created with mode 0600 and the krb5.conf snippet can't be
created even running as root.
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
|
|
The undefined behaviour lead to clashes / misinterpretation of short
options on some systems. Note that glibc for example uses the argument
of isalnum etc. as an index into a lookup table.
|
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1690920
|
|
With the new option common LDAP attributes can be set.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1690920
|
|
The new command allows to set or reset a user password with the help of
an account privileged to set the password.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1952828
|
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1769644
|
|
|
|
With the new configure option --with-vendor-error-message a packager or
a distribution can add a message if adcli returns with an error.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1889386
|
|
A new option was added to 'adcli update' toggle the ACCOUNTDISABLE flag
of AD's userAccountControl LDAP attribute to disable or enable the given
host account.
'adcli join' will automatically enable the host account.
Resolves: https://gitlab.freedesktop.org/realmd/adcli/-/issues/21
|
|
Determine keytab name more early to catch errors more early.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1854112
|
|
Add new sub-command to create a managed service account in AD. This can
be used if LDAP access to AD is needed but the host is already joined to
a different domain.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1854112
|
|
When adding the use-ldaps option the update and testjoin sub-commands
were forgotten.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1883467
|
|
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1791611
|
|
MIT's libkrb5 checks available locator plugins first before checking the
config file. This might cause issues when the locator plugin returns a
different DC than the one used for the LDAP connection if some data must
be replicated.
This patch sets the SSSD_KRB5_LOCATOR_DISABLE environment variable to
'true' to disable SSSD's locator plugin for adcli.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1762633
|
|
Reading the keytab is not required when deleting a host object in AD. It
is only needed in the case where the host was added with a manual set
NetBIOS name (--computer-name option) which does not match the short
hostname and no computer name was given at the delete-computer command
line.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1840752
|
|
In general using the LDAP port with GSS-SPNEGO should satifiy all
requirements an AD DC should have for authentication on an encrypted
LDAP connection.
But if e.g. the LDAP port is blocked by a firewall using the LDAPS port
with TLS encryption might be an alternative. For this use case the
--use-ldaps option is added.
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1762420
|
|
This new option allows to set the description LDAP attribute for the AD
computer object.
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1737342
|
|
The show-computer command prints the LDAP attributes of the related
computer object from AD.
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1737342
|
|
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1588596
|
|
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1588596
|
|
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1588596
|
|
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1588596
|
|
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1588596
|
|
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1588596
|
|
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1588596
|
|
This reverts commit 41fdcb1af885d99a91e27406e9343b322f67756a.
|
|
By calling adcli testjoin it will be checked if the host credentials
stored in the keytab are still valid.
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1622583
|
|
Related to https://gitlab.freedesktop.org/realmd/adcli/issues/2
|
|
Related to https://gitlab.freedesktop.org/realmd/adcli/issues/2
|
|
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1588596
|
|
See https://gitlab.freedesktop.org/realmd/adcli/issues/15
|
|
Currently it is only possible to specific a service name for service
principals but not to set the full service principal. This is e.g.
needed if there is a service running on a host which should be reachable
by a different DNS name as well.
With this patch service principal can be added and removed by specifying
the full name.
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1547014
|
|
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1538730
|
|
Allow to specify an alternative path to Samba's net utility at configure
time and at run time.
https://bugs.freedesktop.org/show_bug.cgi?id=100118
https://gitlab.freedesktop.org/realmd/adcli/issues/6
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=100118
https://gitlab.freedesktop.org/realmd/adcli/issues/6
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=100118
https://gitlab.freedesktop.org/realmd/adcli/issues/6
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1359773
|