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.
Bug 1430755 - net ads join can't create keytab when 'kerberos method' is set to use a keytab
Summary: net ads join can't create keytab when 'kerberos method' is set to use a keytab
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: samba
Version: 7.4
Hardware: Unspecified
OS: Linux
high
unspecified
Target Milestone: rc
: ---
Assignee: Andreas Schneider
QA Contact: Andrej Dzilský
URL:
Whiteboard:
: 1431277 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-09 14:07 UTC by ChunYu Wang
Modified: 2022-09-16 06:33 UTC (History)
10 users (show)

Fixed In Version: samba-4.6.0-5.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 18:21:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1950 0 normal SHIPPED_LIVE Low: samba security, bug fix, and enhancement update 2017-08-01 18:09:24 UTC
Samba Project 12685 0 None None None 2019-02-28 04:04:22 UTC

Comment 3 Andreas Schneider 2017-03-10 10:31:37 UTC
I'm sorry, but I do not see how exactly this test calls 'net ads join' you need to provide more details. We also need to see the smb.conf and the default krb5.conf.

Comment 6 Andreas Schneider 2017-03-10 13:34:49 UTC
Can you run 'klist' after the kinit?

Comment 8 Andreas Schneider 2017-03-13 10:34:59 UTC
Can you run 'net ads join' with the option -d10 and upload the log level 10 output here?

To which Windows version do you try to join?


Thanks.

Comment 11 Andreas Schneider 2017-03-13 16:49:23 UTC
*** Bug 1431277 has been marked as a duplicate of this bug. ***

Comment 19 ChunYu Wang 2017-03-30 16:49:30 UTC
Test with same script logged in comment 0 shows this issue has been resolved on target samba version:

[root@hp-dl388g8-20 tools]# rpm -qa | grep samba-4
samba-4.6.0-5.el7.x86_64

[root@hp-dl388g8-20 tools]# uname -r
3.10.0-628.el7.x86_64
[root@hp-dl388g8-20 tools]# cat /etc/redhat-release 
Red Hat Enterprise Linux Workstation release 7.4 Beta (Maipo)

Thanks for your quick fix!

Comment 22 errata-xmlrpc 2017-08-01 18:21:34 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-2017:1950


Note You need to log in before you can comment on or make changes to this bug.