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

517 Commits

Author SHA1 Message Date
Jelmer Vernooij
f9dd026355 r15585: Revive pidl's SWIG file generator. It now generates simple
object oriented wrappers for the interfaces (still need to fix
the actual function calls)
(This used to be commit bf5da20869)
2007-10-10 14:06:00 -05:00
Jelmer Vernooij
3064782735 r15581: Remove unused include
(This used to be commit b79092d7ee)
2007-10-10 14:06:00 -05:00
Tim Potter
ce3293c5b6 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.
(This used to be commit 11150b3140)
2007-10-10 14:05:32 -05:00
Tim Potter
684aa5adef 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().
(This used to be commit d67e055f86)
2007-10-10 14:05:31 -05:00
Tim Potter
5abd8940f9 r15348: Start adding a dict interface and tests to LdbMessage class.
(This used to be commit 7e30e8ba57)
2007-10-10 14:05:23 -05:00
Tim Potter
15a2fc8f36 r15345: Add a read-only test to tdb torture tester.
(This used to be commit 370e5b0f8a)
2007-10-10 14:05:21 -05:00
Jelmer Vernooij
f7c86b912d r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB
(This used to be commit 4ec89bce87)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
e002300f23 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
(This used to be commit c19c2b51d3)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
ab8fd44603 r15300: Only enable SWIG shared libs if python is available
(This used to be commit d9f1c19f58)
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
0eddf14b30 r15191: Avoid uint_t as it's not standard.
(This used to be commit 7af59357b9)
2007-10-10 14:04:15 -05:00
James Peach
9d9e5abdce r15187: Introduce new param type P_BYTES. This lets config options which specify
byte counts be given in convenient units.
(This used to be commit 1b8891a2f3)
2007-10-10 14:04:14 -05:00
Stefan Metzmacher
683ca3c9ad r15077: map SID_BUILTIN_USERS
metze
(This used to be commit e896c32614)
2007-10-10 14:04:07 -05:00
Tim Potter
8c23f133c4 r14968: Move tdb and ldb swig wrappers in to lib/tdb and lib/ldb directories.
(This used to be commit fa8d0dc14a)
2007-10-10 14:00:48 -05:00
Tim Potter
9956009a41 r14915: Work in progress - getting ldb_add() working.
(This used to be commit d50661ed4e)
2007-10-10 14:00:16 -05:00
Jelmer Vernooij
6ad6506cb1 r14906: Move SWIG-specific files to scripting/swig/
(This used to be commit 222723e443)
2007-10-10 14:00:14 -05:00
Tim Potter
b93e9b50ab r14901: More work on ldb swig interface. Wrap some more functions.
(This used to be commit 5b722fcd4b)
2007-10-10 14:00:13 -05:00
Tim Potter
6705f888d5 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.
(This used to be commit a40d6c7922)
2007-10-10 14:00:13 -05:00
Tim Potter
dd8b8dc98a 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.
(This used to be commit 9327fd07d6)
2007-10-10 14:00:12 -05:00
Tim Potter
fab7e6605f r14880: Doc.
(This used to be commit 73b233ee1b)
2007-10-10 14:00:12 -05:00
Tim Potter
aae53f673f r14879: Fix bug unpacking ldb_messages.
Start decoding more of ldb_message and ldb_message_result.
(This used to be commit 60f7f14baa)
2007-10-10 14:00:11 -05:00
Tim Potter
574c9fd685 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.
(This used to be commit 704787978a)
2007-10-10 14:00:11 -05:00
Jelmer Vernooij
733b5af73f r14875: Make better use of the build system
(This used to be commit 12429bb66f)
2007-10-10 14:00:11 -05:00
Tim Potter
e9cf4f3098 r14873: Add skeleton swig ldb interface.
(This used to be commit c6c759e19f)
2007-10-10 14:00:10 -05:00
Tim Potter
0235d37b32 r14871: We don't need to import UserDict anymore.
(This used to be commit c60a233538)
2007-10-10 13:59:45 -05:00
Tim Potter
f586b11f73 r14870: Update to link with dynamic instead of static objects.
(This used to be commit 20d68c60b7)
2007-10-10 13:59:45 -05:00
Stefan Metzmacher
1af925f394 r14860: create libcli/security/security.h
metze
(This used to be commit 9ec706238c)
2007-10-10 13:59:44 -05:00
Tim Potter
e29489d9b6 r14854: Finish off swig wrapper and torture tests for tdb.
(This used to be commit 1c4042e23f)
2007-10-10 13:59:43 -05:00
Tim Potter
61ce5cd1c6 r14804: Start writing a more Pythonic tdb module.
(This used to be commit 4c9af9c149)
2007-10-10 13:59:21 -05:00
Tim Potter
ea5a312938 r14801: Move swig testing makefile fragment into swig's config.mk and out of
main.mk
(This used to be commit 3721072fc5)
2007-10-10 13:59:21 -05:00
Tim Potter
86971ff3b9 r14798: Get swig building again (by commenting out dcerpc stuff for now).
Add the start of a test framework for swigged functionality.
(This used to be commit 3dfd0959f7)
2007-10-10 13:59:20 -05:00
Jelmer Vernooij
dab516d3e7 r14603: Fix building of ejs modules as shared libs
Fix calling of ejs_exception() without requiring --export-dynamic
(This used to be commit 8575e9a490)
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
508f2f5506 r14594: Fix some dependencies (required for shared library build)
(This used to be commit 06f7a8c692)
2007-10-10 13:58:58 -05:00
Jelmer Vernooij
184955ffd7 r14572: Give libraries saner names, remove some .pc files, make some things
subsystems in case a library doesn't make sense.
(This used to be commit ed382873fd)
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
35349a58df r14542: Remove librpc, libndr and libnbt from includes.h
(This used to be commit 51b4270513)
2007-10-10 13:58:42 -05:00
Jelmer Vernooij
2f65012d3d r14500: Make some more functions public
(This used to be commit 867fc48922)
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
5c79bbadd5 r14497: Fix build with shared libraries
(This used to be commit c74fc55831)
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
71b4fd9792 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
(This used to be commit 9c37f847d3)
2007-10-10 13:57:30 -05:00
Jelmer Vernooij
8528016978 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
61933e159c r14381: Kill structs.h
(This used to be commit 1ffb82a759)
2007-10-10 13:57:17 -05:00
Jelmer Vernooij
e3f2414cf9 r14380: Reduce the size of structs.h
(This used to be commit 1a16a6f1df)
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
3f16241a1d r14363: Remove credentials.h from the global includes.
(This used to be commit 98c4c30513)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
e153a8099e 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.
(This used to be commit 7871b07e21)
2007-10-10 13:57:12 -05:00
Andrew Bartlett
acd190d8f6 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
(This used to be commit 0859ba59ae)
2007-10-10 13:56:59 -05:00
Stefan Metzmacher
429a23c48d r14110: make ndr interface parsing code libraries,
so it will not included in multiple modules or binaries

metze
(This used to be commit 13c1059747)
2007-10-10 13:56:52 -05:00
Jelmer Vernooij
c6519ad9c0 r14109: Modulify the smbcalls subsystem.
(This used to be commit d538eac9db)
2007-10-10 13:56:51 -05:00
Simo Sorce
e460cf7692 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 ?
(This used to be commit af92996e30)
2007-10-10 13:52:34 -05:00
Jelmer Vernooij
ceb6e9717b r13960: Generate makefile rules for installing/removing shared modules.
(This used to be commit 2c74698032)
2007-10-10 13:52:32 -05:00
Jelmer Vernooij
f8fdbc967c r13944: Yet another round of splitups.
(This used to be commit f87debeb12)
2007-10-10 13:52:31 -05:00
Stefan Metzmacher
a8c023ea79 r13942: fix dependencies
metze
(This used to be commit 71d3fbf65c)
2007-10-10 13:52:29 -05:00