Bug 768510
| Summary: | migrate-ds : misleading error message when invalid objectclass defined | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jenny Severance <jgalipea> |
| Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2 | CC: | mkosek |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-3.0.0-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 09:08:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jenny Severance
2011-12-16 20:40:46 UTC
Upstream ticket: https://fedorahosted.org/freeipa/ticket/2206 Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/d31f0c2d330488e6b351f36d5a8f4f0affda935b We cannot verify that the object class is right, user may use any custom object classes for the remote LDAP search. What we did is that the error message now does not mention the container specifically, but is more general and includes the remote LDAP search attributes which should help user discover the error. verified :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ds-migration-cmd-004 Invalid User Object Class :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: EXECUTING: ipa migrate-ds --user-container="ou=People" --group-container="ou=groups" --user-objectclass=badclass ldap://qe-blade-13.testrelm.com:389 :: [ PASS ] :: Check return code :: [ PASS ] :: File '/tmp/error.out' should contain 'ipa: ERROR: user LDAP search did not return any result (search base: ou=People,dc=example,dc=com, objectclass: badclass)' :: [ LOG ] :: Related Bugzilla :: https://bugzilla.redhat.com/show_bug.cgi?id=768510 :: [ LOG ] :: Duration: 3s :: [ LOG ] :: Assertions: 2 good, 0 bad :: [ PASS ] :: RESULT: ds-migration-cmd-004 Invalid User Object Class :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ds-migration-cmd-005 Invalid Group Object Class :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: EXECUTING: ipa migrate-ds --user-container="ou=People" --group-container="ou=groups" --group-objectclass=badclass ldap://qe-blade-13.testrelm.com:389 :: [ PASS ] :: Check return code :: [ PASS ] :: File '/tmp/error.out' should contain 'ipa: ERROR: group LDAP search did not return any result (search base: ou=groups,dc=example,dc=com, objectclass: badclass)' :: [ LOG ] :: Related Bugzilla :: https://bugzilla.redhat.com/show_bug.cgi?id=768510 :: [ LOG ] :: Duration: 3s :: [ LOG ] :: Assertions: 2 good, 0 bad :: [ PASS ] :: RESULT: ds-migration-cmd-005 Invalid Group Object Class version :: ipa-server-3.0.0-21.el6 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. http://rhn.redhat.com/errata/RHSA-2013-0528.html |