Mudanças entre a Versão 9 e Versão 10 de ConfigurandoUmServidorLdap


Ignorar:
Timestamp:
11/10/2005 15:56:08 (14 anos atrás)
Autor:
danielsundfeld
Comentário:

--

Legenda:

Não Modificado
Adicionado
Removido
Modificado
  • ConfigurandoUmServidorLdap

    v9 v10  
    66Edite o arquivo /etc/ldap/slapd.conf e escolha um dc para seu servidor. A seguir um exemplo do mínimo necessário em nosso servidor.
    77{{{
    8 # See slapd.conf(5) for details on configuration options.
    9 # This file should NOT be world readable.
    10 #
    11 # Include Schemas
     8# This is the main slapd configuration file. See slapd.conf(5) for more
     9# info on the configuration options.
     10
     11#######################################################################
     12# Global Directives:
     13
     14# Features to permit
     15#allow bind_v2
     16
     17# Schema and objectClass definitions
    1218include         /etc/ldap/schema/core.schema
    1319include         /etc/ldap/schema/cosine.schema
    1420include         /etc/ldap/schema/nis.schema
    1521include         /etc/ldap/schema/inetorgperson.schema
     22include         /etc/ldap/schema/autofs.schema
     23
     24# Schema check allows for forcing entries to
     25# match schemas for their objectClasses's
     26schemacheck     on
     27
     28# Where the pid file is put. The init.d script
     29# will not stop the server if you change this.
     30pidfile         /var/run/slapd/slapd.pid
     31
     32# List of arguments that were passed to the server
     33argsfile        /var/run/slapd.args
     34
     35# Read slapd.conf(5) for possible values
     36loglevel        0
    1637
    1738# Where the dynamically loaded modules are stored
     
    1940moduleload      back_ldbm
    2041
    21 # ldbm database definitions
    22 database        ldbm ==========
     42database       ldbm
    2343
    24 # Define Domain components and Root distinguished name (Manager)
    25 suffix          "dc=maquina, dc=dominio, dc=com"
    26 rootdn          "cn=admin,dc=maquina,dc=dominio,dc=com"
    27 
    28 # Where the database file are physically stored for database #1
    29 directory       "/var/lib/ldap"
     44# The base of your directory for database #2
     45suffix          "dc=maquina,dc=dominio,dc=com"
     46rootdn "cn=admin,dc=maquina,dc=dominio,dc=com"
    3047
    3148# Cleartext passwords, especially for the rootdn, should
     
    3754rootpw          {crypt}acunRNwFPEdHQ
    3855
    39 # slapd process ID file
    40 pidfile         /var/run/slapd/slapd.pid
     56directory       "/var/lib/ldap"
     57index           objectClass eq
     58lastmod         on
     59replogfile    /var/lib/ldap/replog
     60
     61access to attribute=userPassword
     62        by dn="cn=admin,dc=maquina,dc=dominio,dc=com" write
     63        by anonymous auth
     64        by self write
     65        by * none
     66access to dn.base="" by * read
     67access to *
     68        by dn="cn=admin,dc=maquina,dc=dominio,dc=com" write
     69        by * read
    4170}}}
    4271
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.