[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Can't set namingContext properly
- To: OpenLDAP software list <openldap-software@OpenLDAP.org>
- Subject: Re: Can't set namingContext properly
- From: Lauren Horn <laurenh@gmail.com>
- Date: Thu, 3 Mar 2005 13:53: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:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=F7aCyTxqMe4b+YSDozsMzPlsM/6156zFhkHQOi3h9BUo+U9hn3fuV4d4yqnkQMGJItQXmMEchXHs7QyP3s+/mKImzaZ5Pzp7qU/Ww1jw+NJaG6Q2pjFiTFkTDCSxbODeUnr+RjHAJkJgyxmD6i26Py7yJDrN/AQ3fSee8SrYmdk=
- In-reply-to: <c41ffe7e0503031438253eb1f1@mail.gmail.com>
- References: <c41ffe7e0503031438253eb1f1@mail.gmail.com>
Whup - the line in ldap.conf that began with "namingContexts" was a
mistake and doesn't actually appear in the conf file.
On Thu, 3 Mar 2005 13:38:04 -0900, Lauren Horn <laurenh@gmail.com> wrote:
> 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
>