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

Re: slapd will not start with inetorgperson



Hello,

there is a typo in "include [...]inetorgpreson.schema".

bye

On Mon, Feb 21, 2011 at 06:21, Quanah Gibson-Mount <quanah@zimbra.com> wrote:


On Feb 20, 2011, at 8:16 PM, Tim Dunphy <bluethundr@gmail.com> wrote:

> hello list!!
>
> I am building an ldap server on freebsd 8.1.
>
> For some reason if I include the inetorgperson schema in my slapd.conf
> slapd will not start
>
> here is the listing in slapd.conf
>
>
> # See slapd.conf(5) for details on configuration options.
> # This file should NOT be world readable.
> #
> include         /usr/local/etc/openldap/schema/core.schema
> include         /usr/local/etc/openldap/schema/inetorgpreson.schema
>
>
>
>
> I do not know why this is the case as I can ls the file:
>
> [root@LBSD2:/usr/local/etc/openldap] #ls -l
> /usr/local/etc/openldap/schema/inetorgperson.schema
> -r--r--r--  1 root  wheel  6360 Feb 21 03:13
> /usr/local/etc/openldap/schema/inetorgperson.schema
>
>
> If I comment out the inetorg schema slapd starts.
>
> And it looks like the ownership and permissions are the same as they
> are on the schema that is currently working:
>
>
>
> [root@LBSD2:/usr/local/etc/openldap] #ls -l
> /usr/local/etc/openldap/schema/core.schema
> -r--r--r--  1 root  wheel  20583 Feb 21 03:13
> /usr/local/etc/openldap/schema/core.schema

That would be because inetorgperson depends on other schema being loaded first. Add the ones it needs.

--Quanah



--
To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To be is to do -- Sartre | Do be do be do -- Sinatra