summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-04 02:20:52 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-06 13:12:43 +0200
commit449bdf35432230b060387856637759e2fe7022d6 (patch)
tree444078f900e05ec6e2895a43f36ed25bdd71630c /source4/auth
parent55b98e9768cb2a1ae4b9cc83e3d5f33b51b22e8f (diff)
downloadsamba-449bdf35432230b060387856637759e2fe7022d6.tar.gz
samba-449bdf35432230b060387856637759e2fe7022d6.tar.bz2
samba-449bdf35432230b060387856637759e2fe7022d6.zip
s4-python: Move set_session_info to PySambaLdb.
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/pyauth.c3
-rw-r--r--source4/auth/pyauth.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c
index 865609e8e3..f81b449540 100644
--- a/source4/auth/pyauth.c
+++ b/source4/auth/pyauth.c
@@ -107,7 +107,8 @@ void initauth(void)
if (PyType_Ready(&PyAuthSession) < 0)
return;
- m = Py_InitModule3("auth", py_auth_methods, "Authentication and authorization support.");
+ m = Py_InitModule3("auth", py_auth_methods,
+ "Authentication and authorization support.");
if (m == NULL)
return;
diff --git a/source4/auth/pyauth.h b/source4/auth/pyauth.h
index f3c9cea73d..2d0379e6e8 100644
--- a/source4/auth/pyauth.h
+++ b/source4/auth/pyauth.h
@@ -23,7 +23,6 @@
#include "lib/talloc/pytalloc.h"
#include "auth/session.h"
-PyAPI_DATA(PyTypeObject) PyAuthSession;
#define PyAuthSession_AsSession(obj) py_talloc_get_type(obj, struct auth_session_info)
#define PyAuthSession_Check(obj) PyObject_TypeCheck(obj, &PyAuthSession)
struct auth_session_info *PyObject_AsSession(PyObject *obj);