[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldif_record()=10



Hi,

I'm starting any tests with OpenLDAP v.2.0.6


I tried add the file in.ldif:  
(in.ldif, ldap.conf and slapd.conf are attachment)  

#ldapadd -v -f in.ldif -D "o=rnp,c=br"

and got as results


*******************************

ldap_initialize ( <DEFAULT> )
add objectClass:
    dcObject
    organization
    top

add o:
    rnp.br
add dc:
    rnp
adding new entry "o=rnp, c=br"
ldap_add: Referral

ldif_record()=10

***********************************
this is right ?



Graciela M. Leopoldino     
dn: o=rnp, c=br
objectClass: dcObject
objectClass: organization
objectClass: top
o: rnp.br
dc: rnp

dn: cn=manager,o=rnp,c=br
objectClass: organizationalRole
objetcClass: person
opbjectClass: top
cn: manager

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#

# DIRETIVAS GLOBAIS

# informacoes de configuracoes adicionais obtidas dos includes
include		/usr/local/etc/openldap/schema/core.schema
schemacheck off

# Define global ACLs to disable default read access.
# defaultaccess read
#access to dn="cn=root,ou=intranet,o=rnp.br" 
#       by 

access to * by * write

#disable tls_authc
#disable sasl_authc

# Especificacao do nivel de debug
# Default eh loglevel 256 --> logs de conexoes/resultados/operacoes

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral	ldap://root.openldap.org
referral ldap://lua.sso.rnp.br

pidfile		/usr/local/var/slapd.pid
argsfile	/usr/local/var/slapd.args


# Load dynamic backend modules:
# modulepath	/usr/local/libexec/openldap
# moduleload	back_ldap.la
# moduleload	back_ldbm.la
# moduleload	back_passwd.la
# moduleload	back_shell.la

#######################################################################
# ldbm database definitions
#######################################################################

database	ldbm
suffix		"o=rnp, c=br"
rootdn		"cn=manager, o=rnp, c=br"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw		secret
# The database directory MUST exist prior to running slapd AND 
# should only be accessable by the slapd/tools. Mode 700 recommended.
directory	/usr/local/var/openldap-ldbm

#diretivas de replicacao

# Indices to maintain
index   cn,uid          eq
index	objectClass	eq


# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.4.8.6 2000/09/05 17:54:38 kurt Exp $
#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

BASE	"o=rnp, c=br"

#URI	ldap://ldap.example.com ldap://ldap-master.example.com:666
URI  ldap://lua.sso.rnp.br

HOST lua.sso.rnp.br
PORT 389 


#SIZELIMIT	120
#TIMELIMIT	150
#DEREF		never