Fedora Account System
Red Hat Associate
Red Hat Customer
When ldap_sudo_search_base is not explicitly configured (the default), SSSD falls back to the domain's root DN and searches the entire LDAP directory tree for objects matching (objectClass=sudoRole) with SUBTREE scope. Any LDAP principal with write access to any subtree can create a sudoRole object granting arbitrary sudo privileges on every SSSD-enrolled host. This affects sudo_provider = ldap and sudo_provider = ad (which delegates to sdap_sudo_init()). sudo_provider = ipa is NOT affected.