PyLdb_AsLdbContext 310 source4/lib/ldb/pyldb.c ldb_ctx = PyLdb_AsLdbContext(py_ldb); PyLdb_AsLdbContext 381 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_set_debug(self->ldb_ctx, py_ldb_debug, cb), PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 392 source4/lib/ldb/pyldb.c ldb_set_create_perms(PyLdb_AsLdbContext(self), perms); PyLdb_AsLdbContext 403 source4/lib/ldb/pyldb.c ldb_set_modules_dir(PyLdb_AsLdbContext(self), modules_dir); PyLdb_AsLdbContext 410 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_transaction_start(PyLdb_AsLdbContext(self)), PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 416 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_transaction_commit(PyLdb_AsLdbContext(self)), PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 422 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_transaction_cancel(PyLdb_AsLdbContext(self)), PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 428 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ldb_setup_wellknown_attributes(PyLdb_AsLdbContext(self)), PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 439 source4/lib/ldb/pyldb.c struct ldb_dn *dn = ldb_get_root_basedn(PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 448 source4/lib/ldb/pyldb.c struct ldb_dn *dn = ldb_get_schema_basedn(PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 457 source4/lib/ldb/pyldb.c struct ldb_dn *dn = ldb_get_config_basedn(PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 466 source4/lib/ldb/pyldb.c struct ldb_dn *dn = ldb_get_default_basedn(PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 508 source4/lib/ldb/pyldb.c ldb = PyLdb_AsLdbContext(self); PyLdb_AsLdbContext 571 source4/lib/ldb/pyldb.c ret = ldb_connect(PyLdb_AsLdbContext(self), url, flags, options); PyLdb_AsLdbContext 574 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ret, PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 591 source4/lib/ldb/pyldb.c ret = ldb_modify(PyLdb_AsLdbContext(self), PyLdbMessage_AsMessage(py_msg)); PyLdb_AsLdbContext 592 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ret, PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 615 source4/lib/ldb/pyldb.c if (!PyObject_AsDn(msg, dn_value, PyLdb_AsLdbContext(self), &msg->dn)) { PyLdb_AsLdbContext 648 source4/lib/ldb/pyldb.c ret = ldb_add(PyLdb_AsLdbContext(self), msg); PyLdb_AsLdbContext 649 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ret, PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 665 source4/lib/ldb/pyldb.c ldb = PyLdb_AsLdbContext(self); PyLdb_AsLdbContext 685 source4/lib/ldb/pyldb.c ldb = PyLdb_AsLdbContext(self); PyLdb_AsLdbContext 704 source4/lib/ldb/pyldb.c ldb_schema_attribute_remove(PyLdb_AsLdbContext(self), name); PyLdb_AsLdbContext 717 source4/lib/ldb/pyldb.c ret = ldb_schema_attribute_add(PyLdb_AsLdbContext(self), attribute, flags, syntax); PyLdb_AsLdbContext 719 source4/lib/ldb/pyldb.c PyErr_LDB_ERROR_IS_ERR_RAISE(ret, PyLdb_AsLdbContext(self)); PyLdb_AsLdbContext 772 source4/lib/ldb/pyldb.c a = ldb_schema_attribute_by_name(PyLdb_AsLdbContext(self), element_name); PyLdb_AsLdbContext 778 source4/lib/ldb/pyldb.c if (a->syntax->ldif_write_fn(PyLdb_AsLdbContext(self), mem_ctx, &old_val, &new_val) != 0) { PyLdb_AsLdbContext 811 source4/lib/ldb/pyldb.c ldb_ctx = PyLdb_AsLdbContext(self); PyLdb_AsLdbContext 883 source4/lib/ldb/pyldb.c data = ldb_get_opaque(PyLdb_AsLdbContext(self), name); PyLdb_AsLdbContext 903 source4/lib/ldb/pyldb.c ldb_set_opaque(PyLdb_AsLdbContext(self), name, data); PyLdb_AsLdbContext 910 source4/lib/ldb/pyldb.c struct ldb_context *ldb = PyLdb_AsLdbContext(self); PyLdb_AsLdbContext 1017 source4/lib/ldb/pyldb.c return PyLdbModule_FromModule(PyLdb_AsLdbContext(self)->modules); PyLdb_AsLdbContext 1027 source4/lib/ldb/pyldb.c struct ldb_context *ldb_ctx = PyLdb_AsLdbContext(self); PyLdb_AsLdbContext 39 source4/lib/ldb/pyldb.h #define PyLdb_AsLdbContext(pyobj) ((PyLdbObject *)pyobj)->ldb_ctx PyLdb_AsLdbContext 140 source4/param/provision.c result->samdb = PyLdb_AsLdbContext(PyObject_GetAttrString(py_result, "samdb")); PyLdb_AsLdbContext 48 source4/scripting/python/pyglue.c ldb = PyLdb_AsLdbContext(py_ldb);