summaryrefslogtreecommitdiff
path: root/source3
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
commitac61ce1f88839461775e512bfd8148c38da3d7db (patch)
tree1a044885b8942d4303371c816459aeeae5742d79 /source3
parenta757fe10b1e00521862ff3217964d01eeaa77c05 (diff)
downloadsamba-ac61ce1f88839461775e512bfd8148c38da3d7db.tar.gz
samba-ac61ce1f88839461775e512bfd8148c38da3d7db.tar.bz2
samba-ac61ce1f88839461775e512bfd8148c38da3d7db.zip
Tims' little fix.
(This used to be commit 03a308afcd8826387e33a9c95df98425f9e0fa79)
Diffstat (limited to 'source3')
-rw-r--r--source3/python/py_winbind.c2
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;
}