1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

3493 Commits

Author SHA1 Message Date
Jelmer Vernooij
9987095378 r26641: ldb(Python): Remove some unnecessary {}'s.
(This used to be commit f250bc18e9)
2008-01-01 19:57:02 -06:00
Jelmer Vernooij
7d5f0e0893 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
(This used to be commit 2f29f80e07)
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
86dc05e99f r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
(This used to be commit 61ad78ac98)
2008-01-01 16:12:11 -06:00
Jelmer Vernooij
f4b30bebca 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.
(This used to be commit dc2a612927)
2007-12-30 10:51:07 -06:00
Jelmer Vernooij
57d62f4361 r26625: Wrap some more events functions for Python and add a trivial test for it.
(This used to be commit 7873666a95)
2007-12-28 11:03:01 -06:00
Jelmer Vernooij
405a20b44f r26623: python: Allow specifying URL rather than host name on the command-line.
(This used to be commit 108f6caffe)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
66fbdaac0b r26620: python: Allow not specifying event contexts, in which case a new context is used.
(This used to be commit 73c0b1c897)
2007-12-28 10:33:01 -06:00
Jelmer Vernooij
0098543d67 r26617: Load smb.conf.
(This used to be commit 3f7bfef195)
2007-12-27 17:36:06 -06:00
Jelmer Vernooij
18f9eaca07 r26615: Fix Python syntax
(This used to be commit cc15136c1e)
2007-12-27 17:36:05 -06:00
Andrew Bartlett
d80873665c r26611: Tridge didn't write this...
Andrew Bartlett
(This used to be commit 002ddc315f)
2007-12-27 01:51:04 -06:00
Jelmer Vernooij
aa79008d4b r26602: Revert my previous commit as it only works with GNU make.
(This used to be commit ecd2d96c31)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
251a4e0780 r26600: Provide dir variable with current basedir in Makefile.
(This used to be commit b06d3e1a52)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
533cc583ed r26596: Fixed upgrade.py.
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
(This used to be commit 2227fb6df6)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
7c146c42d2 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.
(This used to be commit 150cf39fbd)
2007-12-26 11:57:07 -06:00
Kai Blin
a6caca9abc r26589: torture: Add non-const version of torture_tcase_add_simple_test
(This used to be commit 1ae9cde510)
2007-12-26 11:57:05 -06:00
Kai Blin
3c744ddd2c r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf68)
2007-12-26 11:57:05 -06:00
Jelmer Vernooij
6c9a2a3c52 r26586: Rename fetch to get for consistency with the Python dictionary interface.
(This used to be commit fadab7c60b)
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
59efa6e5d0 r26585: Fix samba3.python tests.
(This used to be commit 231ec0777b)
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
a822a14d1e r26584: Fix exception handling in ldb constructor.
(This used to be commit 5383cf8e69)
2007-12-26 11:57:03 -06:00
Jelmer Vernooij
9faf93c7b0 r26583: Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl.
(This used to be commit 4ff8f4e370)
2007-12-26 11:57:03 -06:00
Jelmer Vernooij
5e574b2b94 r26582: Use the same swig flags everywhere.
(This used to be commit 7008f90e03)
2007-12-24 01:51:07 -06:00
Simo Sorce
5a1433cae7 r26581: Make ldb_wait uniform, so that it is easy to remove it completely from modules
later on.
(This used to be commit f75ce8c20a)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
c13ae70731 r26580: Include sentinel in build.h, in case the list is empty.
(This used to be commit f1997dabed)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
9852e793bc r26577: Fix the standalone ldb build.
(This used to be commit 1cf374eb31)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
be33f4c611 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0)
2007-12-24 01:51:06 -06:00
Simo Sorce
2d400c1dd1 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.
(This used to be commit 166195b487)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
d0ba9f0014 r26572: Fix warnings in the Python code.
(This used to be commit 15038d9586)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
3ee442c54f r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
(This used to be commit cb76c60007)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
aa0a06f13c 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.
(This used to be commit c550c03372)
2007-12-24 01:51:03 -06:00
Volker Lendecke
784c22899f 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 :-(((
(This used to be commit c1dd0af164)
2007-12-24 01:51:02 -06:00
Volker Lendecke
9c32358ac7 r26568: Revert r26482
Next attempt to fix the Samba3 torture breakage

Jelmer, can you please review this?

Thanks,

Volker
(This used to be commit 1d624c8b88)
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
fb021305e4 r26567: Allow registering new ldb modules from python.
(This used to be commit 485db76d84)
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
249cc734ce r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
(This used to be commit 485d1fa3d1)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
09f820f0bd r26564: More python bindings for registry code.
(This used to be commit f40fad9827)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
670918f916 r26563: Fix reg_diff_apply argument order.
(This used to be commit cfffd0357e)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
6890891b5f r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
(This used to be commit 37c7b65546)
2007-12-21 06:28:52 +01:00
James Peach
bf20aa02e6 r26551: Make sure NULL is defined before using it to test for getifaddrs().
Patch from Timur I. Bakeyev <timur@com.bat.ru>.
(This used to be commit 188156228b)
2007-12-21 06:28:50 +01:00
Stefan Metzmacher
6afef7d624 r26550: libreplace: fallback to __ss_family of struct sockaddr_storage
metze
(This used to be commit 11bdc9bed8)
2007-12-21 06:28:49 +01:00
Jelmer Vernooij
0500b87092 r26540: Revert my previous commit after concerns raised by Andrew.
(This used to be commit 6ac86f8be7)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc r26539: Remove unnecessary statics.
(This used to be commit e53e79eebe)
2007-12-21 05:52:05 +01:00
Jelmer Vernooij
6e2459211d r26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).
(This used to be commit e91fe76d29)
2007-12-21 05:51:57 +01:00
Stefan Metzmacher
9d71dba42e r26533: libreplace: hopefully fix the share library/module build on darwin
metze
(This used to be commit 3d64338f3c)
2007-12-21 05:51:55 +01:00
Andrew Bartlett
131c40a421 r26529: Indeed, this belongs in the schema module. Ranged results need to use
an attribute with ';' in the name.

Andrew Bartlett
(This used to be commit f4023b176e)
2007-12-21 05:51:52 +01:00
Jelmer Vernooij
63f53094ef r26520: More Python updates.
(This used to be commit a8b1fe15ac)
2007-12-21 05:51:31 +01:00
Jelmer Vernooij
12a513b47b r26518: Fix provision of registry using Python.
(This used to be commit 12eb38e553)
2007-12-21 05:51:25 +01:00
Kai Blin
f6c80d0d9c r26514: Revert the talloc.c part of r26511, as talloc.h already takes care of thois.
Thanks to metze for pointing this out
(This used to be commit 4a5e1047ff)
2007-12-21 05:51:19 +01:00
Jelmer Vernooij
fe6faa4df2 r26512: Another attempt at fixing darwin
(This used to be commit 4fa04924ab)
2007-12-21 05:51:18 +01:00
Kai Blin
ac4237e997 r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_v
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf.
(This used to be commit 5b3a8c8ae1)
2007-12-21 05:51:17 +01:00
Jelmer Vernooij
93378b9893 r26510: attempt to fix shld flags for darwin.
(This used to be commit 5dbe3aff3c)
2007-12-21 05:51:14 +01:00
Jelmer Vernooij
89f34bb213 r26507: Fix function signature for freeifaddrs.
(This used to be commit cc873bdd2e)
2007-12-21 05:51:13 +01:00