1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

17817 Commits

Author SHA1 Message Date
Jelmer Vernooij
05adbbc8c9 s4: Always link in auth, as some of the core infrastructure depends on it. 2008-12-22 18:12:22 +01:00
Jelmer Vernooij
84501f6b59 Raise proper exceptions when lp file can't be found, be a
bit less strict when no file was specified.
2008-12-22 06:34:18 +01:00
Jelmer Vernooij
1807b0870b pidl/python: Factor out connect code rather than duplicating it in each
Python module.
2008-12-22 04:56:41 +01:00
Jelmer Vernooij
d58270c537 Add header for pyparam. 2008-12-22 04:38:57 +01:00
Jelmer Vernooij
24b62772ab Remove includes of py_*.h, which are no longer generated. 2008-12-22 04:21:20 +01:00
Jelmer Vernooij
4eabc417a0 Remove unnecessary dependencies between Python modules. 2008-12-22 04:13:16 +01:00
Jelmer Vernooij
2396d8d613 Use consistent names for dcerpc python modules; fixes messaging test. 2008-12-22 04:03:55 +01:00
Jelmer Vernooij
2c58c9497c Import types from other Python mechanisms using the Python import mechanism, to ensure they are initialized. 2008-12-22 01:51:38 +01:00
Jelmer Vernooij
9a7c64f1dc Fix comparison in tests now that we use __cmp__ rather than __eq__. 2008-12-21 23:24:36 +01:00
Jelmer Vernooij
2227860a79 Fix more tests, improve repr() functions for various Python types. 2008-12-21 23:05:35 +01:00
Jelmer Vernooij
d75c51eef3 Remove infrastructure for (no longer used) SWIG. 2008-12-21 21:16:40 +01:00
Jelmer Vernooij
7e651c7ef3 Simplify customization of pidl-generated Python modules. 2008-12-21 21:10:40 +01:00
Jelmer Vernooij
38a4749d2c Allow providing extra module-level Python functions. 2008-12-21 18:46:59 +01:00
Jelmer Vernooij
f2b4aa82e0 Merge the rest of security.i into samba.dcerpc.security. 2008-12-21 18:25:59 +01:00
Jelmer Vernooij
a925e22d7a Remove duplicate Python bindings for dom_sid, security_descriptor and
security_token.
2008-12-21 18:03:27 +01:00
Jelmer Vernooij
4d811a8ef2 Remove libcli_smb SWIG bindings - only one (useless on its own) function was wrapped anyway. 2008-12-21 17:01:50 +01:00
Jelmer Vernooij
a32194033a Move tests for ParamFile. 2008-12-21 16:39:17 +01:00
Jelmer Vernooij
f06b083ff3 Convert param Python module to "manual" C. 2008-12-21 16:32:47 +01:00
Jelmer Vernooij
676919872d Provide simple Python replacement for ParamFile, which currently exists
with a lot of overhead.
2008-12-21 15:55:23 +01:00
Jelmer Vernooij
6efb7ff981 Fix various Python-related bugs. 2008-12-21 07:34:27 +01:00
Jelmer Vernooij
f36ff0bac2 Include errors.i verbatim in security.i, as it's the only file still using it. 2008-12-21 05:35:39 +01:00
Jelmer Vernooij
263c6670fc Convert credentials Python module to "manual" C - no SWIG used to generate
the C code.
2008-12-21 05:29:23 +01:00
Jelmer Vernooij
33ebc95591 Remove remaining fragments of SWIG code in pyldb. 2008-12-21 04:42:51 +01:00
Jelmer Vernooij
eeb25cf548 Fix more introduced regressions in new bindings. 2008-12-21 04:36:16 +01:00
Jelmer Vernooij
bfb29e94b1 Convert auth python module to "plain" C rather than using SWIG. 2008-12-21 03:37:31 +01:00
Jelmer Vernooij
2e7a6cb6bf py: Fix initialisation of subtypes, fix segfaults. 2008-12-21 03:08:14 +01:00
Jelmer Vernooij
bd41b4579c Avoid linking in all Python modules to the samba binaries - we can just let Python dlopen() them. 2008-12-21 00:53:06 +01:00
Jelmer Vernooij
64419f47da Implement some of the stubs in misc python module. 2008-12-21 00:24:54 +01:00
Jelmer Vernooij
13fa639a29 Use plain C implementation for misc Python module rather than SWIG. 2008-12-20 23:38:30 +01:00
Jelmer Vernooij
0d585a67ed Support subtypes of ldb.Ldb. 2008-12-20 23:00:23 +01:00
Jelmer Vernooij
94ed43390c Fix all pyldb tests except for modules. 2008-12-20 22:21:39 +01:00
Jelmer Vernooij
5688f9b13e Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-20 21:21:19 +01:00
Andrew Bartlett
f210fbe68b Corrections to Microsoft's schema and the OpenLDAP mapping file 2008-12-20 16:43:48 +11:00
Andrew Bartlett
012a6524f7 Treat DN+STring as a binary string for now
This matches the way we work with DN+Binary.  We need this for the
OpenLDAP backend.

Andrew Bartlett
2008-12-20 15:11:40 +11:00
Andrew Bartlett
6488afaafe Now store the GUID and SID from a DN over DRSUAPI into ldb.
Until the extended DN work was compleated, there was no way to store
the additional metadata.

Andrew Bartlett
2008-12-20 14:44:39 +11:00
Andrew Bartlett
dd5a4681e8 Fix compiler warning when parsing a SID in a data blob 2008-12-20 14:44:39 +11:00
Jeremy Allison
fcadf47a15 Add torture test for bug #5986 - streams rename, so we don't regress.
Jeremy.
2008-12-19 18:01:26 -08:00
Jelmer Vernooij
759a3bcc88 Merge branch 'pyregistry' of git://git.samba.org/jelmer/samba
Conflicts:
	source4/lib/ldb/ldb_wrap.c
2008-12-19 23:55:45 +01:00
Jelmer Vernooij
0898b96d26 Reprocess LDB SWIG file. 2008-12-19 23:48:30 +01:00
Jelmer Vernooij
89043bda3e Depend on specific version of LDB, as the API seems to unstable
to predict that newer versions (even minor versions) are going to be be
backwards compatible :-(
2008-12-19 23:33:43 +01:00
Jelmer Vernooij
071a71e27f Specify explicit path to tevent.h, compilation breaks without it for me. 2008-12-19 22:03:11 +01:00
Jelmer Vernooij
5076c64d43 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-19 21:47:45 +01:00
Jelmer Vernooij
6998ef4fe0 Avoid use of parentheses in Python import statements, as it's not supported by Python2.3. 2008-12-19 21:47:31 +01:00
Jelmer Vernooij
04bef7fe2a Fix more tests. 2008-12-19 16:08:35 +00:00
Simo Sorce
af049ae83c s4:cosmetic: Remove trailing tabs and spaces 2008-12-19 09:58:28 -05:00
Matthias Dieter Wallnöfer
dde0964d72 Small cosmetic LDB patch regarding return values.
It changes some "return 0" in "return LDB_SUCCESS"
2008-12-19 09:54:20 -05:00
Jelmer Vernooij
7f4e4df58d Port over more functionality to new SWIGless Python module. 2008-12-19 13:41:44 +00:00
Jelmer Vernooij
263036a798 Merge branch 'master' of ssh://git.samba.org/data/git/samba into pyregistry 2008-12-19 12:03:17 +00:00
Jelmer Vernooij
e0672ae29b Remove swig support from standalone ldb build. 2008-12-19 01:24:00 +00:00
Jelmer Vernooij
a57b1aa0f1 Initial work using manual Python bindings for LDB, rather than SWIG-generated ones. 2008-12-19 01:22:07 +00:00