Disable init of sam.ldb as it causes init issues with ocsmanager
authorJulien Kerihuel <j.kerihuel@openchange.org>
Thu, 1 Mar 2012 14:12:51 +0000 (14:12 +0000)
committerJulien Kerihuel <j.kerihuel@openchange.org>
Thu, 1 Mar 2012 14:12:51 +0000 (14:12 +0000)
pyopenchange/mapistore/pymapistore.c

index 53bf4c7b49db123e0873d280011ef3230704d47a..38e94df047f48e62b9641b390c7e89cb18a88ca2 100644 (file)
@@ -155,13 +155,13 @@ static PyObject *py_MAPIStore_new(PyTypeObject *type, PyObject *args, PyObject *
        }
 
        /* Initialize ldb context on sam.ldb */
-       samdb_ctx = sam_ldb_init(mem_ctx, syspath);
+/*     samdb_ctx = sam_ldb_init(mem_ctx, syspath);
        if (samdb_ctx == NULL) {
                printf("Error in sam_ldb_init\n");
                talloc_free(mem_ctx);
                return NULL;
        }
-
+*/
        /* Initialize ldb context on openchange.ldb */
        ocdb_ctx = openchange_ldb_init(mem_ctx, syspath);
        if (ocdb_ctx == NULL) {