-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
22 changed files
with
1,177 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{{ ldap_cfg.cfg_servers(servers) }} | ||
|
||
base {{ ldap_cfg.cfg_base(servers) }} | ||
|
||
ldap_version {{ ldap_cfg.cfg_version(servers) }} | ||
|
||
binddn {{ ldap_cfg.cfg_bind(servers) }} | ||
|
||
bindpw {{ ldap_cfg.cfg_bindpw(servers) }} | ||
|
||
port {{ ldap_cfg.cfg_port(servers) }} | ||
|
||
scope {{ ldap_cfg.cfg_scope(servers) }} | ||
|
||
timelimit {{ ldap_cfg.cfg_timeout(servers) }} | ||
|
||
bind_timelimit {{ ldap_cfg.cfg_bind_timeout(servers) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# /etc/nslcd.conf | ||
# nslcd configuration file. See nslcd.conf(5) | ||
# for details. | ||
|
||
# The user and group nslcd should run as. | ||
uid nslcd | ||
gid nslcd | ||
|
||
# The location at which the LDAP server(s) should be reachable. | ||
{{ ldap_cfg.cfg_servers(servers) }} | ||
|
||
# The search base that will be used for all queries. | ||
base {{ ldap_cfg.cfg_base(servers) }} | ||
|
||
|
||
# The LDAP protocol version to use. | ||
ldap_version {{ ldap_cfg.cfg_version(servers) }} | ||
|
||
# The DN to bind with for normal lookups. | ||
binddn {{ ldap_cfg.cfg_bind(servers) }} | ||
bindpw {{ ldap_cfg.cfg_bindpw(servers) }} | ||
|
||
# The DN used for password modifications by root. | ||
#rootpwmoddn cn=admin,dc=example,dc=com | ||
|
||
# SSL options | ||
#ssl off | ||
#tls_reqcert never | ||
tls_cacertfile /etc/ssl/certs/ca-certificates.crt | ||
|
||
# The search scope. | ||
scope {{ ldap_cfg.cfg_scope(servers) }} | ||
|
||
timelimit {{ ldap_cfg.cfg_timeout(servers) }} | ||
|
||
bind_timelimit {{ ldap_cfg.cfg_bind_timeout(servers) }} | ||
|
||
nss_initgroups_ignoreusers ALLLOCAL | ||
|
||
nss_min_uid 1000 | ||
|
Oops, something went wrong.