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

[RFE] openldap use systemd-sysusers

    • openldap-2.6.6-3.el9
    • FutureFeature
    • 1
    • sst_idm_ds
    • ssg_idm
    • 25
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • Product Backlog
    • If docs needed, set a value
    • None

      Description of problem:
      openldap is using static useradd scripts

      Version-Release number of selected component (if applicable):
      openldap-2.4.59-5.el9

      How reproducible:
      100%

      Steps to Reproduce:
      1.review %pre
      2.
      3.

      Actual results:
      %pre servers

      1. create ldap user and group
        getent group ldap &>/dev/null || groupadd -r -g 55 ldap
        getent passwd ldap &>/dev/null || \
        useradd -r -g ldap -u 55 -d %{_sharedstatedir}/ldap -s /sbin/nologin -c "OpenLDAP server" ldap

      Expected results:
      use of system-sysusers

      Additional info:
      https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
      https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

            spichugi@redhat.com Simon Pichugin
            riehecky Pat Riehecky
            Simon Pichugin Simon Pichugin
            Barbora Simonova Barbora Simonova
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: