From af8720afb86dc99584ba3f8a6a07465e06e435d3 Mon Sep 17 00:00:00 2001 From: Carneiro Date: Tue, 19 Nov 2024 08:43:43 -0300 Subject: [PATCH] Update etc/sssd/sssd.conf --- etc/sssd/sssd.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/sssd/sssd.conf b/etc/sssd/sssd.conf index e58f4a8..01d66ed 100644 --- a/etc/sssd/sssd.conf +++ b/etc/sssd/sssd.conf @@ -1,12 +1,14 @@ [sssd] -services = nss, pam, autofs +services = nss, pam, autofs, sudo domains = LDAP [domain/LDAP] id_provider = ldap auth_provider = ldap +sudo_provider = ldap ldap_uri = ldaps://alice.ufsj.edu.br:33004 ldap_search_base = dc=alice,dc=ufsj +ldap_sudo_search_base = ou=sudoers,dc=alice,dc=ufsj ldap_default_bind_dn = cn=alice,dc=alice,dc=ufsj ldap_default_authtok_type = password ldap_default_authtok = BINDPW @@ -35,3 +37,5 @@ ldap_autofs_entry_object_class = automount ldap_autofs_map_name = automountMapName ldap_autofs_entry_key = automountKey ldap_autofs_entry_value = automountInformation + +[sudo]