From ac61ce1f88839461775e512bfd8148c38da3d7db Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Tue, 12 Aug 2003 21:48:19 +0000 Subject: Tims' little fix. (This used to be commit 03a308afcd8826387e33a9c95df98425f9e0fa79) --- source3/python/py_winbind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit