add sssd.conf
Deploy Package / Explore-Gitea-Actions (push) Successful in 8s Details

This commit is contained in:
Carneiro 2024-11-17 19:30:34 -03:00
parent 83a87a60f6
commit bb1f63d2be
1 changed files with 37 additions and 0 deletions

37
etc/sssd/sssd.conf Normal file
View File

@ -0,0 +1,37 @@
[sssd]
services = nss, pam, autofs
domains = LDAP
[domain/LDAP]
id_provider = ldap
auth_provider = ldap
ldap_uri = ldaps://alice.ufsj.edu.br:33004
ldap_search_base = dc=alice,dc=ufsj
ldap_default_bind_dn = cn=alice,dc=alice,dc=ufsj
ldap_default_authtok_type = password
ldap_default_authtok = BINDPW
ldap_schema = rfc2307bis
ldap_group_member = member
cache_credentials = true
entry_cache_timeout = 600
enumerate = true
ldap_tls_reqcert = demand
ldap_tls_cacert = /etc/ssl/certs/ca-certificates.crt
#ldap_id_use_start_tls = true
#chpass_provider = ldap
#ldap_chpass_uri = ldap://server1.example.org
#ldap_network_timeout = 2
# Automount settings
[autofs]
autofs_provider = ldap
ldap_autofs_search_base=cn=mounts,dc=alice,dc=ufsj
#ldap_autofs_map_master_name = auto.master
ldap_autofs_map_object_class = automountMap
ldap_autofs_entry_object_class = automount
ldap_autofs_map_name = automountMapName
ldap_autofs_entry_key = automountKey
ldap_autofs_entry_value = automountInformation