Bug 1529444
| Summary: | ObjectclassViolation seen while adding idview with domain-resolution-order option. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Sudhir Menon <sumenon> |
| Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
| Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.5 | CC: | cheimes, enewland, frenaud, ksiddiqu, lmiksik, pasik, pvoborni, rcritten, tscherf |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.5.4-8.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-10 16:49:55 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
Sudhir Menon
2017-12-28 06:33:48 UTC
slapd error log. [28/Dec/2017:01:31:31.423622106 -0500] - ERR - oc_check_allowed_sv - Entry "cn=special_host_view,cn=views,cn=accounts,dc=testrelm,dc=test" -- attribute "ipaDomainResolutionOrder" not allowed Upstream ticket: https://pagure.io/freeipa/issue/7350 master:
830866d Idviews: fix objectclass violation on idview-add
4.5 and 4.6 backports didn't apply cleanly. Florence, please backport your fix manually.
ipa-4-5:
53047d6 Idviews: fix objectclass violation on idview-add
ipa-4-6:
6c89b26 Idviews: fix objectclass violation on idview-add
Fix is seen. Verified using [root@master ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.5 Beta (Maipo) ipa-server-4.5.4-8.el7.x86_64 389-ds-base-1.3.7.5-13.el7.x86_64 [root@master ~]# ipa trust-add --two-way=true Realm name: pne.qe Active Directory domain administrator: administrator Active Directory domain administrator's password: ----------------------------------------------- Added Active Directory trust for realm "pne.qe" ----------------------------------------------- Realm name: pne.qe Domain NetBIOS name: PNE Domain Security Identifier: S-1-5-21-2202318585-426110948-4011710778 Trust direction: Two-way trust Trust type: Active Directory domain Trust status: Established and verified [root@master ~]# id aduser1 uid=1261605281(aduser1) gid=1261605281(aduser1) groups=1261605281(aduser1),1261601629(adgroup2),1261601559(adgroup1),1261600513(domain users),1261602139(adunigroup1) [root@master ~]# ipa config-mod --domain-resolution-order='testrelm.test:pne.qe' Maximum username length: 32 Home directory base: /home Default shell: /bin/sh Default users group: ipausers Default e-mail domain: testrelm.test Search time limit: 2 Search size limit: 100 User search fields: uid,givenname,sn,telephonenumber,ou,title Group search fields: cn,description Enable migration mode: FALSE Certificate Subject base: O=TESTRELM.TEST Password Expiration Notification (days): 4 Password plugin features: AllowNThash, KDC:Disable Last Success SELinux user map order: guest_u:s0$xguest_u:s0$user_u:s0$staff_u:s0-s0:c0.c1023$unconfined_u:s0-s0:c0.c1023 Default SELinux user: unconfined_u:s0-s0:c0.c1023 Default PAC types: MS-PAC, nfs:NONE IPA masters: master.testrelm.test IPA CA servers: master.testrelm.test IPA NTP servers: master.testrelm.test IPA CA renewal master: master.testrelm.test IPA master capable of PKINIT: master.testrelm.test Domain resolution order: testrelm.test:pne.qe [root@master ~]# ipa idview-add special_host_view --desc 'ID view' --domain-resolution-order='testrelm.test:pne.qe' --------------------------------- Added ID View "special_host_view" --------------------------------- ID View Name: special_host_view Description: ID view Domain resolution order: testrelm.test:pne.qe [Mon Jan 22 03:46:59.822978 2018] [:error] [pid 16710] ipa: INFO: [jsonserver_session] admin: config_mod/1(ipadomainresolutionorder=u'testrelm.test:pne.qe', version=u'2.228'): SUCCESS [Mon Jan 22 03:49:11.835471 2018] [:error] [pid 16709] ipa: INFO: [jsonserver_session] admin: idview_add/1(u'special_host_view', description=u'ID view', ipadomainresolutionorder=u'testrelm.test:pne.qe', version=u'2.228'): SUCCESS 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/RHBA-2018:0918 |