Last active
December 16, 2015 05:08
-
-
Save znz/5381702 to your computer and use it in GitHub Desktop.
/etc/nslcd.conf の設定例
This file contains hidden or 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
# 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. | |
uri ldaps://ldap1.example.jp:636/ | |
uri ldaps://ldap2.example.jp:636/ | |
# The search base that will be used for all queries. | |
base dc=example,dc=jp | |
# The LDAP protocol version to use. | |
ldap_version 3 | |
# The DN to bind with for normal lookups. | |
binddn cn=proxyuser,dc=example,dc=jp | |
bindpw secret | |
# The DN used for password modifications by root. | |
#rootpwmoddn cn=admin,dc=example,dc=com | |
# SSL options | |
#ssl off | |
tls_reqcert demand | |
tls_cacertfile /etc/ssl/certs/ca-certificates.crt | |
# The search scope. | |
#scope sub | |
# allow name with only 1 char and spaces (e.g. "Domain Users") | |
validnames /^[a-z0-9._@$]([ a-z0-9._@$\\~-]*[a-z0-9._@$~-])?$/i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment