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

Realm fails to list sssd domains that are defined in conf.d folder

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-8.10, rhel-9.4
    • realmd
    • None
    • Moderate
    • sst_idm_sssd
    • ssg_idm
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified
    • None

      What were you trying to do that didn't work?

      `realm list` doesn't show domains defined in `/etc/sssd/conf.d` files, only one defined in /etc/sssd/sssd.conf itself

      Please provide the package NVR for which bug is seen:

      realmd-0.17.1-2.el9.x86_64

      sssd-common-2.9.4-6.el9_4.x86_64

      How reproducible:

      always

      Steps to reproduce

      1. Set up sssd with default settings, with domain section in sssd.conf, run realm list, get:

       

      [root@client ~]# realm list --all
      domain23.local
        type: kerberos
        realm-name: DOMAIN23.LOCAL
        domain-name: domain23.local
        configured: kerberos-member
        server-software: ipa
        client-software: sssd
        required-package: ipa-client
        required-package: oddjob
        required-package: oddjob-mkhomedir
        required-package: sssd
        login-formats: %U
        login-policy: allow-realm-logins
      

       

       

      1. Move domain section into /etc/sssd/conf.d/domain23.conf, restart sssd
      2. Realm list shows nothing:

       

      [root@client ~]# realm list
      [root@client ~]# echo $?
      0 
      [root@client ~]# sssctl config-check
      Issues identified by validators: 0
      
      Messages generated during configuration merging: 0
      
      Used configuration snippet files: 1
      /etc/sssd/conf.d/domain23.conf

       

      Expected results

      realm lists domains accordingly

      Actual results

      no domains listed

            sbose@redhat.com Sumit Bose
            rhn-support-asharov Aleksandr Sharov
            Sumit Bose Sumit Bose
            Shridhar Gadekar Shridhar Gadekar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: