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

Re: slapd.conf help for a newbie



On 11 Jun 2000, at 16:41, William L Anderson wrote:

> Ian, send your slapd.conf and your command strings and results, and
> maybe someone can help with your problems.
Thanks :)

so here is my slapd.conf
#
# 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://root.openldap.org/

pidfile		/var/run/slapd.pid
argsfile	/var/run/slapd.args

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

database	ldbm
suffix		"dc=plusinternational, dc=com"
#suffix		"o=Plus international Corp, c=CA"
rootdn		"cn=Manager, dc=plusinternational, dc=com"
#rootdn		"cn=Manager, o=Plus international Corp, c=CA"
rootpw password
# cleartext passwords, especially for the rootdn, should
# be avoid.  See slapd.conf(5) for details.
directory	/var/lib/ldap

And here is my ldif file

dn: o=Plus International Corp, c=CA
o: Plus International Corp
objectclass: organization

dn: cn=ian, dc=plusinternational, dc=com
cn: ian
sn: ian
objectclass: person
mail: ian@plusinternational.com

# dn: cn=Ian Dobson, o: Plus International Corp, c=CA
#cn: Ian Dobson
#objectclass: person
#sn: Ian
#mail: ian@plusinternational.com

and I get "no such object" when I do
ldapadd -D "cn=Manager, dc=plusinternational, dc=com" -W  < 
plus.ldif

I did have it working at one point, and I could get some info with 
ldapsearch, but never with a windows client

and if it matters I'm using redhat 6.2 and the latest openldap rpm 
from the updates directory
 Thank you

Basically all I want to do is have  company called Plus International 
Corp, with about 50 email addresses and phone numbers under it, 
thats all :)



Duct tape is like the force, it has a light side and a 
dark side and it holds the universe together.