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 1029856 - Improve error reporting for adding trust case
Summary: Improve error reporting for adding trust case
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-13 11:28 UTC by Martin Kosek
Modified: 2015-09-23 14:41 UTC (History)
7 users (show)

Fixed In Version: ipa-3.3.3-5.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:57:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Martin Kosek 2013-11-13 11:28:38 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/4024

When establishing trust IPA might report following error message:

{{{
[root@host ~]# ipa trust-add ipaqe.com --type=ad --admin administrator --password
Active directory domain administrator's password:
ipa: ERROR: CIFS server communication error: code "-1073741811",
                message "Unexpected information received" (both may be "None")
}}}

The error code -1073741811 is NT_STATUS_INVALID_PARAMETER. What happens is that Samba library that we use tries to establish an authenticated connection to the AD DC using Kerberos credentials of the AD administrator and that fails  due to Kerberos-related issue.

In most cases the actual issue is clock skew, so it would be good to suggest to check time difference between AD and IPA.

Comment 4 Scott Poore 2014-01-28 19:45:11 UTC
How can we reproduce this one?

I tried skewing the clock a few times and running trust-add but, it's no longer failing.

Comment 5 Martin Kosek 2014-01-29 08:04:17 UTC
Alexander or Sumit, can you please advise?

Comment 6 Sumit Bose 2014-02-11 08:02:57 UTC
Recent MIT Kerberos versions contain a fix by Stef Walter which fixes  the clock skew issue for TGT requests. So I think this ticket can only be verified by checking if /usr/lib/python2.7/site-packages/ipaserver/dcerpc.py contains explanations for error code -1073741811 (NT_STATUS_INVALID_PARAMETER).

Comment 7 Steeve Goveas 2014-02-11 11:41:37 UTC
[root@dhcp207-151 ~]# grep -A4 1073741811 /usr/lib/python2.7/site-packages/ipaserver/dcerpc.py
    -1073741811: # NT_STATUS_INVALID_PARAMETER
        errors.RemoteRetrieveError(
            reason=_('AD domain controller complains about communication sequence. It may mean unsynchronized time on both sides, for example')),
}

Verified in version
[root@dhcp207-151 ~]# rpm -qf /usr/lib/python2.7/site-packages/ipaserver/dcerpc.py
ipa-server-trust-ad-3.3.3-17.el7.x86_64

Comment 8 Ludek Smid 2014-06-13 12:57:15 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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