Tim Potter
11150b3140
r15391: Wrap up the nbt_name_query() function as a bit of an experiment. It
...
seemed to work quite well and this technique might be good for
generating an interface to use for automated testing.
Tested by doing a nbt lookup against smbd.
2007-10-10 14:05:32 -05:00
Tim Potter
d67e055f86
r15389: Add some better torture tests for LdbMessage.
...
Fix up behaviour of Ldb.__setitem__() function. It should overwrite the
element data.
Add wrapper for ldb_msg_sanity_check().
2007-10-10 14:05:31 -05:00
Tim Potter
7e30e8ba57
r15348: Start adding a dict interface and tests to LdbMessage class.
2007-10-10 14:05:23 -05:00
Tim Potter
370e5b0f8a
r15345: Add a read-only test to tdb torture tester.
2007-10-10 14:05:21 -05:00
Jelmer Vernooij
4ec89bce87
r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
c19c2b51d3
r15328: Move some functions around, remove dependencies.
...
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
d9f1c19f58
r15300: Only enable SWIG shared libs if python is available
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
adc8a019b6
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
7af59357b9
r15191: Avoid uint_t as it's not standard.
2007-10-10 14:04:15 -05:00
James Peach
1b8891a2f3
r15187: Introduce new param type P_BYTES. This lets config options which specify
...
byte counts be given in convenient units.
2007-10-10 14:04:14 -05:00
Stefan Metzmacher
e896c32614
r15077: map SID_BUILTIN_USERS
...
metze
2007-10-10 14:04:07 -05:00
Tim Potter
fa8d0dc14a
r14968: Move tdb and ldb swig wrappers in to lib/tdb and lib/ldb directories.
2007-10-10 14:00:48 -05:00
Tim Potter
d50661ed4e
r14915: Work in progress - getting ldb_add() working.
2007-10-10 14:00:16 -05:00
Jelmer Vernooij
222723e443
r14906: Move SWIG-specific files to scripting/swig/
2007-10-10 14:00:14 -05:00
Tim Potter
5b722fcd4b
r14901: More work on ldb swig interface. Wrap some more functions.
2007-10-10 14:00:13 -05:00
Tim Potter
a40d6c7922
r14897: Do more error checking of tdb function returns and raise IOError or
...
KeyError exceptions as appropriate.
Add a close() function to the wrapper as we can't rely on the
Python garbage collector destroying the object and closing the tdb file
at any particular time.
2007-10-10 14:00:13 -05:00
Tim Potter
9327fd07d6
r14881: Unpack ldb_message_element and ldb_val arrays. Python can now access
...
all parts of a ldb_result:
@BASEINFO has 2 elements
elt[0]: val[0]: sequenceNumber = 2
elt[1]: val[0]: distinguishedName = @BASEINFO
name=foo has 2 elements
elt[0]: val[0]: foo = bar
elt[1]: val[0]: distinguishedName = name=foo
Cleanup some swig junk that was only necessary when including config.h
and function prototypes that used the PRINTF_ATTRIBUTE() macro.
Add some more comments.
2007-10-10 14:00:12 -05:00
Tim Potter
73b233ee1b
r14880: Doc.
2007-10-10 14:00:12 -05:00
Tim Potter
60f7f14baa
r14879: Fix bug unpacking ldb_messages.
...
Start decoding more of ldb_message and ldb_message_result.
2007-10-10 14:00:11 -05:00
Tim Potter
704787978a
r14878: Write swig wrappers for ldb_init() and ldb_connect().
...
Start wrapper for ldb_search(). Currently it returns a list of swig
ldb_message objects. More unpacking of results required.
2007-10-10 14:00:11 -05:00
Jelmer Vernooij
12429bb66f
r14875: Make better use of the build system
2007-10-10 14:00:11 -05:00
Tim Potter
c6c759e19f
r14873: Add skeleton swig ldb interface.
2007-10-10 14:00:10 -05:00
Tim Potter
c60a233538
r14871: We don't need to import UserDict anymore.
2007-10-10 13:59:45 -05:00
Tim Potter
20d68c60b7
r14870: Update to link with dynamic instead of static objects.
2007-10-10 13:59:45 -05:00
Stefan Metzmacher
9ec706238c
r14860: create libcli/security/security.h
...
metze
2007-10-10 13:59:44 -05:00
Tim Potter
1c4042e23f
r14854: Finish off swig wrapper and torture tests for tdb.
2007-10-10 13:59:43 -05:00
Tim Potter
4c9af9c149
r14804: Start writing a more Pythonic tdb module.
2007-10-10 13:59:21 -05:00
Tim Potter
3721072fc5
r14801: Move swig testing makefile fragment into swig's config.mk and out of
...
main.mk
2007-10-10 13:59:21 -05:00
Tim Potter
3dfd0959f7
r14798: Get swig building again (by commenting out dcerpc stuff for now).
...
Add the start of a test framework for swigged functionality.
2007-10-10 13:59:20 -05:00
Jelmer Vernooij
8575e9a490
r14603: Fix building of ejs modules as shared libs
...
Fix calling of ejs_exception() without requiring --export-dynamic
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
06f7a8c692
r14594: Fix some dependencies (required for shared library build)
2007-10-10 13:58:58 -05:00
Jelmer Vernooij
ed382873fd
r14572: Give libraries saner names, remove some .pc files, make some things
...
subsystems in case a library doesn't make sense.
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
51b4270513
r14542: Remove librpc, libndr and libnbt from includes.h
2007-10-10 13:58:42 -05:00
Jelmer Vernooij
867fc48922
r14500: Make some more functions public
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
c74fc55831
r14497: Fix build with shared libraries
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
9c37f847d3
r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
2007-10-10 13:57:30 -05:00
Jelmer Vernooij
3dd477ca51
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
1ffb82a759
r14381: Kill structs.h
2007-10-10 13:57:17 -05:00
Jelmer Vernooij
1a16a6f1df
r14380: Reduce the size of structs.h
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
98c4c30513
r14363: Remove credentials.h from the global includes.
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
7871b07e21
r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
...
- VERSION: should contain the current version. Will be made part of the filename.
- SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.
Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
2007-10-10 13:57:12 -05:00
Andrew Bartlett
0859ba59ae
r14200: Now we have real USN support, don't force the values in the provision
...
scripts.
This tests the real module, and avoids duplication.
Andrew Bartlett
2007-10-10 13:56:59 -05:00
Stefan Metzmacher
13c1059747
r14110: make ndr interface parsing code libraries,
...
so it will not included in multiple modules or binaries
metze
2007-10-10 13:56:52 -05:00
Jelmer Vernooij
d538eac9db
r14109: Modulify the smbcalls subsystem.
2007-10-10 13:56:51 -05:00
Simo Sorce
af92996e30
r13985: Slowly start swig_ldb
...
dcerpc still need fixing, the produced shared library misses some symbols.
Jelmer, can you look at it while you are playing with the build system ?
2007-10-10 13:52:34 -05:00
Jelmer Vernooij
2c74698032
r13960: Generate makefile rules for installing/removing shared modules.
2007-10-10 13:52:32 -05:00
Jelmer Vernooij
f87debeb12
r13944: Yet another round of splitups.
2007-10-10 13:52:31 -05:00
Stefan Metzmacher
71d3fbf65c
r13942: fix dependencies
...
metze
2007-10-10 13:52:29 -05:00
Jelmer Vernooij
1228358767
r13924: Split more prototypes out of include/proto.h + initial work on header
...
file dependencies
2007-10-10 13:52:24 -05:00
Simo Sorce
c5a9ba3e1c
r13906: fix swig build
2007-10-10 13:52:22 -05:00