-
Notifications
You must be signed in to change notification settings - Fork 0
/
slapd.conf~
executable file
·67 lines (52 loc) · 1.82 KB
/
slapd.conf~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#/etc/ldap/slapd.conf
#versao de protocolo utilizado para conexao pelos clientes
allow bind_v2
# Definição de schemas e de objectClass (se for usar samba, instale o pacote samba-doc, procure pelo #arquivo samba.schema.gz e o descompacte no diretório de schemas do OpenLDAP).
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/openldap.schema
include /etc/ldap/schema/collective.schema
include /etc/ldap/schema/corba.schema
include /etc/ldap/schema/duaconf.schema
include /etc/ldap/schema/dyngroup.schema
include /etc/ldap/schema/java.schema
include /etc/ldap/schema/ppolicy.schema
include /etc/ldap/schema/misc.schema
#arquivo de schema do CEAD feito sob medida...
#include /etc/ldap/ldapEx/cead.schema
#arquivos de controle dos processos no servidor slapd
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
#modulos
modulepath /usr/lib/ldap
moduleload back_bdb
#parametros especificos do tipo de base
backend bdb
#base de dados
database bdb
#estrutura do diretorio e administrador
suffix "dc=empresa,dc=com,dc=br"
rootdn "cn=Manager,dc=empresa,dc=com,dc=br"
#senha tux
rootpw {SSHA}4DHesblPHZZcJ3RrTQGp1GnrB4fbGMa/
#local de armazenamento dos dados
directory /var/lib/ldap
# Opções de indexação para a base
index objectClass eq
index cn,sn,givenName eq,sub,approx
index mail eq,sub
# Salvar o tempo e data em que as entradas foram modificadas
lastmod on
# Controle de acessos à base de dados
access to dn.exact=""
by * read
access to attrs=userPassword
by self write
by anonymous auth
by * none
access to *
by * read
#nivel de log
loglevel 1024