summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17341: pass a messaging context to auth_context_create()Stefan Metzmacher1-1/+5
and gensec_server_start(). calling them with NULL for event context or messaging context is no longer allowed! metze (This used to be commit 679ac74e71b111344f1097ab389c0b83a9247710)
2007-10-10r17339: pass the event context and messaging context together to theStefan Metzmacher2-2/+16
smb ejs functions metze (This used to be commit 0397911b414518d54f6dba2a8c81a5872b90a034)
2007-10-10r17330: Enable the partitions module.Andrew Bartlett1-1/+4
This module redirects various samdb requests into different modules, depending on the prefix. It also makes moving to an LDAP backend easier, as it is just a different partition backend. This adds yet another stage to the provision process, as we must setup the partitions before we setup the magic attributes. Andrew Bartlett (This used to be commit 31225b9cb6ef6fcb7bd831043999b1b44ef1b128)
2007-10-10r17206: Add a modular API for share configuration.Simo Sorce1-0/+7
Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)
2007-10-10r16265: Fix 'newuser' command.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 82f5f6c03d005741613c5b00705613c4078c844e)
2007-10-10r16264: Add, but do not yet enable, the partitions module.Andrew Bartlett1-19/+150
This required changes to the rootDSE module, to allow registration of partitions. In doing so I renamed the 'register' operation to 'register_control' and 'register_partition', which changed a few more modules. Due to the behaviour of certain LDAP servers, we create the baseDN entry in two parts: Firstly, we allow the admin to export a simple LDIF file to add to their server. Then we perform a modify to add the remaining attributes. To delete all users in partitions, we must now search and delete all objects in the partition, rather than a simple search from the root. Against LDAP, this might not delete all objects, so we allow this to fail. In testing, we found that the 'Domain Controllers' container was misnamed, and should be 'CN=', rather than 'OU='. To avoid the Templates being found in default searches, they have been moved to CN=Templates from CN=Templates,${BASEDN}. Andrew Bartlett (This used to be commit b49a4fbb57f10726bd288fdc9fc95c0cbbe9094a)
2007-10-10r16168: Make the example match the actual function.Andrew Bartlett1-1/+1
This was very confusing until I really looked at it. Andrew Bartlett (This used to be commit 0053d06d9f85f2304191ab8f68eee7f48b2f2aa8)
2007-10-10r16063: Make is clearer when we can't write to the smb.confAndrew Bartlett1-5/+8
Find more possible posix group names for the 'domain users' group, as the existing options don't exist in OSX. Andrew Bartlett (This used to be commit 4e8d7b7fb310a668ae8653bc06036c94249b2b2a)
2007-10-10r15805: Fix incompatible type assignment. Caught by the IBM checker.Jelmer Vernooij1-1/+1
(This used to be commit cef5cc6464001e1a1472e1029254c093942b6642)
2007-10-10r15731: module init functions should return NTSTATUS, not voidAndrew Tridgell10-10/+20
(This used to be commit c6d20c22454b87b4dea3527f0efcecd373679848)
2007-10-10r15585: Revive pidl's SWIG file generator. It now generates simpleJelmer Vernooij1-1/+1
object oriented wrappers for the interfaces (still need to fix the actual function calls) (This used to be commit bf5da20869eae29aea92386cbb13413b507fc55f)
2007-10-10r15581: Remove unused includeJelmer Vernooij1-1/+0
(This used to be commit b79092d7ee0c463e644ead2bfeb9692fc82d9c74)
2007-10-10r15391: Wrap up the nbt_name_query() function as a bit of an experiment. ItTim Potter1-1/+2
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 11150b3140c91459f17c767adf07a54524338c18)
2007-10-10r15389: Add some better torture tests for LdbMessage.Tim Potter1-8/+73
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 d67e055f86a62d0e61fd20d75b252a6211618f7b)
2007-10-10r15348: Start adding a dict interface and tests to LdbMessage class.Tim Potter1-8/+12
(This used to be commit 7e30e8ba57efe37314ebca02f964420f56b9eb52)
2007-10-10r15345: Add a read-only test to tdb torture tester.Tim Potter1-0/+8
(This used to be commit 370e5b0f8aca6972888f42b5d4a06f7895cb9858)
2007-10-10r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMBJelmer Vernooij2-2/+2
(This used to be commit 4ec89bce8715f35f21fe05bb738dae13fc6c3066)
2007-10-10r15328: Move some functions around, remove dependencies.Jelmer Vernooij2-2/+2
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 c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10r15300: Only enable SWIG shared libs if python is availableJelmer Vernooij1-0/+2
(This used to be commit d9f1c19f58578f97e7a20a54c474abfe6525849f)
2007-10-10r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacementJelmer Vernooij2-5/+5
for REQUIRED_SUBSYSTEMS. (This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10r15191: Avoid uint_t as it's not standard.Jelmer Vernooij1-1/+2
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
2007-10-10r15187: Introduce new param type P_BYTES. This lets config options which specifyJames Peach1-1/+2
byte counts be given in convenient units. (This used to be commit 1b8891a2f389c1016c3cfcbe635ed86d015554d8)
2007-10-10r15077: map SID_BUILTIN_USERSStefan Metzmacher1-0/+1
metze (This used to be commit e896c32614fd4fd80a124ccfe49332e319f717f9)
2007-10-10r14968: Move tdb and ldb swig wrappers in to lib/tdb and lib/ldb directories.Tim Potter5-645/+1
(This used to be commit fa8d0dc14a1af9567401d54a803b34a6498b7cd4)
2007-10-10r14915: Work in progress - getting ldb_add() working.Tim Potter2-8/+38
(This used to be commit d50661ed4ef3f6c96811649a1acbe5d702e80654)
2007-10-10r14906: Move SWIG-specific files to scripting/swig/Jelmer Vernooij2-8/+6
(This used to be commit 222723e4434b85748aa82f192c5c4ce136933ce3)
2007-10-10r14901: More work on ldb swig interface. Wrap some more functions.Tim Potter2-9/+97
(This used to be commit 5b722fcd4b1e194532a86bed84d11d778ae16fcc)
2007-10-10r14897: Do more error checking of tdb function returns and raise IOError orTim Potter1-6/+14
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 a40d6c792257315d1eac955718db5ec1df7e07bb)
2007-10-10r14881: Unpack ldb_message_element and ldb_val arrays. Python can now accessTim Potter1-26/+41
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 9327fd07d67da1845a60ccf2b7d1d43e9aed0d68)
2007-10-10r14880: Doc.Tim Potter1-1/+1
(This used to be commit 73b233ee1b7e25ec74c1764804690c6faab75fd0)
2007-10-10r14879: Fix bug unpacking ldb_messages.Tim Potter1-1/+12
Start decoding more of ldb_message and ldb_message_result. (This used to be commit 60f7f14baa7ff212138ac2349b94d56918566f73)
2007-10-10r14878: Write swig wrappers for ldb_init() and ldb_connect().Tim Potter3-11/+80
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 704787978aa705edba233249e8eab236ffe303a4)
2007-10-10r14875: Make better use of the build systemJelmer Vernooij1-26/+15
(This used to be commit 12429bb66f0f038f1a02932c012c9e9caae6d38c)
2007-10-10r14873: Add skeleton swig ldb interface.Tim Potter2-0/+34
(This used to be commit c6c759e19f7fb9232d9c97b66d140c1bb0876dff)
2007-10-10r14871: We don't need to import UserDict anymore.Tim Potter1-1/+1
(This used to be commit c60a2335383eb277a82dbe073ce9b58f8abf0241)
2007-10-10r14870: Update to link with dynamic instead of static objects.Tim Potter1-7/+10
(This used to be commit 20d68c60b7b7dce1f4f82cb6d3af9431a0660854)
2007-10-10r14860: create libcli/security/security.hStefan Metzmacher1-1/+1
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10r14854: Finish off swig wrapper and torture tests for tdb.Tim Potter2-11/+149
(This used to be commit 1c4042e23f3e99f95133313607e2c2904503cf74)
2007-10-10r14804: Start writing a more Pythonic tdb module.Tim Potter2-7/+48
(This used to be commit 4c9af9c1495e0582de8353709d7b79b731a7fc75)
2007-10-10r14801: Move swig testing makefile fragment into swig's config.mk and out ofTim Potter1-0/+5
main.mk (This used to be commit 3721072fc531df2ffdc9ae323aa2e4e3d0fc58b7)
2007-10-10r14798: Get swig building again (by commenting out dcerpc stuff for now).Tim Potter2-4/+15
Add the start of a test framework for swigged functionality. (This used to be commit 3dfd0959f78518c021417f3f1158c51d70a1e88c)
2007-10-10r14603: Fix building of ejs modules as shared libsJelmer Vernooij3-4/+14
Fix calling of ejs_exception() without requiring --export-dynamic (This used to be commit 8575e9a4903450aae1f29f55aae516085a9528bb)
2007-10-10r14594: Fix some dependencies (required for shared library build)Jelmer Vernooij1-1/+0
(This used to be commit 06f7a8c692a645830eb3dd9abad8556c66bba747)
2007-10-10r14572: Give libraries saner names, remove some .pc files, make some thingsJelmer Vernooij2-4/+4
subsystems in case a library doesn't make sense. (This used to be commit ed382873fd01457a53e0a1e1f5ba6753dfbc0646)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij4-0/+6
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14500: Make some more functions publicJelmer Vernooij1-1/+1
(This used to be commit 867fc489228a827fae08de3969e0db2a22192609)
2007-10-10r14497: Fix build with shared librariesJelmer Vernooij1-1/+1
(This used to be commit c74fc55831ca24819ae7f5e0920d0351e2b46a08)
2007-10-10r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.Jelmer Vernooij1-1/+0
(This used to be commit 9c37f847d32d2f327a88c53a90af0c73126b76be)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij4-4/+5
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14381: Kill structs.hJelmer Vernooij1-1/+1
(This used to be commit 1ffb82a7596f989c90df69573083a2c2e28f8808)