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

Bug fix - Shell backend replog conformance (ITS#772)



Full_Name: Brent Baccala
Version: 2.0.4
OS: Redhat Linux 6.2
URL: http://www.freesoft.org/bbaccala/servers-slapd-back-shell-modify.patch
Submission from: (NULL) (63.216.69.197)


The shell backend, in a modify operation, doesn't put a "-" terminating line
at the end of each change block.  In addition to violating the replog format,
this creates an ambiguous sitation when changing attributes named "add",
"replace", or "delete".

The patch changes the shell backend to emit a "-" line.  The comments in the
source suggest future intent to replace this code, but until that's done,
the shell backend should conform as closely as possible to the replog format.