
		alexandremc
		
		(usa Debian)
		
		Enviado em 11/06/2013 - 16:49h 
		Usei a configuração do arquivo, mas continua com erro.
Erro: Falha na autenticação.
Existe algum teste para executar em cada etapa, para poder identificar a origem do erro?
Esse e o conteúdo do arquivo
# slapd.conf - Configuration file for LDAP SLAPD
##########
# Basics #
##########
include 	/etc/ldap/schema/core.schema
include 	/etc/ldap/schema/cosine.schema
include 	/etc/ldap/schema/inetorgperson.schema
include         /etc/ldap/schema/nis.schema
include		/etc/ldap/schema/misc.schema
include		/etc/ldap/schema/pykota.schema
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
loglevel 256
#modulepath /usr/lib/ldap
# modulepath /usr/local/libexec/openldap
moduleload back_bdb
moduleload back_monitor
##########################
# Database Configuration #
##########################
database bdb
suffix "dc=serverlab,dc=nti"
rootdn "cn=administrador,dc=serverlab,dc=nti"
rootpw {SSHA}ZL602l2M/DeTVEKNoxfFyCPNnTopwGK5
directory /var/lib/ldap
# Proteção da Base
# checkpoint 50 1000
# directory /usr/local/var/openldap-data
#index objectClass,cn eq
# Opções de cache
sizelimit unlimited
# Tamanho da cache em entradas
cachesize 2500
# Index cache 
idlcachesize 7500
# Indices to maintain (+ pykota)
index   objectClass     eq
index   cn,uid          eq
index   uidNumber       eq
index   gidNumber       eq
index   memberUid	eq
index   uniqueMember	eq
index pykotaUserName pres,eq,sub
index pykotaGroupName pres,eq,sub
index pykotaPrinterName pres,eq,sub
index pykotaBillingCode pres,eq,sub
index pykotaLastJobIdent eq
########
# ACLs #
########
access to attrs=userPassword
	by anonymous auth
	by self write
	by * none
access to *
        by dn="cn=pykotaadmin,dc=serverlab,dc=nti" write
        by dn="cn=pykotaadmin,dc=serverlab,dc=nti" write
        by dn="cn=pykotaadmin,dc=serverlab,dc=nti" write
	by self write
	by anonymous read
	by * none
database monitor
idletimeout 300