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

Can´t get this to work.. dang..



Hello all,

I´ve been trying to get the slapd to work, I´ve read about anything I could,
but still it´s not working.

When I try to add entries using
ldapadd -D "cn=cass, o=MasterCom, c=BR" -W -f myldiffile

It gives me an error stating there´s no object. I´ve read the common error
msg about that, saying the parent object´s not there, but what the heck am I
supposed to add at first? I´ve used exactly the example at the QuickStart
Guide, but still it fails on me. Or yet, I fail on it. :-)

I list below the configs files for the slapd here.
All the rest is left with their default values.
Any comments/help is highly appreciated.

Thank you.

********
BASE	dc=master, dc=com
HOST	ldap.master.com.br

#HOST	ldap.openldap.org ldap-master.openldap.org:666
PORT	389

#SIZELIMIT	12
#TIMELIMIT	15
#DEREF		never

******

#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include		/etc/openldap/slapd.at.conf
include		/etc/openldap/slapd.oc.conf
schemacheck	off
#referral	ldap://ldap.itd.umich.edu

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

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

database	ldbm
#suffix		"dc=master, dc=com"
suffix		"o=MasterCom, c=BR"
directory	/var/ldap
#rootdn		"cn=cass, dc=master, dc=com"
rootdn		"cn=cass, o=MasterCom, c=BR"
rootpw		bunda
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.
-----------------------
Cass Surek
cass@master.com.br
-----------------------