summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-09-23 11:01:52 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-09-23 15:24:10 +0200
commitc5615211d436efea992d94b798c7a843cbf076c7 (patch)
treeab081fbb043123677817c13ee0e7370ca8e09c28 /source4/librpc/ndr
parent0724649a8a7c04d015317d9dc2ae43ee87c1bd25 (diff)
downloadsamba-c5615211d436efea992d94b798c7a843cbf076c7.tar.gz
samba-c5615211d436efea992d94b798c7a843cbf076c7.tar.bz2
samba-c5615211d436efea992d94b798c7a843cbf076c7.zip
provision: Avoid linking in multiple copies of security python module.
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/py_security.c5
-rw-r--r--source4/librpc/ndr/py_security.h23
2 files changed, 0 insertions, 28 deletions
diff --git a/source4/librpc/ndr/py_security.c b/source4/librpc/ndr/py_security.c
index 1b185a51b5..02dc059f05 100644
--- a/source4/librpc/ndr/py_security.c
+++ b/source4/librpc/ndr/py_security.c
@@ -23,11 +23,6 @@
#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
#endif
-PyObject *py_dom_sid_FromSid(struct dom_sid *sid)
-{
- return py_talloc_reference(&dom_sid_Type, sid);
-}
-
static void PyType_AddMethods(PyTypeObject *type, PyMethodDef *methods)
{
PyObject *dict;
diff --git a/source4/librpc/ndr/py_security.h b/source4/librpc/ndr/py_security.h
deleted file mode 100644
index 9d200faf8e..0000000000
--- a/source4/librpc/ndr/py_security.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
- Samba utility functions
- Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2008
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "libcli/security/security.h"
-
-/* a lone prototype for this function, because it's python */
-PyObject *py_dom_sid_FromSid(struct dom_sid *sid);