OpenLDAP Configuration SLAPD Flashcards
What the ‘include’ directive is used for ?
The ‘include’ directive is used to load another configuration file inside the current configuration file.
Syntax: include /path/to/another/conf
What is inside the configuration file ‘core.schema’ ?(/etc/ldap/schema/core.schema)
‘core.schema’ contains all of the attribute and object class definitions from the LDAP v.3 specification.
What is inside the configuration file ‘cosine.schema’ and ‘inetorgperson.shema’ ? (/etc/ldap/schema/*.schema)
‘cosine.schema’ and ‘inetorgperson.shema’ files contain schema definitions for commonly used standardized extensions (RFC 4524 and RFC 2798)
What the ‘pidfile’ directive is used for ?
it tells slapd where to store the file that contain information on the process id for the slapd server process
What the ‘argsfile’ directive is used for ?
it tells slapd where to store the file that contain information on the arguments that were passed into the slapd command at startup
What the ‘loglevel’ directive is used for ?
It specifies how much information slapd should send to the system log (by way of syslogd). The loglevel directive accepts keywords (like any, none, trace, packets, args, conns, BER, filter, config, ACL, stats, stats2, shell, parse, sync) or integers (0, 0x1, 0x2, 0x4, 0x8, etc.)
What is an ‘overlay’ ?
It is an extension (a module) that can modify the behavior of the server
What the ‘modulepath’ directive is used for ?
it provides the full paths to the directories where the modules are stored
What the ‘moduleload’ directive is used for ?
It instruct openldap to load a particular module
How many databases can be stored per openldap server ?
Many
What the ‘database’ directive is used for ?
It specifies which database backend will be used (hdb, bdb, etc.)
What the ‘suffix’ directive is used for ?
it indicates which part of the directory tree this database will hold
What the ‘rootdn’ directive is used for ?
It specifies the DN that will be considered the administrator of this directory
What the ‘rootpw’ directive is used for ?
It is used to assign the password to the directory administrator
How to give to the ‘rootpw’ directive an encrypted passwd ?
Use ldappasswd