1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-13 16:23:50 +03:00
Commit Graph

3554 Commits

Author SHA1 Message Date
Jelmer Vernooij
7a66d0eff6 r26701: ldb: Build and install python modules when possible. 2008-01-10 09:42:04 -06:00
Jelmer Vernooij
8d77ea379f r26700: tdb: Build and install Python bindings when possible. 2008-01-10 09:21:11 -06:00
Jelmer Vernooij
9fc5f098e0 r26692: registry: Treat key and value names case-insensitively. 2008-01-07 17:48:02 -06:00
Jelmer Vernooij
b06896d237 r26689: registry: Return max_subkeynamelen, max_valnamelen and max_valbufsize in getkeyinfo(). 2008-01-07 08:18:07 -06:00
Jelmer Vernooij
846876ad32 r26688: Fix listing remote predefined keys and subkeys. This fixes bug 3431. 2008-01-07 08:18:06 -06:00
Andrew Bartlett
0016231edd r26684: Trivial cleanup from Matthias Dieter Wallnöfer, from bug 5090
Andrew Bartlett
2008-01-06 23:27:02 -06:00
Tim Potter
62017f049b r26678: Check in auto-generated swig files. 2008-01-06 17:48:02 -06:00
Tim Potter
5c3c131d17 r26677: Implement and test iter{keys,values,items} for tdb bindings.
Use tempfile.mkstemp() instead of os.tmpnam() in tests.
2008-01-06 17:21:02 -06:00
Jelmer Vernooij
50c46160d9 r26669: Janitorial: Remove uses of global_loadparm. 2008-01-05 09:42:02 -06:00
Jelmer Vernooij
aa438a2feb r26668: tdb/python: Fix default value of open_flags for tdb. 2008-01-05 09:42:01 -06:00
Jelmer Vernooij
bcd8f50f79 r26665: registry: Fix tests on bigendian machines. 2008-01-05 08:06:04 -06:00
Jelmer Vernooij
f250bc18e9 r26641: ldb(Python): Remove some unnecessary {}'s. 2008-01-01 19:57:02 -06:00
Jelmer Vernooij
2f29f80e07 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
Jelmer Vernooij
61ad78ac98 r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob(). 2008-01-01 16:12:11 -06:00
Jelmer Vernooij
dc2a612927 r26631: ldb/python: Fix missing elements bug and memory leak. * Don't increase the PyDict_Next() counter - Python already does that for us. * Fix a talloc(NULL, ...) memory leak in the code that constructed ldb message elements. 2007-12-30 10:51:07 -06:00
Jelmer Vernooij
7873666a95 r26625: Wrap some more events functions for Python and add a trivial test for it. 2007-12-28 11:03:01 -06:00
Jelmer Vernooij
108f6caffe r26623: python: Allow specifying URL rather than host name on the command-line. 2007-12-28 10:33:02 -06:00
Jelmer Vernooij
73c0b1c897 r26620: python: Allow not specifying event contexts, in which case a new context is used. 2007-12-28 10:33:01 -06:00
Jelmer Vernooij
3f7bfef195 r26617: Load smb.conf. 2007-12-27 17:36:06 -06:00
Jelmer Vernooij
cc15136c1e r26615: Fix Python syntax 2007-12-27 17:36:05 -06:00
Andrew Bartlett
002ddc315f r26611: Tridge didn't write this...
Andrew Bartlett
2007-12-27 01:51:04 -06:00
Jelmer Vernooij
ecd2d96c31 r26602: Revert my previous commit as it only works with GNU make. 2007-12-26 11:57:09 -06:00
Jelmer Vernooij
b06d3e1a52 r26600: Provide dir variable with current basedir in Makefile. 2007-12-26 11:57:08 -06:00
Jelmer Vernooij
2227fb6df6 r26596: Fixed upgrade.py.
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
150cf39fbd r26593: - More work on the python versions of samba3dump and the samba3sam tests.
- Initial work converting the upgrade code to Python.
- Removed the old EJS upgrade code because it has been broken for a long time.
2007-12-26 11:57:07 -06:00
Kai Blin
1ae9cde510 r26589: torture: Add non-const version of torture_tcase_add_simple_test 2007-12-26 11:57:05 -06:00
Kai Blin
e59c2eaf68 r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
2007-12-26 11:57:05 -06:00
Jelmer Vernooij
fadab7c60b r26586: Rename fetch to get for consistency with the Python dictionary interface. 2007-12-26 11:57:04 -06:00
Jelmer Vernooij
231ec0777b r26585: Fix samba3.python tests. 2007-12-26 11:57:04 -06:00
Jelmer Vernooij
5383cf8e69 r26584: Fix exception handling in ldb constructor. 2007-12-26 11:57:03 -06:00
Jelmer Vernooij
4ff8f4e370 r26583: Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl. 2007-12-26 11:57:03 -06:00
Jelmer Vernooij
7008f90e03 r26582: Use the same swig flags everywhere. 2007-12-24 01:51:07 -06:00
Simo Sorce
f75ce8c20a r26581: Make ldb_wait uniform, so that it is easy to remove it completely from modules
later on.
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
f1997dabed r26580: Include sentinel in build.h, in case the list is empty. 2007-12-24 01:51:07 -06:00
Jelmer Vernooij
1cf374eb31 r26577: Fix the standalone ldb build. 2007-12-24 01:51:06 -06:00
Jelmer Vernooij
ba8be2dfc0 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
2007-12-24 01:51:06 -06:00
Simo Sorce
166195b487 r26574: Do not call functions in the variable declaration, fix checking for tmp_ctx,
and also makes code more readable and debuggable.

Eliminate silly parenthesys.

Simo.
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
15038d9586 r26572: Fix warnings in the Python code. 2007-12-24 01:51:04 -06:00
Jelmer Vernooij
cb76c60007 r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files. 2007-12-24 01:51:03 -06:00
Jelmer Vernooij
c550c03372 r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
2007-12-24 01:51:03 -06:00
Volker Lendecke
c1dd0af164 r26569: Jelmer tells me that ldb must inevitably be build as a shared library,
otherwise it will break.

Sorry for breaking Samba4.

I will have to look how we can fix Samba3 :-(((
2007-12-24 01:51:02 -06:00
Volker Lendecke
1d624c8b88 r26568: Revert r26482
Next attempt to fix the Samba3 torture breakage

Jelmer, can you please review this?

Thanks,

Volker
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
485db76d84 r26567: Allow registering new ldb modules from python. 2007-12-24 01:51:02 -06:00
Jelmer Vernooij
485d1fa3d1 r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now. 2007-12-24 01:51:01 -06:00
Jelmer Vernooij
f40fad9827 r26564: More python bindings for registry code. 2007-12-24 01:51:01 -06:00
Jelmer Vernooij
cfffd0357e r26563: Fix reg_diff_apply argument order. 2007-12-24 01:51:01 -06:00
Jelmer Vernooij
37c7b65546 r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev. 2007-12-21 06:28:52 +01:00
James Peach
188156228b r26551: Make sure NULL is defined before using it to test for getifaddrs().
Patch from Timur I. Bakeyev <timur@com.bat.ru>.
2007-12-21 06:28:50 +01:00
Stefan Metzmacher
11bdc9bed8 r26550: libreplace: fallback to __ss_family of struct sockaddr_storage
metze
2007-12-21 06:28:49 +01:00
Jelmer Vernooij
6ac86f8be7 r26540: Revert my previous commit after concerns raised by Andrew. 2007-12-21 05:52:06 +01:00