summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-12-10dbwrap_rbtVolker Lendecke3-2/+388
This is meant as a replacement for the internal tdb. To me it seems a bit silly that for in-memory structures we do our own memory management. With this rbt based approach we can make use of the system-supplied malloc. (This used to be commit 54e5d4404619443caed32e2acff8921cdbff9ed1)
2007-12-10Make the Linux rbtrees compile within SambaVolker Lendecke3-59/+55
(This used to be commit c871fd802f3c0c5ef1f63b2d01a636c885f22b23)
2007-12-10Add rbtree.[ch] from the Linux kernelVolker Lendecke2-0/+558
These are copies taken from 94545baded0bfbabdc30a3a4cb48b3db479dd6ef from Linus' kernel tree (This used to be commit 8a3289f913fc0432211b0e9937da1d71d4e18893)
2007-12-10Add db_tdb_fetchVolker Lendecke1-0/+27
(This used to be commit efa8764c21edfbd09f535900ba37359d72903bf8)
2007-12-10Add dbwrap bystring service routinesVolker Lendecke2-0/+47
(This used to be commit 1e214b536b0628db299d701839e62a4ac52727c9)
2007-12-10Correctly unbecome_root() on errorVolker Lendecke1-0/+2
(This used to be commit aec5f1512660953168a2c55b2890cd6c076b8a92)
2007-12-10Simplify add_session_userVolker Lendecke1-33/+25
(This used to be commit f98082ccf048a2de6fea8d922264879305b3d2c8)
2007-12-10Increase debug levelVolker Lendecke1-1/+1
(This used to be commit 4e6df5547167fc235971498cb296a5f74dec8b8b)
2007-12-10Move stuff from data to textVolker Lendecke1-2/+2
(This used to be commit 49f06a2fa70e469bcb5fe17852af011dac32994b)
2007-12-10int->boolVolker Lendecke1-2/+2
(This used to be commit 874258195278bc8c6bb3011c153c5d646fff9e75)
2007-12-10Tiny simplificationsVolker Lendecke8-21/+22
locking.c:open_read_only was unused don't export the silly boolean flag locking_init(bool read_only) (This used to be commit 2f3c865707010bc7c463a02782dbee3dc2479da1)
2007-12-10Remove a staticVolker Lendecke1-11/+9
(This used to be commit 1f317f471af72f8bbc6c9fdd3e79a27c59e6fb6e)
2007-12-10Remove two staticsVolker Lendecke1-39/+17
(This used to be commit 8ee502e1e59960fd8db037f0adf1171b2a18cec5)
2007-12-10remove a staticVolker Lendecke1-12/+18
(This used to be commit 0006b14d38b80562458b37f616c9b68a3168fe64)
2007-12-09Many systems don't have sa_len as part of struct sockaddr.Jeremy Allison1-1/+1
Revert 5c347cb46d85d04bbba7c99dca7ff9628f977d84 "Choose a better default for sockaddr length.". Jeremy. (This used to be commit 677ac6adc38b0747f825ee597e0502277a8f74b1)
2007-12-09Support fetching very long server lists with RAP_NetServerEnum3.James Peach1-42/+125
Use the RAP_NetServerEnum3 server list continuation API for retrieving server lists that are too long to fit in a single reply. Patch from George Colley <gcolley@apple.com>. (This used to be commit 40c26d55736ae08934e18c27168fff10dd15442f)
2007-12-09Choose a better default for sockaddr length.James Peach1-1/+1
(This used to be commit 5c347cb46d85d04bbba7c99dca7ff9628f977d84)
2007-12-09Specifically ask for IP4 addresses if we don't have IP6 support.James Peach1-0/+5
(This used to be commit 4786654992e3cb2280b77406f9217fcec981602c)
2007-12-09Make sure NULL is defined to the IPv6 test doesn't spuriously fail.James Peach1-0/+1
(This used to be commit 87c302e250aacc4d5d6a3cce3f134dd13fa457bf)
2007-12-09Fix connect(2) callers to use correct sockaddr size.James Peach4-7/+26
Some systems (eg Mac OSX 10.5) require the length passed to match the socket address family. This introduces sys_connect() that does the right thing, and replaces all uses oc connect(2) with sys_connect(). Note that there are some LGPL callers that still call connect(2) directly. (This used to be commit e1bfdc17c49da582cdf907e260301ab1946b2ed3)
2007-12-09Move load_case_tables() to after logging is set up. This can logJames Peach1-1/+2
errors. (This used to be commit ffee51586cfc32a7e394f606e5021ee8fd198559)
2007-12-09Don't copy the rpc function pointersVolker Lendecke1-7/+3
This actually shows up in a valgrind massif run with 4.1% of allocated memory. I don't see why we would have to make a copy here. Metze? (This used to be commit 616d6b97e594a846e9b3ac4cbe48538d649462e9)
2007-12-09C++ warningVolker Lendecke1-1/+1
(This used to be commit 85a7f800b6ff8a21d234cee1a24123fb48bafa13)
2007-12-09Get rid of the msgbuf[1600]Volker Lendecke1-98/+132
(This used to be commit af228007915cc8bb65fa7968da25a1a36004bc22)
2007-12-08Fix C++ warningsVolker Lendecke5-16/+16
(This used to be commit 01a5c3ea4bf18d99ca1c35e8c38367046e4c867b)
2007-12-08Fix two incompatible pointer warningsVolker Lendecke2-2/+2
Jeremy, please check (This used to be commit 60500fac30911500eade7c2a9aa13569dcab0911)
2007-12-07Add define guards around FSTRING_LEN.Jeremy Allison1-0/+2
Jeremy. (This used to be commit ea8633689d43cc2fe15aedb430b4cac38fa73d14)
2007-12-07Remove next_token - all uses must now be next_token_talloc.Jeremy Allison29-406/+563
No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-12-07A requiem for pstring.Jeremy Allison1-0/+18
-------------- / \ / REST \ / IN \ / PEACE \ / \ | The infamous pstring | | | | | | 7 December | | | | 2007 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______ Jeremy (This used to be commit bca371bff8e1dd5099eda1774e5bb0fdbd6a1a77)
2007-12-07More null deref fixes.Jeremy Allison1-4/+4
Jeremy. (This used to be commit efaebdb141a841ec083f20f8905ae0294b81d0d6)
2007-12-07More null deref fixes.Jeremy Allison1-1/+1
Jeremy (This used to be commit 78c98796d9328723b7c46012adf5393134a4fea3)
2007-12-07Don't deref null pointers.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 686e4e5efe23e074b661e876b6b118c03ff0058d)
2007-12-07After conversations with Jerry, remove smbctool until it'sJeremy Allison2-3792/+0
maintained. Now I don't have to fix the pstrings in it :-). Jeremy. (This used to be commit 9da4f408433759b7d86d1954e2e7c1365d590389)
2007-12-07We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison5-76/+2
Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)
2007-12-07Don't build rpctorture anymore - not maintained. Just remove.Jeremy Allison12-634/+59
Remove all vestiges of pstring (except for smbctool as noted in previous commit). Jeremy (This used to be commit 4c32a22ac50ada3275d2ffba3c1aa08bee7d1549)
2007-12-07Fix call to clistr_pull_talloc.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 86700b7e2e79e634b41c272632e42b2e64f58ba3)
2007-12-07Don't double define fstring.Jeremy Allison1-0/+2
Jeremy. (This used to be commit 822b2ead9b0ee28d7ae147fc1ef67da099699cf8)
2007-12-07Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison10-132/+102
Don't build this for now. Jeremy. (This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
2007-12-07Remove pstring from clitar.cJeremy Allison1-141/+225
Jeremy (This used to be commit 1d5fee5038413c90b367434f9066d947849bdaed)
2007-12-07Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison6-62/+176
v3-2-test (This used to be commit 0c21c5fa84e18d78801ab79abd726e5588902476)
2007-12-07Add NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).Günther Deschner2-0/+2
Guenther (This used to be commit 970daaa0a620d8e47475909cd7b5e54869602530)
2007-12-07Attempt to fix make test :-)Volker Lendecke1-2/+2
(This used to be commit de3a3e3745e58cbfa777ae426e38bad3d74230d4)
2007-12-07Pass only internal oplock request values to create_fileVolker Lendecke2-46/+71
Other callers (e.g. reply_open_and_X) might have other ideas of the bit shuffling (This used to be commit 6a58d823e51ccc8efd6682005e367c9096abc993)
2007-12-07More parameter shufflingVolker Lendecke2-5/+5
(This used to be commit 8f70f691ffa3e171a73d04a1c867aa6fca4d4583)
2007-12-07Re-arrange create_file() parametersVolker Lendecke2-5/+5
This changes them to be a bit closer to open_file_ntcreate and thus provides less surprises to developers (This used to be commit d000258b96b9bb714efdfe982947370a6dfb5d55)
2007-12-07Make fname arg to create_file a "const char *"Volker Lendecke1-6/+15
(This used to be commit da94b5f9e37f38880e8ca4c2c7f8de6838864321)
2007-12-07Fix two unused variable warningsVolker Lendecke1-2/+0
I know this will be overwritten by the next "make idl", but it just bugs me *now* :-) Volker (This used to be commit a0abb885214ed29659889e359aecb60fb6dec100)
2007-12-07Allow to set custom message in wkssvc messagebuffer.Günther Deschner1-1/+6
Guenther (This used to be commit 4c03cbdc816842f1d657fdc8499e3ad9a459f0d7)
2007-12-07Fix build with new werror based pidl rpc.Günther Deschner1-4/+9
Guenther (This used to be commit 0e8fdfac8a7754c105f01bd21816a7940c20e878)
2007-12-07Add cmd_wkssvc_messagebuffersend().Günther Deschner1-2/+37
Guenther (This used to be commit 71e512efabe833a850cce3ed827415b5d1c032d5)