forked from jengelh/openldap2
Accepting request 358524 from home:guohouzuo:branches:network:ldap
good stuff OBS-URL: https://build.opensuse.org/request/show/358524 OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=152
This commit is contained in:
committed by
Git OBS Bridge
parent
c4e540aea8
commit
d2c6a28c89
46
slapd.conf.olctemplate
Normal file
46
slapd.conf.olctemplate
Normal file
@@ -0,0 +1,46 @@
|
||||
# This file (slapd.conf.olctemplate) is a template for creating the initial
|
||||
# online configuration for OpenLDAP server daemon.
|
||||
#
|
||||
# In order to use online configuration for OpenLDAP server daemon, make sure to set:
|
||||
# /etc/sysconfig/openldap OPENLDAP_CONFIG_BACKEND="ldap"
|
||||
#
|
||||
# Before starting the OpenLDAP daemon (slapd.conf) with onlne configuration for
|
||||
# the very first time, you have to prepare the online configuration directory
|
||||
# from this template file - first, make necessary customisations if you wish, and then
|
||||
# run:
|
||||
# cd /etc/openldap && slaptest -f slapd.conf.olctemplate -F slapd.d
|
||||
#
|
||||
# Then you may start OpenLDAP daemon:
|
||||
# systemctl start slapd.service
|
||||
#
|
||||
# To verify that LDAP service is running properly, try the following command:
|
||||
# ldapsearch -x -D cn=admin,cn=config -w secret -b cn=config
|
||||
|
||||
#
|
||||
# See slapd.conf(5) for details on configuration options.
|
||||
# See /etc/openldap/slapd.conf.example for more examples.
|
||||
# This file should NOT be world readable.
|
||||
#
|
||||
|
||||
pidfile /run/slapd/slapd.pid
|
||||
argsfile /run/slapd/slapd.args
|
||||
|
||||
# The following schema files are often useful
|
||||
include /etc/openldap/schema/core.schema
|
||||
include /etc/openldap/schema/cosine.schema
|
||||
include /etc/openldap/schema/inetorgperson.schema
|
||||
include /etc/openldap/schema/rfc2307bis.schema
|
||||
include /etc/openldap/schema/yast.schema
|
||||
|
||||
# Load backend modules such as database engines
|
||||
modulepath /usr/lib64/openldap
|
||||
moduleload back_mdb.la
|
||||
#moduleload back_hdb.la
|
||||
#moduleload back_bdb.la
|
||||
|
||||
# Define the config database that holds all online configurations
|
||||
database config
|
||||
rootdn "cn=admin,cn=config"
|
||||
# Please avoid using clear text for root password
|
||||
# See slappasswd(8) for instructions on creating a salted+hashed password
|
||||
rootpw secret
|
Reference in New Issue
Block a user