[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Can't set namingContext properly
- To: OpenLDAP software list <openldap-software@OpenLDAP.org>
- Subject: Can't set namingContext properly
- From: Lauren Horn <laurenh@gmail.com>
- Date: Thu, 3 Mar 2005 13:38:04 -0900
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=WgxLjNxNaNLJN2Cyn9ce7HsK4DK7vuMeiiKXPHcQ55vy171s+lkH9fkfnOAlr9YeLumr68mIukMtliJ0tmPGLCTChihqPsovVAqB7bFjfmAS0JlEXoLBJP4Mlr0DPS4wGLPQd+8xXTHXMKYwSrXxrOthj+mlWQy3/LJtKKzSePI=
I'm running OpenLDAP 2.2.19-1 on a Win2K box. It seems to start up
all right, but I can't seem set the org name correctly, and it rejects
my init.ldif file (ldif and conf files listed at the bottom).
ldapsearch returns this:
========================
C:\openldap>ldapsearch -x -s base (objectclass=*) namingContexts
# extended LDIF
#
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: namingContexts
#
#
dn:
namingContexts: dc=my-domain,dc=com
========================
When I try to import my initial lidf file, I get this:
========================
slapadd: line 6: database (dc=my-domain,dc=com) not configured to hold
"dc=example,dc=org"
========================
Here is the conf file:
-----------------------------------------------
ucdata-path C:/openldap/ucdata
include C:/openldap/etc/schema/core.schema
#pidfile C:/openldap/var/slapd.pid
#argsfile C:/openldap/var/slapd.args
database bdb
suffix "dc=example,dc=org"
rootdn "cn=Manager,dc=example,dc=org"
namingContexts: dc=my-domain,dc=com
rootpw secret
directory C:/openldap/var/openldap-data
index objectClass eq
-----------------------------------------------
And here is the init.ldif file:
-----------------------------------------------
dn: dc=example,dc=org
objectclass: dcObject
objectclass: organization
o: example.org
dc: example
dn: cn=Manager,dc=example,dc=org
objectclass: organizationalRole
cn: Manager
-----------------------------------------------
Any idea what I'm doing wrong? Thanks in advance.
-Lauren