summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-08-07 17:08:56 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-08-07 17:08:56 +0200
commitfdff105854c52c334af2845a55f0473dcad5c55f (patch)
tree4caa12f1bb550dc2d2f41fd8ef1db865ddbdbd1d /source4/auth
parenta6be0820d09b3f3eabfbb5f4356add303aa8a494 (diff)
downloadsamba-fdff105854c52c334af2845a55f0473dcad5c55f.tar.gz
samba-fdff105854c52c334af2845a55f0473dcad5c55f.tar.bz2
samba-fdff105854c52c334af2845a55f0473dcad5c55f.zip
pyldb: Consistently use pyldb_ prefix.
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/pyauth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c
index 201a8304e4..2f83be95c7 100644
--- a/source4/auth/pyauth.c
+++ b/source4/auth/pyauth.c
@@ -146,12 +146,12 @@ static PyObject *py_user_session(PyObject *module, PyObject *args, PyObject *kwa
return NULL;
}
- ldb_ctx = PyLdb_AsLdbContext(py_ldb);
+ ldb_ctx = pyldb_Ldb_AsLdbContext(py_ldb);
if (py_dn == Py_None) {
user_dn = NULL;
} else {
- if (!PyObject_AsDn(ldb_ctx, py_dn, ldb_ctx, &user_dn)) {
+ if (!pyldb_Object_AsDn(ldb_ctx, py_dn, ldb_ctx, &user_dn)) {
talloc_free(mem_ctx);
return NULL;
}
@@ -240,7 +240,7 @@ static PyObject *py_auth_context_new(PyTypeObject *type, PyObject *args, PyObjec
}
if (py_ldb != Py_None) {
- ldb = PyLdb_AsLdbContext(py_ldb);
+ ldb = pyldb_Ldb_AsLdbContext(py_ldb);
}
lp_ctx = lpcfg_from_py_object(mem_ctx, py_lp_ctx);