summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2054: Fix compile warnings/build failures on non-gcc.Andrew Bartlett1-1/+2
Andrew Bartlett (This used to be commit 2cbbf123d26081687a15eb7b82738e8187153ba4)
2007-10-10r2053: All RPC sessions 'want' a session key. Of course, the key theyAndrew Bartlett1-0/+3
currently get it bougs, but anyway... Andrew Bartlett (This used to be commit 46864dd9d778c008c2f1a3a6701360d4ca64a664)
2007-10-10r2052: rewrote the talloc section of the programming guideAndrew Tridgell1-29/+88
(This used to be commit 7d3effccb235e6f7a342c295f70e83362fb19a27)
2007-10-10r2051: switched the samdb over to using the new destructor and referenceAndrew Tridgell7-195/+80
count features of talloc, instead of re-implementing both those features inside of samdb (which is what we did before). This makes samdb considerably simpler, and also fixes some bugs, as I found some error paths that didn't call samdb_close(). Those are now handled by the fact that a talloc_free() will auto-close and destroy the samdb context, using a destructor. (This used to be commit da60987a92266734c33b81ee217081abdc4330f3)
2007-10-10r2050: fixed a case where code assumed you could Realloc the result of a ↵Andrew Tridgell1-2/+2
data_blob() (This used to be commit 1fdccf8dc79ea19a37be7fb047130a7c8e2407e5)
2007-10-10r2049: talloc now has destructors and reference countsAndrew Tridgell1-56/+75
this means you can do: talloc_set_destructor(ptr, my_destructor); and your destructor will be called with the pointer as an argument when the pointer is about to be freed. The destructor can refuse the free by returning -1. You can also increase the reference count on a pointer like this: talloc_increase_ref_count(ptr); and a talloc_free() will just reduce the reference count, only actually freeing the memory when the count reaches zero. (This used to be commit b5608d52d33a1d8be5a8a6751bc6cec162c7ed92)
2007-10-10r2048: fix memory leak found by abartletStefan Metzmacher1-1/+0
metze (This used to be commit 0cab7a32f82fa10fea92bb86a1ffd5017f85e887)
2007-10-10r2047: Warn on 'declaration after statement' (breaks non-gcc).Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit ce96816d0eeb0b71efd15c77d10ec76303a0abb8)
2007-10-10r2046: fixed two server packet format errors found with the RAW-* testsAndrew Tridgell1-4/+3
(This used to be commit 9fdbe60230741e11478871072a40c8bc8124b5ea)
2007-10-10r2045: fixed a date format push in SMBsearchAndrew Tridgell1-1/+1
(This used to be commit a6cc0bedad98e7b9bbc27d9f31c21d5eba77146f)
2007-10-10r2044: fixed two uninAndrew Tridgell1-0/+2
(This used to be commit d17e088ebbf1fd0dd2ef2d73115c7f458677d02f)
2007-10-10r2043: data_blob() now returns a talloc'd pointer. If everyone has beenAndrew Tridgell1-40/+10
following the data_blob() API properly then this will cause no problems. I'm expecting chaos. this is part of the general move towards using talloc for everything in samba4 (This used to be commit 3f6b3c21e4d538aeb30b7906a75995b8f4c11223)
2007-10-10r2042: missed a couple of places that should be talloc_free()Andrew Tridgell1-2/+2
(This used to be commit e1575a72a10252fdb88778f14bf3c44a65d72c5e)
2007-10-10r2041: Fix NTLMSSP RPC sealing, client -> win2k3 server.Andrew Bartlett13-44/+126
The bug (found by tridge) is that Win2k3 is being tighter about the NTLMSSP flags. If we don't negotiate sealing, we can't use it. We now have a way to indicate to the GENSEC implementation mechanisms what things we want for a connection. Andrew Bartlett (This used to be commit 86f61568ea44c5719f9b583beeeefb12e0c26f4c)
2007-10-10r2040: fixed a memory handling error in clisocket (caught with valgrind)Andrew Tridgell1-2/+2
(This used to be commit f6dc62bf119c294db060b0870b6ca80bc28bd4a5)
2007-10-10r2039: got rid of the free() ptr in DATA_BLOBAndrew Tridgell2-18/+2
I plan on replacing the concept by adding a generic destructor in all talloc ptrs, so you can do: talloc_set_destructor(ptr, my_destructor); to setup a function that will be called on free. (This used to be commit 957b260621c091830c01e9e8c370c199350342ec)
2007-10-10r2038: get rid of the optimisation in the dcerpc server that tries to avoid aAndrew Tridgell1-26/+0
data copy by playing internal games with DATA_BLOB and free(). (This used to be commit 5894b5c0f32f75734151c6c915b296204b7825ac)
2007-10-10r2037: switched the asn.1 code to use tallocAndrew Tridgell1-20/+16
(This used to be commit c0862278cab106a441d1049c1da945fa11353f9f)
2007-10-10r2036: switched the spnego code to use tallocAndrew Tridgell1-5/+5
now that talloc_free() doesn't need to take a context ptr, there is no reason we can't use talloc everywhere that we currently use malloc(). (This used to be commit a2ad77fb3ac9638c5ef52494bf62083ec594b9f5)
2007-10-10r2035: Fix spelling.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 4e2c5a5fb3e428ffcdeef3b95fab644a420cc20c)
2007-10-10r2034: Allow user-selectable hash functions on open only.Jeremy Allison3-17/+22
Jeremy. (This used to be commit b43320ee5c9ac14c330e61ae62e0786b088e04fa)
2007-10-10r2031: add a check for a blank secret return in lsa secret testsAndrew Tridgell1-8/+13
(This used to be commit eddb31d19654853189d1c3c52105a6240d100456)
2007-10-10r2030: quick hack to allow the simple NTVFS backend to handler base ↵Andrew Tridgell1-1/+1
directories with mixed case names (This used to be commit efecc3306efb17f586b781112886d9416b355d65)
2007-10-10r2029: changed our client side dcerpc padding to match what w2k3 does - a 16Andrew Tridgell1-2/+4
byte padding of the payload portion of the packet. (This used to be commit 271831f97f3952838557bf5034c1e435b33cb14a)
2007-10-10r2021: add password change fallback to SetUserInfo level 25,24,23Stefan Metzmacher1-0/+130
metze (This used to be commit d31405ff2f379e9627cc9ee3acaf61e2ccc0f6e4)
2007-10-10r2020: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit 17268837d21c2199b87bd78c1f62b49a37b86df8)
2007-10-10r2019: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit 699248fe821ffb738065002b5fef67cd59ca37f6)
2007-10-10r2017: fix compiler warningsStefan Metzmacher2-5/+5
metze (This used to be commit eb75d9323fb07fe9a19bbf77168aeb8a4b92c3b8)
2007-10-10r2012: --enable-developer also sets debug=yes nowStefan Metzmacher1-3/+9
and we how set the CFLAGS="-g -Wall" and the rest only if the compiler supports it. CFLAGS is now not empty when we call PROG_CC so there won't be a "-O2" in the final CFLAGS metze (This used to be commit 479f68169466532c7903ced06907288baa1ed8e5)
2007-10-10r2011: remove this broken and never reached testStefan Metzmacher1-7/+1
as PROG_CC will set CFLAGS to the default ones normaly "-g -O2" metze (This used to be commit 424af1a9df7e67aa2194b2542794ed4589e57dbf)
2007-10-10r2010: trigger the config.smb_build.dump output by --enable-*developer not ↵Stefan Metzmacher1-1/+1
--enable-debug metze (This used to be commit ffbfc410336cdf44459de5b387dd1a03b122535e)
2007-10-10r2005: fix compiler warningsStefan Metzmacher1-1/+1
metze (This used to be commit 71992c90cc35179ea8783d770c89b16618e1adc6)
2007-10-10r2004: remove unused fileStefan Metzmacher1-121/+0
metze (This used to be commit 46d5ce350aeae352a9a14b14b968c299f11272f2)
2007-10-10r2003: got rid of next_token_nr(), which involved some horrible globalsAndrew Tridgell5-123/+103
and nasy pointer tricks. this involved fixing some of the internals of smbclient (This used to be commit 126fec6169f9412932c82e7675840476132bce87)
2007-10-10r2000: remove unused varStefan Metzmacher1-1/+0
metze (This used to be commit 5d5b65173949e51c88c5e9ef8768d4e1c14be17c)
2007-10-10r1999: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 8c9c702bc3328c3826985711c4a30b878cf8b02e)
2007-10-10r1998: fix compiler warningStefan Metzmacher1-2/+1
metze (This used to be commit bf06f476dbdfbcb38ccbd8606e622097015c2b3d)
2007-10-10r1997: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit eb9de893b8b93857c648f4df907aac9e9cb199dc)
2007-10-10r1996: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit dd8d68f3ecb78a2acdec74aa14e1922ad29cabf7)
2007-10-10r1995: a ndrdump file from abartlet make it clear that this isn't a pointerStefan Metzmacher2-4/+3
to a uint32, there're two uint32 with 0x00000000 metze (This used to be commit 80f27766cb6d2c4e00232f7e3d5cde75ad84d094)
2007-10-10r1994: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit a3a4b9c9ea2692b3ca85d9a4a094e36609831f19)
2007-10-10r1993: Allow WinXP domain logon to progress a bit further (it seems broken ↵Andrew Bartlett3-12/+16
for me). Fix indent, and add a few more useful debug messages. Send a fault, if the bind is not accepted - don't just leave the client hanging. Andrew Bartlett (This used to be commit 486215edc1148ad754632be37760dc0d38b0340d)
2007-10-10r1992: Make the NTLMSSP torture test show more detail, and return failure etc.Andrew Bartlett1-4/+22
Andrew Bartlett (This used to be commit a8e76085a7414068aa96b6544b28afc1e1e1010c)
2007-10-10r1991: After finding a talloc inconsistancy is a very good time to smb_panic(),Andrew Bartlett1-2/+12
it can only indicate programmer error, and doing a smb_panic() ensures an automatic backtrace (and eventually an abort()). Andrew Bartlett (This used to be commit b2d93d0010d80f158760f53273853de2439c3062)
2007-10-10r1990: Fix breakage caused by the recent talloc changes. (Failure to processAndrew Bartlett3-6/+6
an SPNEGO login from WinXP at least). talloc_asprintf_append() lost an argument, but because TALLOC_CTX is now a void*, this was not picked up by the compiler. I've tested the login (asn1), but not the registry/gtk changes. Andrew Bartlett (This used to be commit 4294be44057124568fe1d176702056bb62ad3214)
2007-10-10r1989: fixed a couple of bugs in code that assumes sizeof(time_t) == sizeof(int)Andrew Tridgell1-2/+6
(This used to be commit cc3d420c33152c8e9026dc39a7322d11edb3c774)
2007-10-10r1988: Let Samba use all POSIX features available on VOS.Paul Green1-2/+2
paulg (This used to be commit a489ea5ebec852c33c4d659893144b0577ee8af1)
2007-10-10r1986: Janitor for myself. Merge -r1907:1908 from SAMBA_3_0 branch.Tim Potter1-1/+1
(This used to be commit 99f7feec0ab545271f49ea3ab811eb3022aa03db)
2007-10-10r1985: take advantage of the new talloc in a few more placesAndrew Tridgell14-155/+148
(This used to be commit 6ffdfd779936ce8c5ca49c5f444e8da2bbeee0a8)
2007-10-10r1984: this change is what you should read to understand the new talloc()Andrew Tridgell3-19/+5
It simplifies our structure handling a lot, making the code shorter and easier to understand. Look at the diff carefully and see if you can understand it. If you're still confused then please ask. (This used to be commit 03c341aca7f09cb1f0d33ec65e074e6a00caa30f)