summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13258: Fix the talloc heirachy for ldb_tdb.Andrew Bartlett3-17/+20
In the return value res->msgs, msgs was not a child of res, in the indexed path. Instead, it hung directly off the ldb, which was sometimes a long-term context. Also remove unused parameters. Found by --leak-report-full Andrew Bartlett (This used to be commit 29cb5af827c459758997c80dca034d471bb92449)
2007-10-10r13256: Free temporary memory on error cases, and try to clean up what's leftAndrew Bartlett2-4/+13
earlier. Move gendb_search() to use talloc_vasprintf() and steal only the parts actually being used for the results. Andrew Bartlett (This used to be commit 53efb3e3e980c768e0aee216ccd8dc3e14707246)
2007-10-10r13255: New CIFS dd client for use in performance testing. The guts of this isJames Peach9-7/+1356
in client/cifsdd*, which implements a minimal implementation of dd. The IO path is careful to always perform IO at the requested block size. There is a very basic test suite in script/tests/test_cifsdd.sh which covers local and remote IO at a variety of block sizes. Added to lib/util_str.c is a small set of conv_str_*() functions to convert strings to the corresponding type. smbcli_parse_unc is modified to insert NULL terminators after its hostname and sharename parameters. This allows it to correctly parse a path of the form //foo/share/path/file. (This used to be commit cd2f94a65817bfae20ac21b730a2c42d8e581ab3)
2007-10-10r13253: More work to ensure that we don't keep data on long-term contexts.Andrew Bartlett1-0/+5
Andrew Bartlett (This used to be commit 35517573ff807339f96573e58bdec29073be9594)
2007-10-10r13252: Cleanup, both in code, comments and talloc use:Andrew Bartlett5-53/+102
In particular, I've used the --leak-report-full option to smbd to track down memory that shouldn't be on a long-term context. This is now talloc_free()ed much earlier. Andrew Bartlett (This used to be commit c6eb74f42989d62c82d2a219251837b09df8491c)
2007-10-10r13250: I missed a couple of talloc_free()'sAndrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 3570a62876dcd656b328bf8c2c1be617ae9a8fd7)
2007-10-10r13249: Check for alloca.h. popt needs this.James Peach1-0/+1
(This used to be commit 08bdaa8e106caeab675aaca5124f0e59fa20cc8c)
2007-10-10r13248: Revert revision 13071. It turns out that sys/param.h can be implicitlyJames Peach2-32/+0
included from other headers. In this case, undeffing MIN and MAX is a really bad idea because the subsequent include of sys/param.h will do nothing because of its include guards. (This used to be commit 8aa8be93b09cfbd176455738dfd305047030fd50)
2007-10-10r13247: Try to make better use of talloc in the auth/ and auth/gensec code.Andrew Bartlett3-17/+35
We don't want temporary memory hanging around on the long-term contexts. Andrew Bartlett (This used to be commit 85b3f6ebddfb655fdd08d1799752e562a6ff9cb1)
2007-10-10r13246: Print winbindd pipe location correctly.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit fc045b42c24d9bfb10b9f98f38c771df4abcdee0)
2007-10-10r13245: Don't segfault if we don't have a credentials structure on this gensecAndrew Bartlett1-3/+6
context. Andrew Bartlett (This used to be commit 1e840aa43679ceccb2a3afc694a5de0828147e8c)
2007-10-10r13244: Allow control of the location of the Samba3-compatible winbindd pipeAndrew Bartlett11-23/+104
in Samba4. This allows us to start winbindd by default, including in 'make test'. This is via a new 'winbindd socket directory' parameter for utilities linked against loadparm, as well as a --with-winbindd-socket-dir option to configure (setting the default and the value for simple clients). I hope to add basic winbindd tests, to ensure continued correct operation, but at least now I don't have to manually change my 'server services' line. The other problem with the hard-coded /tmp/.winbind is that RedHat has moved this in Fedora (to /var/run I think). For this reason, this functionality should probably be ported to Samba3 as well. The default for Samba4 is PREFIX/var/run/winbind_pipe. I have also re-added the paranoia checks from Samba3 for correct permissions on the socket directory. Andrew Bartlett (This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
2007-10-10r13243: Bring __FUNCTION__ checks across from Samba 3.James Peach2-1/+17
(This used to be commit 92eec049628a79f8d9496c6d199d6de0238e7940)
2007-10-10r13242: cc-1009 cc: WARNING File = librpc/idl/nbt.idl, Line = 579James Peach1-4/+4
cc-1009 cc: WARNING File = librpc/idl/nbt.idl, Line = 580 A "/*" appears inside a comment. (This used to be commit 53ac5a2fb251c04dab2b92cd8a9df8005e340e3a)
2007-10-10r13241: Work around missing AS_HELP_STRING definition in autoconf 2.57. FixJames Peach1-0/+5
from Brad Hards <bradh@frogmouth.net>. (This used to be commit 3ade52398a345cc50c1bf52298e36ab1804b00ec)
2007-10-10r13240: Make the test scripts use the new smb.conf location (in PREFIX/etc).Andrew Bartlett1-3/+4
Andrew Bartlett (This used to be commit ea0a53d6795488ed530c3436343587595221cb78)
2007-10-10r13239: Silly little patch: make the order of declaration match the order ↵Andrew Bartlett1-1/+1
of use. (This used to be commit 2b605cf22c7567e1171bf73cbbd37a5f0c1a4274)
2007-10-10r13228: revert more stuff from 13208Stefan Metzmacher2-0/+3
metze (This used to be commit 6c7065463fded629febd03efb2943d24cac74fda)
2007-10-10r13227: revert some more stuff from 13208Stefan Metzmacher1-4/+1
metze (This used to be commit 03a0363850b7b38fc3621dfde38504d66156e728)
2007-10-10r13226: remove empty fileStefan Metzmacher1-0/+0
metze> (This used to be commit b8a6792a43c3d41ceccd16046c9794e701c6acc1)
2007-10-10r13225: Enable full compiler warnings for developer mode on IRIX.James Peach1-3/+7
(This used to be commit 2aefbcb47272536d8c2229f8b199f7cd7da7d890)
2007-10-10r13210: Revert my named pipes patch until it passes not just 'make ↵Jelmer Vernooij15-540/+150
quicktest' but also 'make test' (This used to be commit e3d0676aee84e96e5c87bed4cd0cde75a4191953)
2007-10-10r13208: Clearly separate named pipes from the IPC$ NTVFS type.Jelmer Vernooij16-152/+542
This allows the easy addition of additional named pipes and removes the circular dependencies between the CIFS, RPC and RAP servers. Simple tests for a custom named pipe included. (This used to be commit 898d15acbd18e3b302a856c847e08c22c5024792)
2007-10-10r13207: Use the new API for using/not using kerbeors in hdb-ldb.cAndrew Bartlett2-6/+8
Update the rootdse module to use the new schema. Andrew Bartlett (This used to be commit b0b150d08ac39ed486071487826da2e306db6a0b)
2007-10-10r13206: This patch finally re-adds a -k option that works reasonably.Andrew Bartlett13-170/+244
From here we can add tests to Samba for kerberos, forcing it on and off. In the process, I also remove the dependency of credentials on GENSEC. This also picks up on the idea of bringing 'set_boolean' into general code from jpeach's cifsdd patch. Andrew Bartlett (This used to be commit 1ac7976ea6e3ad6184c911de5df624c44e7c5228)
2007-10-10r13205: Add another useful comment.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 78d634047f41466e4bf169e727f730d776949b33)
2007-10-10r13204: Remove extra newline we don't need.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 765caa14b340f5111c07eda99fd2bd4c000dd7c7)
2007-10-10r13203: Make this comment clearer.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 8e2b461669d2d4d5a789da66b5049ecbddd8fd15)
2007-10-10r13186: Remove assumption that callers that specify -1 actually mean ↵Jelmer Vernooij1-15/+0
sizeof(pstring) (This used to be commit da72f47226f9c514deb75bc6e69548c240822eb5)
2007-10-10r13182: Add first bits of browsing testsuite.Jelmer Vernooij3-1/+56
(This used to be commit 841fb3d4e764dc7ae8222ad7cb69dc6244035ea2)
2007-10-10r13181: Fix standalone ldb buildJelmer Vernooij2-1/+2
(This used to be commit e9059ea0c56c1fd9886eb038df5455efe11962f8)
2007-10-10r13170: Remove some dependencies on -1 implying the size of pstringJelmer Vernooij2-9/+7
(This used to be commit f7c28d31481f6479f258cd878d173cbc42ed9de0)
2007-10-10r13167: handle cotrols' reply even in errorSimo Sorce1-2/+1
(This used to be commit b9d1d02f381cf81883c9f22a1702319f5fce6eb8)
2007-10-10r13166: Patches form Brad HardsSimo Sorce4-5/+35
(This used to be commit 335050b30d832f529fb8fdd4f96e4bb3de93f38c)
2007-10-10r13163: as we don't import the raw magic configure vars forStefan Metzmacher2-13/+12
libdir, datadir, sysconfdir,localstatedir into our Makefile we need to expand them in configure I'll maybe rework this later but for now this works metze (This used to be commit 615b82f7c73ff52ab62489ec635aefecf2b2f04c)
2007-10-10r13161: Remove optional password as second parameter. Improve return values ↵Jelmer Vernooij1-28/+11
a bit. (This used to be commit 94dd559755d1c114588fb6b1353749cf96706269)
2007-10-10r13160: Fix some of the smbclient testsuite (after failures on the buildfarm)Jelmer Vernooij1-21/+17
(This used to be commit 765991ab486188bce76332b00194efbd6cbb3e01)
2007-10-10r13158: Fix setup and ejs pathsJelmer Vernooij4-4/+12
(This used to be commit c3bc39bd713e2a2b0a270d22e38fe39959a6a7c9)
2007-10-10r13157: Fix installation of js filesJelmer Vernooij1-1/+1
(This used to be commit 2384dec6f2451d86fc4b7737b663379623ae4a5c)
2007-10-10r13156: Add some tests for smbclientJelmer Vernooij3-0/+71
(This used to be commit 861d45beda0e10b52ab8a82a1d92844d18685bba)
2007-10-10r13155: Large amount of updates to smbclient to:Jelmer Vernooij1-867/+611
- Remove global variables (pass things around as variables, add a 'struct smbclient_context') - Get rid of pstring - Fix up some of the return values - Fix some generally weird code (This used to be commit d9902e1477484ae01f9575afc6eba33526d631ac)
2007-10-10r13154: Add some constJelmer Vernooij1-1/+1
(This used to be commit 62822a26550842dbb763b27994cb38474fe8eea3)
2007-10-10r13153: Try to move closer to FHS. This probably breaks everything...Andrew Bartlett4-62/+22
Andrew Bartlett (This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127)
2007-10-10r13152: Jelmer assures me that this won't break anything, but does make itAndrew Bartlett1-7/+9
much clearer where things go. Andrew Bartlett (This used to be commit 655076d51b9213a8dba348c10c044f27709b61c6)
2007-10-10r13150: Correct comment.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit c34666abc170687daa8dcd085020880b598caaf7)
2007-10-10r13149: DEBUG is a bad choice for 'net', it should print to stderrAndrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 4dd6afa6d167fd04c1c3d4b4529b1cecf27eacaa)
2007-10-10r13144: This seems to be required for Samba4 to talk to Samba4, and to get theAndrew Bartlett1-0/+11
same session key. I need to understand this more, but it works samba/samba, and I don't have access to windows doing AES (longhorn) yet. Andrew Bartlett (This used to be commit 38809b43a5d6bd668e9cb714573dc1e72ceff092)
2007-10-10r13131: windows sends termination here, this fixes access with regeditStefan Metzmacher1-1/+1
metze (This used to be commit 79293227d6186ba15177603ede2b8d8b33e16d3a)
2007-10-10r13129: fix the memory hierachieStefan Metzmacher5-6/+8
metze (This used to be commit 19205b8d89d3d7e99a65938f59412e0c4e8ac5fe)
2007-10-10r13128: init the private_data to NULLStefan Metzmacher1-0/+2
so so that we don't crash when ntvfs_connect() fails metze (This used to be commit 96680f12001c67b6f6644654dfd74a86538d51b6)