summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* r3016: - converted the events code to tallocAndrew Tridgell2007-10-1015-43/+583
| | | | | | | | | - added the new messaging system, based on unix domain sockets. It gets over 10k messages/second on my laptop without any socket cacheing, which is better than I expected. - added a LOCAL-MESSAGING torture test (This used to be commit 3af06478da7ab34a272226d8d9ac87e0a4940cfb)
* r3015: fixed typo noticed by abartlettAndrew Tridgell2007-10-101-3/+4
| | | | (This used to be commit b367209a9f94e471efed233639467babbb2b99d7)
* r3014: got rid of the old intra-smbd messaging system in preparation for the ↵Andrew Tridgell2007-10-105-703/+0
| | | | | | new one (This used to be commit 283e38aeb210e048302dc2759a75879cfc81eeb5)
* r3013: added support for unix domain sockets in the generic socket library. IAndrew Tridgell2007-10-105-1/+334
| | | | | | | will shortly be using this for a rewrite of the intra-smbd messaging library, which is needed to get lock timeouts working properly (and share modes, oplocks etc) (This used to be commit 6f4926d846965a901e40d24546eab356c4a537c7)
* r3012: added initial support for byte range locking in the posix vfs. This isAndrew Tridgell2007-10-1016-31/+671
| | | | | | enough for us to pass locktest, but does not yet support lock timeouts and some of the other esoteric features. (This used to be commit 58a92abd88f190bc60894a68e0528e95ae33fe39)
* r3011: separated the locktest code into a separate module in smbtortureAndrew Tridgell2007-10-103-899/+927
| | | | (This used to be commit f4a91be63502c0bb32c52c0558dfc7d4d0a21fae)
* r3010: Do some more PyInt vs PyLong checks.Tim Potter2007-10-101-3/+2
| | | | (This used to be commit b19dc6cd9c1ac44d970b092f09cf96c737a90fdd)
* r3009: Fix up unmarshall functions to return Python dict instead of a NTSTATUS.Tim Potter2007-10-102-20/+15
| | | | | We can now unmarshall a single printer returned from an EnumPrinters. (This used to be commit 89da7a9196d40699881f12c9a5fe62301aafd4cf)
* r3007: uint32 values need to be stored in Python longs, as on 32-bit machinesTim Potter2007-10-101-1/+5
| | | | | Python ints can only hold int32 values. (This used to be commit 7c5ada63bf5d876a1b67df2cf7bd44942e4b0a98)
* r3006: PoptifyJelmer Vernooij2007-10-101-16/+26
| | | | (This used to be commit 5c46747c36aa09289c6b2df3927833aec78059fd)
* r3005: added talloc wrappers around tdb_open() and ldb_connect(), so that theAndrew Tridgell2007-10-1014-207/+312
| | | | | | | | | | | | | | | caller doesn't have to worry about the constraint of only opening a database a single time in a process. These wrappers will ensure that only a single open is done, and will auto-close when the last instance is gone. When you are finished with a database pointer, use talloc_free() to close it. note that this code does not take account of the threads process model, and does not yet take account of symlinks or hard links to tdb files. (This used to be commit 04e1171996612ddb15f84134cadded68f0d173b2)
* r3004: removed some unused functionsAndrew Tridgell2007-10-103-297/+0
| | | | (This used to be commit 247421ee648d1935b68a47195fe1709bb861a7d5)
* r3001: Expose unmarshalling functions for structures marked "public" in theTim Potter2007-10-103-11/+40
| | | | | | | idl. This allows us to pass a buffer of bytes returned from a spoolss call and convert it to a Python dictionary. Works for enumprinters level 1! (This used to be commit 4bc497a2994b12845a46b2d19f60bb81c9869fc9)
* r2997: Added delete on close tests for readonly files.Jeremy Allison2007-10-101-0/+58
| | | | | Jeremy. (This used to be commit 93efa870400a3f69700e69d30319ffbdbdf94820)
* r2994: More cleanups. Move the generation of NTSTATUS and WERROR exceptionsTim Potter2007-10-102-34/+19
| | | | | | | from inside a swig %exception block and into the argout typemap. This will allow us to wrap functions that don't require exception handling, and also get rid of some ugly code in dcerpc.i (This used to be commit 558076cc8ddbdb563869f7d35150310217f30c31)
* r2993: fix commentStefan Metzmacher2007-10-101-1/+0
| | | | | metze (This used to be commit 23a2c5c1586e5ea0261bc84571486658a262740c)
* r2992: drsuapi uses WERROR not NTSTATUSStefan Metzmacher2007-10-105-96/+201
| | | | | metze (This used to be commit 757f67c08b0b1309d8a0b900539111c7bc430b0e)
* r2991: add drsuapi_DsGetDomainControllerInfo() idl and torture testStefan Metzmacher2007-10-103-6/+161
| | | | | metze (This used to be commit 98ca7640c59aa8694abde03f5661b8908cf088bb)
* r2990: Add support to pidl for autogenerating ndr_size_*() functions. AddingJelmer Vernooij2007-10-105-55/+148
| | | | | | | | | | | | | the [gensize] property to a struct or union will make pidl generate a ndr_size_*() function. (not all nasty bits of NDR are completely covered yet by the ndr_size*() functions, support for those will be added when necessary) I also have a local patch (not applied now) that simplifies the pidl output and eliminates the number of functions required. It would, however, make pidl more complex. (This used to be commit 7c823f886afd0c4c6ee838f17882ca0658417011)
* r2989: fix the printing of unions with negative cases when :print is usedAndrew Tridgell2007-10-101-2/+2
| | | | (This used to be commit d8152f896119418d95d7697cc2ca23f5319c32a9)
* r2988: this should fix support for negative switch levels in PIDLAndrew Tridgell2007-10-101-3/+3
| | | | (This used to be commit 21ed51d47f7efd493ad64b564fb6362ef8fb067f)
* r2987: added support for signed 32 bit integers in pidlAndrew Tridgell2007-10-102-0/+32
| | | | (This used to be commit 24122eb93e39de8db3675618b6c227c95eb58d9c)
* r2986: Add correct value to dict when generating wrapper for functions thatTim Potter2007-10-103-6/+27
| | | | | | | return WERROR values. Clean up WERROR vs NTSTATUS handling a bit. (This used to be commit e6756e3ee0af3e7e98f6deaf9dc83af9aac1b586)
* r2985: got rid of the unused tdb_lockkeys() and tdb_unlockkeys() functionsAndrew Tridgell2007-10-102-74/+0
| | | | | | | they have been broken for 4 years (ever since they were added) and have been never used, which makes them prime candidates for destruction. (This used to be commit 0b53ab85aae4569c04495f07c18a65fd6b47bf4c)
* r2984: fixed the error code for a non-terminal component of a path name not ↵Andrew Tridgell2007-10-101-2/+1
| | | | | | existing (This used to be commit c6a922dbd844c69bbba83c259169655d17e9f87f)
* r2983: report a failure if a server doesn't update the write time at allAndrew Tridgell2007-10-101-1/+8
| | | | | after 2 minutes (This used to be commit b2298a1c5f0330a262ac855479060fd677fe8059)
* r2982: added a test that shows the amount of time a server takes to updateAndrew Tridgell2007-10-101-0/+84
| | | | | the write time on a file after a write. (This used to be commit efee3c90f90b1e9dd3351933d27fe8a085c3657f)
* r2981: Fix incorrect locks/unlocks in tdb_lockkeys()/tdb_unlockkeys().Jeremy Allison2007-10-101-3/+3
| | | | | | Spotted by Taj Khattra <taj.khattra@gmail.com>. Jeremy. (This used to be commit a7d92301bbf45cb9e475e4876fdbb37644ad5871)
* r2975: Try to emulate NT_STATUS_IS_ERR() functionality for WERRORs. ↵Tim Potter2007-10-101-2/+4
| | | | | | | Unfortunately this means enumerating all the ones we don't think are errors. (This used to be commit a079e044f0ef23c6c4307c9da35019ec3e8f1d2a)
* r2974: fix the buildStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 1bb71e7a8699bfd32d171a48c4c3b5f35faf3e51)
* r2973: Allow comma's inside parentheses in property argumentsJelmer Vernooij2007-10-102-234/+283
| | | | (This used to be commit ab2a788fe75ddaf8ff493477f2006a03959e6ab5)
* r2972: make names more consistentStefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit 7aa91db53ed5811f0900dd61d63d15e71255285e)
* r2971: fix DsBind idlStefan Metzmacher2007-10-102-4/+4
| | | | | metze (This used to be commit 9e50b3214b9de84811640296c19d6068936dfd54)
* r2970: - give somefields names and typdef enums for the possible valuesStefan Metzmacher2007-10-105-78/+330
| | | | | | | | | - do more crackname tests in the torture test - move server code for cracknames to a different file metze (This used to be commit 18050ea6037b3c0c7cfe975eb9c872368b9e3328)
* r2969: inet_ntoa() takes an address in network byte order, so now that weAndrew Tridgell2007-10-101-1/+1
| | | | | | parse the RHS as IDL, we need to use htonl() to convert back to network byte order before we can display the IP (This used to be commit 45508b85dabf8aa66bff9aeebf99c1faf3d475ec)
* r2968: fixed the byte order problem with the new RHS parsing on ncacn_ip_tcpAndrew Tridgell2007-10-104-2/+14
| | | | (This used to be commit cc00f9b6b87783d189df00de0ce9ae92b907e21a)
* r2967: Add some printer enum constants from Samba3's rpc_spoolss.hTim Potter2007-10-101-0/+9
| | | | (This used to be commit 7983a99479164d04281dd6c34d63733afa3c3612)
* r2966: Handle conversion of DATA_BLOB fields from Python in a slightly nicerTim Potter2007-10-102-10/+15
| | | | | | manner. I'm hoping to get rid of DATA_BLOB's but for the moment they make it easy to get some spoolss action happening quickly. (This used to be commit 15f8f73f8bfec099973fb8bf167020ae50346cf6)
* r2965: Ignore *.pyc files in torture directory.Tim Potter2007-10-102-3/+41
| | | | | | | | Allow test module name to be specified on command line for pytorture module. Start spoolss torture test. (This used to be commit 44bab84f765f6a4d37733a353fc6b74b09c1b39a)
* r2964: Add spoolss to list of wrapped client functions.Tim Potter2007-10-102-1/+2
| | | | (This used to be commit 96d31ff19d2fa5b0c5a0ee23000a97cb77637968)
* r2963: Handle structures that contain more than one union as members.Tim Potter2007-10-101-2/+2
| | | | (This used to be commit 6a47a079c003c2a139665ad2b5ede5d139049bd1)
* r2962: Tweak to get conversion function for pointers to union compiling again.Tim Potter2007-10-101-1/+1
| | | | (This used to be commit 8c9c94d578651c5884db0aa0feb6e16858274fbb)
* r2961: fixed a silly typoAndrew Tridgell2007-10-101-2/+2
| | | | (This used to be commit f76a1cf640a909aa2a4e26e65f59020f9ab575f4)
* r2960: during a lunchtime discussion I found out that all powerpc processorsAndrew Tridgell2007-10-101-2/+47
| | | | | | | | can correctly (and quickly!) handle unaligned little endian memory accesses, just like i386. This should reduce code size and speeds things up quite a lot on ppc, at the expense of some inline asm code (whcih means it only works with gcc) (This used to be commit 2a0c427c2bf2f8b0739f12c78151b819388c44d4)
* r2958: the warnings from the swig code in pidl were totally swamping validAndrew Tridgell2007-10-102-15/+17
| | | | | | | | warnings, making real errors impossible to spot. this fixes the warnings, and probably fixes some pidl/python bugs as well. (This used to be commit 2f1e9954e3381b1864a6fd9fa8b2231478179d4d)
* r2956: Fix towers_length for now. I'm currently working on a pidl extensionJelmer Vernooij2007-10-102-1/+53
| | | | | that can generate these kinds of functions (This used to be commit ebca2516502560edfd4056fbb4cfc9718a108efa)
* r2954: add server cracknames code:Stefan Metzmacher2007-10-101-1/+41
| | | | | | | - we currently only do it for our REALM metze (This used to be commit e2df8c4285d3430085594a3a3b5534c514acd1f9)
* r2953: add NTSTATUS_TALLOC_CHECK(x)Stefan Metzmacher2007-10-101-0/+4
| | | | | metze (This used to be commit a2cc9517208adedbcbed4b01d18a1478f75d70df)
* r2952: add idl and torture test for DsCrackNamesStefan Metzmacher2007-10-103-5/+81
| | | | | | | (I need to find out what the fields mean but it works) metze (This used to be commit eff51fc623f2e7b57e7e53eb81760684815db2f4)
* r2951: fixed the intptr_t test for discard_const()Andrew Tridgell2007-10-102-1/+5
| | | | (This used to be commit 3318cf2722597e57d1731152b2607f6b167e45b9)