s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
[bbaumbach/samba-autobuild/.git] / source4 / lib / ldb-samba / pyldb.c
index 2b7b23739e48ddb9ffc827787de51f10ec51e164..e8cdb90b9f60061c703245ea22dbc29bdeab3f86 100644 (file)
@@ -56,7 +56,7 @@ static PyObject *py_ldb_set_loadparm(PyObject *self, PyObject *args)
 
        ldb = PyLdb_AsLdbContext(self);
 
-       lp_ctx = lp_from_py_object(ldb, py_lp_ctx);
+       lp_ctx = lpcfg_from_py_object(ldb, py_lp_ctx);
        if (lp_ctx == NULL) {
                PyErr_SetString(PyExc_TypeError, "Expected loadparm object");
                return NULL;