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

Re: Too many tokens

At 04:06 PM 8/30/00 -0500, Dave Brodin wrote:
>This may be a questions for the devel list, but I'm not sure.  I was
>testing the 2.0-gamma release. It was working fine, except this one
>schema that I tried resulted in the following error when starting slapd
>right in the middle of loading the schema:
>Too many tokens (max 100)
>slapd shutdown: freeing system resources.
>slapd stopped.
>connections_destroy: nothing to destroy
>I looked a little and couldn't find any mention of this error or what
>might cause it.  If anyone can help, I'd appreciate it.  I didn't think
>it had anything to do with the specific schema I was using because I got
>it from someone else who was using it successfully, but I so new to the
>changes in the schema format, I can't tell.

The error occurs when a single configuration directive exceeds
100 tokens (or words).  This might happen with very long directives
(like a very large objectclass or access control directive), but
more generally happens due to unexpected continuations.  Note that
any line starting with white space is viewed as a continuation of
the preceding line.