pyldb: Consistently use pyldb_ prefix.
[ira/wip.git] / source4 / libnet / py_net.c
index 90fa1d56d665ec10841a1c43f042d57393d7bbdf..895d2772b3894e6a10cc152912436b901459eaa1 100644 (file)
@@ -417,7 +417,7 @@ static PyObject *py_net_replicate_init(py_net_Object *self, PyObject *args, PyOb
                return NULL;
        }
 
-       samdb = PyLdb_AsLdbContext(py_ldb);
+       samdb = pyldb_Ldb_AsLdbContext(py_ldb);
        if (samdb == NULL) {
                PyErr_SetString(PyExc_TypeError, "Expected ldb object");
                talloc_free(s);