summaryrefslogtreecommitdiffstats
path: root/source/python
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2003-08-12 21:48:19 +0000
committerJohn Terpstra <jht@samba.org>2003-08-12 21:48:19 +0000
commit03a308afcd8826387e33a9c95df98425f9e0fa79 (patch)
treef1bbc00666c4f34437d3c724de1e4ed9d6888c0a /source/python
parente3b36906c53bd4a9231c2efb007cec234e52a78f (diff)
downloadsamba-03a308afcd8826387e33a9c95df98425f9e0fa79.tar.gz
samba-03a308afcd8826387e33a9c95df98425f9e0fa79.tar.xz
samba-03a308afcd8826387e33a9c95df98425f9e0fa79.zip
Tims' little fix.
Diffstat (limited to 'source/python')
-rw-r--r--source/python/py_winbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/py_winbind.c b/source/python/py_winbind.c
index 6050cfb2a7a..130f78d7e12 100644
--- a/source/python/py_winbind.c
+++ b/source/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;
}