Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-16162

User deleted from LDAP still shown as group member after 'sss_cache -E'

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-8.9.0, rhel-9.3.0
    • sssd
    • None
    • rhel-idm-sssd
    • ssg_idm
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • All
    • None

       

      Its reproducible  in both RHEL8 and RHEL9

      SSSD version being tested: sssd-2.9.1-2

      [root@client1 ~]# getent passwd usr_2
      usr_2:*:345832:345832:usr_2 User::/bin/bash
      [root@client1 ~]# getent group ldapgrp
      ldapgrp:*:345641:usr_1,usr_2,usr_3

      > Delete the user.
      (Pdb)         user_dn = 'uid=usr_2,ou=People,dc=example,dc=test'
      (Pdb)         ldap_inst.del_dn(user_dn)
      ('Success', (107, [], 8, []))
      (Pdb)

      [root@client1 ~]# sss_cache -E
      [root@client1 ~]# getent group ldapgrp
      ldapgrp:*:345641:usr_2,usr_1,usr_3
      [root@client1 ~]# getent passwd usr_2
      [root@client1 ~]# getent group ldapgrp
      ldapgrp:*:345641:usr_1,usr_2,usr_3

              atikhono@redhat.com Alexey Tikhonov
              aborah@redhat.com Anuj Borah
              SSSD Maintainers SSSD Maintainers
              SSSD QE SSSD QE
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: