Bug 1366477

Summary: net ads testjoin -k --no-dns-updates ends with: Join to domain is not valid: NT code 0xfffffff6
Product: Red Hat Enterprise Linux 7 Reporter: Robin Hack <rhack>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Robin Hack <rhack>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: asn, gdeschner, jarrpa
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.4.4-6.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 07:02:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robin Hack 2016-08-12 05:57:10 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. join samba to 2003 AD and gain kerberos ticket
2. try to run net commands:
net ads testjoin -k --no-dns-updates
net ads leave -k --no-dns-updates


Actual results:
17:07 <rhack> Join to domain is not valid: NT code 0xfffffff6
17:07 <rhack> :: [   FAIL   ] :: Command 'net ads testjoin -k --no-dns-updates' (Expected 0, got 255)
17:07 <rhack> :: [  BEGIN   ] :: Running 'net ads leave -k --no-dns-updates'
17:07 <rhack> Failed to leave domain: Unable to fetch domain sid: are we joined?
17:07 <rhack> :: [   FAIL   ] :: Command 'net ads leave -k --no-dns-updates' (Expected 0, got 255)


Expected results:
Should work.

Additional info:

Comment 7 errata-xmlrpc 2016-11-04 07:02:05 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://rhn.redhat.com/errata/RHBA-2016-2468.html