summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2247: talloc_destroy -> talloc_freeTim Potter11-31/+31
(This used to be commit 6c1a72c5d667245b1eec94f58e68acd22dd720ce)
2007-10-10r2243: Include definition for PRINTF_ATTRIBUTE in Python tdb wrapper.Tim Potter1-0/+10
(This used to be commit 301bb069c31ee7ce09bdd6cd2dd4b7fa0441e1a1)
2007-10-10r2242: some older versions of gcc don't properly handle theAndrew Tridgell1-2/+3
PRINTF_ATTRIBUTE() format checking magic, so only enable it for gcc versions >= 3.0 (This used to be commit 9c7100e3c770fca163d3788fc6b735457f74d7e9)
2007-10-10r2238: the tdb_debug() function was totally bogus - remove it (you can'tAndrew Tridgell3-36/+23
convert a ... varargs function to a va_list by just a cast!!) also mark the tdb log function with PRINTF_ATTRIBUTE() and fixed some bad format errors in tdb.c that jim found. (This used to be commit c26c92eb8f538748fcbb2ae5a0a8a02bffbbbf86)
2007-10-10r2236: Zero request structure to let the REF_ALLOC flag work its magic.Tim Potter1-0/+21
Add argout typemap which throws an exception if NTSTATUS != OK and creates a dictionary of return values. samr_Connect2 function now works! (This used to be commit fdfabbd4a597b0d9b44832fdbfc200f857728c2b)
2007-10-10r2235: When creating exception data, use Py_BuildValue instead of doing itTim Potter1-6/+18
all by hand. Use $symname to name TALLOC_CTX's created in wrapper function. Also, make sure to free context afterwards. Set the DCERPC_NDR_REF_ALLOC flag in the dcerpc_pipe struct to save use lots of initialisation. (This used to be commit 5fead63618b5ee76cadc4719d933ea9cee7538b5)
2007-10-10r2234: Tridge, this is a patch to allow people to set the REF_ALLOC flag onTim Potter2-0/+7
a dcerpc_pipe structure as we discussed this morning. (This used to be commit 79969dc8daf5fdaacd26135a200ecec0b4d7663c)
2007-10-10r2230: Wrapper for dcerpc_samr_Connect2(). All this glue code should beTim Potter2-2/+39
automatically generated but at the moment it's hand coded. (This used to be commit e1a368050d3abb6a6ca6529315dc4228e8590c7f)
2007-10-10r2229: Have dcerpc_pipe_connect() throw an exception if non-zero NTSTATUS isTim Potter1-4/+22
returned from the C function. This way we can return the struct dcerpc_pipe object instead of a tuple of (NTSTATUS, dcerpc_pipe) which is a bad interface. (This used to be commit a3a85bd419e38f0dce138e67174517e23a361010)
2007-10-10r2228: Finally commit bits of old workareas together to get dcerpc pythonTim Potter4-7/+132
bindings happening. This commit lets python call dcerpc_pipe_connect() and open the samr pipe. (This used to be commit f5852bf3e2064f03aa9b63af4aa1b4f9e39bdb24)
2007-10-10r2227: Get rid of annoying compiler warning.Tim Potter1-0/+8
(This used to be commit 64f961f039545c9948eb7d7652b7494be2443174)
2007-10-10r2226: A bunch of fixes to get python tdb module building again. I'm notTim Potter2-15/+13
sure how this can be integrated into the build system properly though. Editing makefile.pl is the wrong way to do this. (This used to be commit e6a42f7880993271f2610584182f7d47538b6747)
2007-10-10r2223: Include autogenerated header file for idl file we are processing withTim Potter1-0/+1
--eparser. (This used to be commit 68b10c4aeebc4aa1225aab3c8a9fc0a4d28d6455)
2007-10-10r2222: Generate correct function prototypes for unions marked as public.Tim Potter1-1/+1
(This used to be commit 04de3edbab106eec040c442eedb5bb3cfcfec778)
2007-10-10r2221: Experiment with extra properties for telling the ethereal parser whatTim Potter1-7/+13
to do. There is a patch to the grammar and idl files for this but I won't commit that just yet. (This used to be commit 4e155b966c6027daa34166c7daf30cbff96ff679)
2007-10-10r2220: Updates to the NETLOGON torture test. This copes with 'long'Andrew Bartlett1-125/+146
passwords - where the LM hash is invalid. Also, we now drive all the logon levels and validation levels from the outer loop, so we can check the expected return values (rather than overwriting them). Andrew Bartlett (This used to be commit f7f7c3de23ffb042f7cf7b4fa42b6b18c205719d)
2007-10-10r2217: Ad-hoc tests to allow me to work out the correct error codeJeremy Allison1-2/+128
for the bad path algorithm. Jeremy. (This used to be commit d2d32d8f2b7a4a3e62f505adae787b42f80309bb)
2007-10-10r2212: Optimisation. Passes masktest against W2K3.Jeremy Allison1-0/+3
Jeremy. (This used to be commit fb7a529c4c65788c307c1043cf2b664059ed8c2a)
2007-10-10r2209: patch from volker to add EnumPorts spoolss IDL and test codeAndrew Tridgell3-0/+109
the ndr->offset=0; stuff is ugly. We need a better way to handle this. (This used to be commit e909bfa708aeceeaa37faa6f6dff0274f8ac7920)
2007-10-10r2208: little attempt to (almost) fix spoolss relativeVolker Lendecke1-1/+1
(This used to be commit ef5414676ea07004aaa78d5f4c1746b3c8669d16)
2007-10-10r2207: this bug caued valgrind to consume infinite memory till the kernel ↵Andrew Tridgell1-0/+1
killed it :( (This used to be commit 60a88595e23eb2953edfacf9dfc9fe3f08ec5eeb)
2007-10-10r2206: another (untested) attempt to make RELATIVE_CURRENT work for volker,Andrew Tridgell1-40/+6
plus removed unused ndr_pull_relative() function once volker commits a test for this I'll be able to ensure it really works as expected (This used to be commit 8ffe136ad2be52f3504d73ead0785c9c5f5d8770)
2007-10-10r2205: fixed an incorrect cast that broke relative strings in spoolssAndrew Tridgell1-1/+1
(This used to be commit d2d3433de1c1e1bc757381e9736147cc24fe8cf0)
2007-10-10r2204: added [flag(RELATIVE_CURRENT)] to change [relative] pointer behaviourAndrew Tridgell3-6/+16
for this struct and all sub-structures to be like spoolss relative pointers (where offset is relative to current position). volker will test this for me :) (This used to be commit bd45329a3fb55a5d9f006ad601ae26a80b9a563f)
2007-10-10r2203: delete the key after testing, so as not to clutter the server with ↵Andrew Tridgell1-0/+2
random keys (This used to be commit d98ed1fbe52b547c461f1b6a859504e96e0e3ee7)
2007-10-10r2202: don't close the smb pipe after the puzzle testAndrew Tridgell1-2/+0
(This used to be commit 591ee2308c95982caf5453d35ebf6530208037fd)
2007-10-10r2201: removed an exit I accidentially left inAndrew Tridgell1-1/+0
(This used to be commit e1d13631f0163b69401a07c51e449ea1e32239bf)
2007-10-10r2200: solved another piece of the lsakey puzzle - the session key for lsaAndrew Tridgell3-10/+164
encryption on ncacn_ip_tcp is a fixed buffer! I don't yet know what the buffer is, but this code proves its the same buffer for different w2k3 servers and different user passwords, plus it is independent of the negotiated NTLMSSP session key. (This used to be commit 05fd38f3cfd9476bc1cf7fed838a942a75569c0a)
2007-10-10r2199: the unknown 16 bit number in lsa_LookupPrivDisplayName() is a languageAndrew Tridgell2-4/+12
ID, so the client can choose what language they get the privilege description in. this is the first time I've seen a language ID on the wire in CIFS. (This used to be commit e99d88915fbfcfb50b04330cd1a32b90222fbca3)
2007-10-10r2192: removed an erroneous free() call on an error pathAndrew Tridgell1-1/+0
(This used to be commit c80d686f59a8b6c53305af1233137c22a26f6750)
2007-10-10r2186: setting [ref] output pointers in dcerpc calls is pointless. Removed itAndrew Tridgell1-4/+0
for test_LookupPrivDisplayName (This used to be commit 2d8f4005926e15dcb56a6501091a56475a99712d)
2007-10-10r2185: add a callback function to the dcerpc async APIAndrew Tridgell3-4/+45
also add a demonstration of its use in the netlogon async example (This used to be commit f2a0438c66b999189c1a2ad726e91efd0748eb90)
2007-10-10r2184: use the smb.conf socket options for client code tooAndrew Tridgell2-0/+3
(This used to be commit 7256945b526a1ee68d18eb579e592f7389740c22)
2007-10-10r2183: Tidy up naming of ethereal fields. The field names are taken from theTim Potter1-9/+20
structure elements with underscores replaced with spaces and words capitalised. Fix small buglet where we confuse the name of the interface with the name of the idl file. Just discovered security descriptors don't display property anymore. )-: (This used to be commit a6f830cfecee9ec256924aa9df0cb1503b2072ab)
2007-10-10r2182: force the torture test domain join to happen on SMB to prevent theAndrew Tridgell2-6/+39
LSAKEY problem holding up other tests (This used to be commit ad8d54fd7dd93cb984d23acecfc1c611b63a5d58)
2007-10-10r2181: an rpc async test on the netlogon pipeAndrew Tridgell1-0/+71
(This used to be commit 4c370c3c917f399497f936a2037ea2868b2196d2)
2007-10-10r2180: added RPC flags "padcheck" which enables checking of all received padAndrew Tridgell5-16/+70
bytes to make sure they are zero. Non-zero values usually indicate one of two things: - the server is leaking data through sending uninitialised memory - we have mistaken a real field in the IDL for padding to differentiate between the two you really need to run with "print,padcheck" and look carefully at whether the non-zero pad bytes are random or appear to be deliberate. (This used to be commit 7fdb778f81f14aaab75ab204431e4342a462957a)
2007-10-10r2179: two more lsa torture tests from Richard Renard. Thanks!Andrew Tridgell1-1/+70
(This used to be commit 25f85efd75bd54ff142027a8741edaa94725ca9a)
2007-10-10r2173: Fix asn1 BOOLEANs. Thanks to Love Hornquist-Astrand.Volker Lendecke2-15/+6
Volker (This used to be commit 53f58c053b643c8b45d2f9394faf8cfdd5005f6d)
2007-10-10r2170: if we don't have a native iconv library then we can't build this testAndrew Tridgell1-1/+10
(This used to be commit 5cf9333f6021479d62cc99475f4fb9a19588f928)
2007-10-10r2169: switch core iconv code to use tallocAndrew Tridgell1-10/+9
(This used to be commit 117796c19ba9615113ae549068fd0b5ad5d3aa97)
2007-10-10r2168: Move these files into a separate ethereal-pidl-plugin svn repository.Tim Potter2-738/+0
Not only will this allow the plugin to be built easily, but will also get rid of the duplicate function names that muck up etags. (This used to be commit 604fc603daf27ed02b5992c7ce2da10133bce649)
2007-10-10r2167: Implement some stubbed out functions.Tim Potter1-59/+46
(This used to be commit ed48d13e4dc346a8af1e8aeaa7387122cc8d89d2)
2007-10-10r2166: sync the asn1 stuff with trunkStefan Metzmacher1-4/+40
metze (This used to be commit 46762c9ee011e5c37f3d94a1b80ed7d679c55434)
2007-10-10r2165: generalise the charset torture test to add testing of CP850Andrew Tridgell1-30/+39
potentially we can test any charset (This used to be commit e754d0cbcab7cb5a65322e5bbbd1d2a8bcdf5375)
2007-10-10r2164: put the latest "accept either form" utf-16 iconv code in samba4Andrew Tridgell1-6/+16
(This used to be commit 62a0cfd865d6ad4c05e2461dbf0b81988683a219)
2007-10-10r2159: converted samba4 over to UTF-16.Andrew Tridgell13-97/+541
I had previously thought this was unnecessary, as windows doesn't use standards compliant UTF-16, and for filesystem operations treats bytes as UCS-2, but Bjoern Jacke has pointed out to me that this means we don't correctly store extended UTF-16 characters as UTF-8 on disk. This can be seen with (for example) the gothic characters with codepoints above 64k. This commit also adds a LOCAL-ICONV torture test that tests the first 1 million codepoints against the system iconv library, and tests 5 million random UTF-16LE buffers for identical error handling to the system iconv library. the lib/iconv.c changes need backporting to samba3 (This used to be commit 756f28ac95feaa84b42402723d5f7286865c78db)
2007-10-10r2158: removed a misleading comment (the extra uint16 is just padding)Andrew Tridgell1-4/+0
(This used to be commit 9e120bff7af076bbc541a88cefb3ba400fb91caa)
2007-10-10r2154: Merge of Jim's format string fixup in r2130:2131Tim Potter1-1/+1
(This used to be commit 17a53eaac2d0d76413c8bb27a6f1c80536ccf3a7)
2007-10-10r2151: Added some more ad-hoc tests. Found bugs in Samba3 with these :-).Jeremy Allison1-0/+78
Jeremy. (This used to be commit fe6506e190ed5e1987894d43caa51b33d80d5193)