OpenLDAP Configuration SLAPD Flashcards

1
Q

What the ‘include’ directive is used for ?

A

The ‘include’ directive is used to load another configuration file inside the current configuration file.

Syntax: include /path/to/another/conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is inside the configuration file ‘core.schema’ ?(/etc/ldap/schema/core.schema)

A

‘core.schema’ contains all of the attribute and object class definitions from the LDAP v.3 specification.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is inside the configuration file ‘cosine.schema’ and ‘inetorgperson.shema’ ? (/etc/ldap/schema/*.schema)

A

‘cosine.schema’ and ‘inetorgperson.shema’ files contain schema definitions for commonly used standardized extensions (RFC 4524 and RFC 2798)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What the ‘pidfile’ directive is used for ?

A

it tells slapd where to store the file that contain information on the process id for the slapd server process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What the ‘argsfile’ directive is used for ?

A

it tells slapd where to store the file that contain information on the arguments that were passed into the slapd command at startup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What the ‘loglevel’ directive is used for ?

A

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.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an ‘overlay’ ?

A

It is an extension (a module) that can modify the behavior of the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What the ‘modulepath’ directive is used for ?

A

it provides the full paths to the directories where the modules are stored

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What the ‘moduleload’ directive is used for ?

A

It instruct openldap to load a particular module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many databases can be stored per openldap server ?

A

Many

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What the ‘database’ directive is used for ?

A

It specifies which database backend will be used (hdb, bdb, etc.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What the ‘suffix’ directive is used for ?

A

it indicates which part of the directory tree this database will hold

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What the ‘rootdn’ directive is used for ?

A

It specifies the DN that will be considered the administrator of this directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What the ‘rootpw’ directive is used for ?

A

It is used to assign the password to the directory administrator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How to give to the ‘rootpw’ directive an encrypted passwd ?

A

Use ldappasswd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What the ‘directory’ directive is used for ?

A

It is used to indicate which directory on the filesystem should hold the database files

17
Q

What the ‘index’ directive is used for ?

A

It is composed of the list of attributes that should be indexed followed by the type of matching that the index will be used for

Syntax: index attr1, attr2, attrn eq,sub,operatorn

18
Q

What is the goal of the utility ‘slapindex’

A

‘slapindex’ is used to rebuild the indexex every time the ‘index’ directives in ‘slapd.conf’ are modified

19
Q

What the ‘access’ directive is used for ?

A

It is used to configure Access Control Lists (ACL).

Syntax:
access to [resources]
by [who] [typeofaccessgranted]
by [who] [typeofaccessgranted]
by [who] [typeofaccessgranted]

20
Q

What is the goal of the utility ‘slaptest’

A

It is a tool for testing