File "slapd.conf"

Full path: /www/wwwroot/fabriciovc.eti.br/downloads/ldap/slapd.conf
File size: 2.32 KiB (2374 bytes)
MIME-type: text/plain
Charset: utf-8

Download   Open   Back

#######################################################################
# Diretivas Globais:

# Recursos disponiveis
#allow bind_v2

# Definindo os schemas
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/samba.schema

# Local do Pidfile
pidfile         /var/run/slapd/slapd.pid

# Argumentos adicionar que sao passados ao slapd
argsfile        /var/run/slapd/slapd.args

# Habilitando Logs
loglevel        256

# Opcoes de modulos
modulepath      /usr/lib/ldap
moduleload      back_hdb

# Quantidade maxima de entradas que serao retornadas na busca
sizelimit 5000

# Quantidade de CPUs que serao usados para as indexacoes
tool-threads 1

#######################################################################
# Especificando as diretivas de backend
backend         hdb

#######################################################################
# Especificando diretivas para a base de dados
database        hdb

# Base DN
suffix          "dc=dominio,dc=com,dc=br"

# Root DN
rootdn          "cn=admin,dc=dominio,dc=com,dc=br"
#rootpw         123

# Diretorio de armazenamento da base de dados
directory       "/var/lib/ldap"

# Definindo o tamanho do cache - Para o Debian vamos usar o padrao de 2MB
dbconfig set_cachesize 0 2097152 0
# Numero de objetos que estarao em lock
dbconfig set_lk_max_objects 1500
# Numero de locks
dbconfig set_lk_max_locks 1500
# Numero de lockers
dbconfig set_lk_max_lockers 1500

# Indexes
#index           objectClass eq
index objectClass,entryCSN,entryUUID      eq,pres
index sambaSID                            eq
index sambaPrimaryGroupSID                eq
index sambaDomainName                     eq
index ou,cn,mail,surname,givenname        eq,pres,sub
index uidNumber,gidNumber,loginShell      eq,pres
index uid,memberUid                       eq,pres,sub

# Tempo em que a entrada e modificada
lastmod         on

# Permissoes e ACLs
access to attrs=userPassword,shadowLastChange,sambaLmPassword,sambaNtPassword
        by dn="cn=admin,dc=dominio,dc=com,dc=br" write
        by anonymous auth
        by self write
        by * none

access to dn.base=""
        by * read

access to *
        by dn="cn=admin,dc=dominio,dc=com,dc=br" write
        by * read

PHP File Manager