diff options
Diffstat (limited to 'auth/credentials/pycredentials.c')
-rw-r--r-- | auth/credentials/pycredentials.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/credentials/pycredentials.c b/auth/credentials/pycredentials.c index 013d2958ea2..41a9d597435 100644 --- a/auth/credentials/pycredentials.c +++ b/auth/credentials/pycredentials.c @@ -389,7 +389,7 @@ static PyObject *py_creds_set_bind_dn(PyObject *self, PyObject *args) PyErr_Format(PyExc_TypeError, "Credentials expected"); return NULL; } - if (!PyArg_ParseTuple(args, "s", &newval)) + if (!PyArg_ParseTuple(args, "z", &newval)) return NULL; return PyBool_FromLong(cli_credentials_set_bind_dn(creds, newval)); |