summaryrefslogtreecommitdiff
path: root/source4/lib/messaging
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r--source4/lib/messaging/pymessaging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c
index d035fb024a..62370ae756 100644
--- a/source4/lib/messaging/pymessaging.c
+++ b/source4/lib/messaging/pymessaging.c
@@ -42,7 +42,7 @@ extern PyTypeObject imessaging_Type;
static bool server_id_from_py(PyObject *object, struct server_id *server_id)
{
if (!PyTuple_Check(object)) {
- if (!py_check_dcerpc_type(object, "server_id", "server_id")) {
+ if (!py_check_dcerpc_type(object, "samba.dcerpc.server_id", "server_id")) {
PyErr_SetString(PyExc_ValueError, "Expected tuple or server_id");
return false;