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 1360245 - slapi-nis plugin modifies DS data
Summary: slapi-nis plugin modifies DS data
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: slapi-nis
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alexander Bokovoy
QA Contact: Kaleem
URL:
Whiteboard:
: 1356139 (view as bug list)
Depends On:
Blocks: 1358229
TreeView+ depends on / blocked
 
Reported: 2016-07-26 10:34 UTC by Ludwig
Modified: 2016-11-04 07:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 07:06:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2471 0 normal SHIPPED_LIVE slapi-nis bug fix and enhancement update 2016-11-03 14:07:19 UTC

Description Ludwig 2016-07-26 10:34:30 UTC
Description of problem:
In the context of IPA, when adding auser, views and idviewoverrides following ldapsearches with scope base for the entry fail

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


How reproducible:

With IPA systematically

Steps to Reproduce:
1: Install an IPA server
2. Perform teh following operations
ipa user-add --first Fx --last Lx userx
ipa idview-add view_x
ipa idoverrideuser-add view_x userx

3. restart DS (not always required)

4. do a base search 
conn=11 op=5 SRCH base="ipaanchoruuid=:IPA:..................,cn=view_x,cn=views,cn=accounts,dc=abc,dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com" scope=0 filter="(objectClass=*)" attrs="ipaSshPubKey uid loginShell * uidNumber ipaAnchorUUID gidNumber gecos homeDirectory ipaOriginalUid description aci"
conn=11 op=5 RESULT err=32 tag=101 nentries=0 etime=0
Actual results:

the searches for the
Expected results:

search should return one entry
Additional info:

Comment 2 Noriko Hosoi 2016-07-29 17:02:55 UTC
*** Bug 1356139 has been marked as a duplicate of this bug. ***

Comment 4 Sudhir Menon 2016-09-16 12:14:24 UTC
Tested on RHEL73 using ipa-server-4.4.0-11.el7.x86_64

[root@master ~]# ipa user-add --first Fx --last Lx userx
------------------
Added user "userx"
------------------
  User login: userx
  First name: Fx
  Last name: Lx
  Full name: Fx Lx
  Display name: Fx Lx
  Initials: FL
  Home directory: /home/userx
  GECOS: Fx Lx
  Login shell: /bin/sh
  Principal name: userx
  Principal alias: userx
  Email address: userx
  UID: 539000001
  GID: 539000001
  Password: False
  Member of groups: ipausers
  Kerberos keys available: False
[root@master ~]# ipa idview-add view_x
----------------------
Added ID View "view_x"
----------------------
  ID View Name: view_x
[root@master ~]# ipa idoverrideuser-add view_x userx
------------------------------
Added User ID override "userx"
------------------------------
  Anchor to override: userx

[root@master ~]# ldapsearch -x -D "cn=Directory Manager" -b "cn=views,cn=accounts,dc=test-relm,dc=test" -W
Enter LDAP Password: 
# extended LDIF
#
# LDAPv3
# base <cn=views,cn=accounts,dc=test-relm,dc=test> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# views, accounts, test-relm.test
dn: cn=views,cn=accounts,dc=test-relm,dc=test
objectClass: nsContainer
objectClass: top
cn: views

# view_x, views, accounts, test-relm.test
dn: cn=view_x,cn=views,cn=accounts,dc=test-relm,dc=test
objectClass: ipaIDView
objectClass: top
objectClass: nsContainer
cn: view_x

# :IPA:test-relm.test:1f7d4202-7c06-11e6-a2a0-525400e715b1, view_x, views, acco
 unts, test-relm.test
dn: ipaanchoruuid=:IPA:test-relm.test:1f7d4202-7c06-11e6-a2a0-525400e715b1,cn=
 view_x,cn=views,cn=accounts,dc=test-relm,dc=test
objectClass: ipaOverrideAnchor
objectClass: top
objectClass: ipaUserOverride
objectClass: ipasshuser
objectClass: ipaSshGroupOfPubKeys
ipaOriginalUid: userx
ipaAnchorUUID:: OklQQTp0ZXN0LXJlbG0udGVzdDoxZjdkNDIwMi03YzA2LTExZTYtYTJhMC01Mj
 U0MDBlNzE1YjE=

# search result
search: 2
result: 0 Success

# numResponses: 4
# numEntries: 3

Comment 6 errata-xmlrpc 2016-11-04 07:06:09 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-2471.html


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