[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: multimaster openLDAP compile problems
Dan Shriver wrote:
>
The problem is known; it has been fixed in HEAD.
The fix is very simple:
diff -u -r1.17.2.11 delete.c
--- servers/slapd/delete.c 2002/01/04 20:38:27 1.17.2.11
+++ servers/slapd/delete.c 2002/01/09 16:40:23
@@ -125,8 +125,8 @@
*/
if ( be->be_delete ) {
/* do the update here */
-#ifndef SLAPD_MULTIMASTER
int repl_user = be_isupdate( be, op->o_ndn );
+#ifndef SLAPD_MULTIMASTER
if ( be->be_update_ndn == NULL || repl_user )
#endif
{
Note that an analogous problem occurred in modrdn.c in 2.0.19
diff -u -r1.22.2.11 modrdn.c
--- servers/slapd/modrdn.c 2002/01/04 20:38:29 1.22.2.11
+++ servers/slapd/modrdn.c 2002/01/09 16:42:25
@@ -228,8 +228,8 @@
*/
if ( be->be_modrdn ) {
/* do the update here */
-#ifndef SLAPD_MULTIMASTER
int repl_user = be_isupdate( be, op->o_ndn );
+#ifndef SLAPD_MULTIMASTER
if ( be->be_update_ndn == NULL || repl_user )
#endif
{
Pierangelo.
--
Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano |
mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy |
http://www.aero.polimi.it/~masarati