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

compile-time errors with SLAPD_MULTIMASTER defined (ITS#1532)



Full_Name: Andy Spirig
Version: 2.0.19
OS: any
URL: 
Submission from: (NULL) (62.240.192.46)


OpenLDAP 2.0.19 does not compile with SLAPD_MULTIMASTER defined. The problem is
caused by two obvious bugs in the source code. If you correct them, OpenLDAP
will compile correctly and multi-master support will work as desired:

- servers/slapd/delete.c: line 128:
  swap the line "#ifndef SLAPD_MULTIMASTER" with the next line (that is, cut it
out and paste it in one line further down)

- servers/slapd/modrdn.c: line 231: 
  swap the line "#ifndef SLAPD_MULTIMASTER" with the next line