[Date Prev][Date Next]
Re: (ITS#4639) slurpd parses attribute named delete incorrectly
At 10:56 PM 8/14/2006, email@example.com wrote:
>Full_Name: Ken Yap
>OS: SUSE 10.1 (GNU/Linux)
>Submission from: (NULL) (18.104.22.168)
>The schema contains an attribute called delete. It's the JAMM schema
>These lines were left behind in a .rej file:
>ERROR: Undefined attribute type: FALSE: attribute type undefined
>I believe the problem is that the LDIF parser sees delete as a keyword rather
>than as an attribute at that point.
I consider the behavior a feature than a bug. LDIF parsers
should be liberal in what they accept as many LDIF files are
created by humans, which are generally not strict in what
they produce. The LDIF keywords should be regarded as
I am more inclined to regard this as a new feature request to
support a 'strict' mode.
Regardless, I doubt any developer will invest time/energy to
address this issue. slurpd(8) is considered deprecated in favor
of syncrepl. This is just one more reason why it might be good
to remove slurpd(8) from future releases.
There are two obvious workarounds to this problem. One is to
rename the attribute type. The second is to use syncrepl
instead of slurpd(8).