summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-21 08:32:35 +0100
committerMichael Adam <obnox@samba.org>2013-02-28 12:07:53 +0100
commitbf0dcc918dc63939fb3d0b9ce9339b432b98cb74 (patch)
treecca6caa46b06111caa10f730e1dc112c042d3f67
parent8ec4d9cb00b818045f040b0a3f60946543d35f75 (diff)
downloadsamba-bf0dcc918dc63939fb3d0b9ce9339b432b98cb74.tar.gz
samba-bf0dcc918dc63939fb3d0b9ce9339b432b98cb74.tar.bz2
samba-bf0dcc918dc63939fb3d0b9ce9339b432b98cb74.zip
auth/pycredentials: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--auth/credentials/pycredentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/credentials/pycredentials.c b/auth/credentials/pycredentials.c
index 5d21721490..14fd5e01ba 100644
--- a/auth/credentials/pycredentials.c
+++ b/auth/credentials/pycredentials.c
@@ -341,7 +341,7 @@ static PyObject *py_creds_get_named_ccache(pytalloc_Object *self, PyObject *args
return NULL;
}
- event_ctx = tevent_context_init(mem_ctx);
+ event_ctx = samba_tevent_context_init(mem_ctx);
ret = cli_credentials_get_named_ccache(creds, event_ctx, lp_ctx,
ccache_name, &ccc, &error_string);