Bug 1070926
| Summary: | wrong error message is returned when there are no permissions to re-create trust | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Martin Kosek <mkosek> |
| Component: | ipa | Assignee: | Martin Kosek <mkosek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Namita Soman <nsoman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | rcritten, sgoveas |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-3.3.3-20.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 13:25:32 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
Martin Kosek
2014-02-27 18:31:18 UTC
Fixed upstream: master: 3a7ba6013ffe43176bcff2c716b33552853847ff ipaserver/dcerpc: catch the case of insuffient permissions when establishing trust ipa-3-3: 42108d1c0dc552e5dbc249507bfe59a1ef1d4c8e ipaserver/dcerpc: catch the case of insuffient permissions when establishing trust :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: trust_cli_bz1070926: Give user with no administrator rights for --admin option bz1070926 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:06:03 ] :: https://bugzilla.redhat.com/show_bug.cgi?id=1070926 :: [ 07:06:03 ] :: bz1070926: wrong error message is returned when there are no permissions to re-create trust MARK-LWD-LOOP -- 2014-03-06 07:06:04 -- sAMAccountName: aduser1 :: [ PASS ] :: aduser1 exists on AD (Expected 0, got 0) :: [ PASS ] :: aduser1 not a member of administrators group (Expected 1, got 1) :: [ PASS ] :: Running 'echo Secret123 | ipa trust-add --type=ad adtest.qe --admin aduser1 --password > /tmp/tmp.nMaArKpzeo/tmpout.trust_cli_bz1070926.out 2>&1' (Expected 1, got 1) ipa: ERROR: Insufficient access: CIFS server denied your credentials :: [ PASS ] :: File '/tmp/tmp.nMaArKpzeo/tmpout.trust_cli_bz1070926.out' should contain 'ipa: ERROR: Insufficient access: CIFS server denied your credentials' :: [ PASS ] :: Running 'echo -e "adtest.qe\nSecret123" | ipa trust-add --type=ad --admin aduser1 --password > /tmp/tmp.nMaArKpzeo/tmpout.trust_cli_bz1070926.out 2>&1' (Expected 1, got 1) ipa: ERROR: Insufficient access: CIFS server denied your credentials Realm name: :: [ PASS ] :: File '/tmp/tmp.nMaArKpzeo/tmpout.trust_cli_bz1070926.out' should contain 'ipa: ERROR: Insufficient access: CIFS server denied your credentials' '91b961da-f3e9-4180-9dfa-3454f910bf7a' trust-cli-bz1070926 result: PASS metric: 0 Log: /var/tmp/beakerlib-19626433/journal.txt Info: Searching AVC errors produced since 1394107563.37 (Thu Mar 6 07:06:03 2014) Searching logs... Info: No AVC messages found. Writing to /mnt/testarea/tmp.bEyQaN : AvcLog: /mnt/testarea/tmp.bEyQaN :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: trust_cli_bz1070926_2: User with no administrator rights for --admin to re-create trust bz1070926 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:08:21 ] :: https://bugzilla.redhat.com/show_bug.cgi?id=1070926 :: [ 07:08:21 ] :: bz1070926: wrong error message is returned when there are no permissions to re-create trust sAMAccountName: aduser1 :: [ PASS ] :: aduser1 exists on AD (Expected 0, got 0) :: [ PASS ] :: aduser1 not a member of administrators group (Expected 1, got 1) :: [ PASS ] :: Running 'echo Secret123 | ipa trust-add --type=ad adtest.qe --admin aduser1 --password > /tmp/tmp.nMaArKpzeo/tmpout.trust_cli_bz1070926_2.out 2>&1' (Expected 1, got 1) ipa: ERROR: Insufficient access: CIFS server denied your credentials :: [ PASS ] :: File '/tmp/tmp.nMaArKpzeo/tmpout.trust_cli_bz1070926_2.out' should contain 'ipa: ERROR: Insufficient access: CIFS server denied your credentials' :: [ PASS ] :: Running 'echo -e "adtest.qe\nSecret123" | ipa trust-add --type=ad --admin aduser1 --password > /tmp/tmp.nMaArKpzeo/tmpout.trust_cli_bz1070926_2.out 2>&1' (Expected 1, got 1) ipa: ERROR: Insufficient access: CIFS server denied your credentials Realm name: :: [ PASS ] :: File '/tmp/tmp.nMaArKpzeo/tmpout.trust_cli_bz1070926_2.out' should contain 'ipa: ERROR: Insufficient access: CIFS server denied your credentials' 'e6308632-82c5-43fc-a161-9933711483e5' trust-cli-bz1070926-2 result: PASS metric: 0 Log: /var/tmp/beakerlib-19626433/journal.txt Info: Searching AVC errors produced since 1394107701.32 (Thu Mar 6 07:08:21 2014) Searching logs... Info: No AVC messages found. Writing to /mnt/testarea/tmp.bEyQaN : AvcLog: /mnt/testarea/tmp.bEyQaN Verified in Version ipa-server-3.3.3-20.el7.x86_64 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. |