Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
since version of samba-common-tools-4.6.2-12.el7_4.x86_64, the command 'net ads keytab add':
- does not ask for AD admin password
- only updates the local Kerberos database, not the computer object in AD (the SPN attribute)
This was (as of samba-common-tools-4.4) working - not quite properly, but was working.
Comment 2Andreas Schneider
2018-01-02 13:45:26 UTC
Ondrej, could you please post the output of:
testparm -s
More info:
The command works as expected when adding SPN for the same machine, i.e:
> net ads keytab add nfs
but fails when I need to add SPN for the different host (say CNAME alias for virtual webserver performing SPNEGO authentication):
> net ads keytab add HTTP/different.host.s3group.com.S3GROUP.COM
Comment 5Andreas Schneider
2018-01-03 11:02:29 UTC
I think that's simply not supported. Could you open an upstream bug for this?
Created support case #02002973.
Basically, I want to follow this Apache howto:
https://wiki.gentoo.org/wiki/Kerberos_Windows_Interoperability
without having to fiddle with the setspn command. I would expect Samba will do this for me.
Let's see what happens...
Comment 9Andreas Schneider
2018-01-03 16:53:36 UTC
Open an upstream Samba bug and paste the link here.
Question: Is it realistic to expect once this feature is implemented in Samba, the "adcli" command will inherit it as well or I need to open a separate RFE for this?
Comment 14Andreas Schneider
2018-02-19 13:57:23 UTC
adcli is not a Samba project. So you need to open a RFE for it.
Comment 15Andreas Schneider
2018-03-07 13:29:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2019:2099