summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-11 16:34:48 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-15 09:46:26 +0100
commite6a9e1dda920d83c2926061e331d52aa9e9d0871 (patch)
tree7e9020cad9b774945fc1d03e5d887757f22b97c8 /source4/dsdb
parent18eba021e7b7e0b9a6fb228c80bee639965dab33 (diff)
downloadsamba-e6a9e1dda920d83c2926061e331d52aa9e9d0871.tar.gz
samba-e6a9e1dda920d83c2926061e331d52aa9e9d0871.tar.bz2
samba-e6a9e1dda920d83c2926061e331d52aa9e9d0871.zip
s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()
metze
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/pydsdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c
index 57e08cca90..62b5c8db83 100644
--- a/source4/dsdb/pydsdb.c
+++ b/source4/dsdb/pydsdb.c
@@ -829,11 +829,11 @@ static PyObject *py_dsdb_set_am_rodc(PyObject *self, PyObject *args)
static PyObject *py_dsdb_set_schema_from_ldif(PyObject *self, PyObject *args)
{
WERROR result;
- char *pf, *df;
+ char *pf, *df, *dn;
PyObject *py_ldb;
struct ldb_context *ldb;
- if (!PyArg_ParseTuple(args, "Oss", &py_ldb, &pf, &df))
+ if (!PyArg_ParseTuple(args, "Osss", &py_ldb, &pf, &df, &dn))
return NULL;
PyErr_LDB_OR_RAISE(py_ldb, ldb);