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]