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

Re: (ITS#5164) slapi plugins prevent slapd starting.



this hack makes it start... but i doubt that it is the right fix.

bash-3.1$ diff -u slapi_overlay.c.0 slapi_overlay.c
--- slapi_overlay.c.0   2007-09-01 00:14:07.000000000 +0100
+++ slapi_overlay.c     2007-10-02 15:32:09.000000000 +0100
@@ -900,8 +900,11 @@
        slapi.on_bi.bi_op_abandon       = slapi_op_func;
        slapi.on_bi.bi_op_cancel        = slapi_op_func;
 
-       slapi.on_bi.bi_db_open          = slapi_over_db_open;
-       slapi.on_bi.bi_db_close         = slapi_over_db_close;
+//     slapi.on_bi.bi_db_open          = slapi_over_db_open;
+//     slapi.on_bi.bi_db_close         = slapi_over_db_close;
+
+       slapi.on_bi.bi_db_open          = NULL;
+       slapi.on_bi.bi_db_close         = NULL;
 
        slapi.on_bi.bi_extended         = slapi_over_extended;
        slapi.on_bi.bi_access_allowed   = slapi_over_access_allowed;


-- 
-- Dr MDT Evans, Computing Services, Queen Mary, University of London