diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/python/py_winbind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_winbind.c b/source3/python/py_winbind.c index 6050cfb2a7..130f78d7e1 100644 --- a/source3/python/py_winbind.c +++ b/source3/python/py_winbind.c @@ -428,7 +428,7 @@ static PyObject *py_auth_crap(PyObject *self, PyObject *args, PyObject *kw) ZERO_STRUCT(response); if (push_utf8_fstring(request.data.auth_crap.user, username) == -1) { - PyErr_SetString("unable to create utf8 string"); + PyErr_SetString(winbind_error, "unable to create utf8 string"); return NULL; } |