Skip to content

Instantly share code, notes, and snippets.

@fumiyas
Last active November 27, 2019 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fumiyas/f70e255766c21c241a01d27c79183b89 to your computer and use it in GitHub Desktop.
Save fumiyas/f70e255766c21c241a01d27c79183b89 to your computer and use it in GitHub Desktop.
sssd.conf for LDAP backend
dpkg-reconfigure libpam-runtime
authselect select sssd --force
[sssd]
config_file_version = 2
reconnection_retries = 3
sbus_timeout = 30
services = nss, pam
domains = lan.example.co.jp
[nss]
filter_groups = root
filter_users = root
reconnection_retries = 3
memcache_timeout = 30
enum_cache_timeout = 10
entry_negative_timeout = 1
[pam]
reconnection_retries = 3
[domain/lan.example.co.jp]
id_provider = ldap
auth_provider = ldap
chpass_provider = ldap
enumerate = true
cache_credentials = true
case_sensitive = false
ldap_uri = ldap://ldap.lan.example.co.jp
ldap_search_base = dc=example,dc=co,dc=jp
ldap_tls_reqcert = demand
ldap_id_use_start_tls = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment