summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-11-02Fix build breakage when not specifying --with-fhs.Gerald (Jerry) Carter1-0/+3
Ensure that CODEPAGEDIR, STATEDIR, and CACHEDIR have values. (This used to be commit 10af752391be51c7381a4eaca27f29e1f2a677b3)
2007-11-01Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testGerald (Jerry) Carter4-15/+23
(This used to be commit 779353b86d1699324149896f1ffa237c6ebe46ec)
2007-11-01Add brackets so as not to break the POSIX caps return.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 47dbddcb5361caa30ee60cf4e15bb50d557d1191)
2007-11-01Fix for bug 5021Volker Lendecke1-1/+5
This is a different fix than the bug reporter (Evgeniy Dushistov <dushistov at mail.ru>, thanks!) created, but it lives without the boolean status variable. Untested so far, but I can not add attachments to bugs right now. But to me this looks really obvious. (This used to be commit b481abf5914dcafe5642c4d9394d02603e905bbb)
2007-11-01Patch 2 of 3 from Debian Samba packagers:Gerald (Jerry) Carter14-37/+37
The point is doing the following associations: - non discardable state data (all TDB files that may need to be backed up) go to statedir - shared data (codepage stuff) go to codepagedir The patch *does not change* the default location for these directories. So, there is no behaviour change when applying it. The main change is for samba developers who have to think when dealing with files that previously pertained to libdir whether they: - go in statedir - go in codepagedir - stay in libdir (This used to be commit d6cdbfd875bb2653e831d314726c3240beb0a96b)
2007-11-01save memoryVolker Lendecke1-12/+15
Hi! Attached find a patch that I've wanted to check in for ages. The whole area probably needs a major rewrite, but this is a minimal patch that on a 32-bit box saves 1.5k per smbd per defined share, twice as much on a 64-bit box. Volker From ebb80e664ecc49eb597a45cb57e1067fbae49e62 Mon Sep 17 00:00:00 2001 From: Volker Lendecke <vl@sernet.de> Date: Wed, 31 Oct 2007 15:04:34 +0100 Subject: [PATCH] Change global->copymap from bool* to a bitmap We right now have 401 parameters, so with bool being represented as a 64-bit integer this saves about 3k of memory per smbd per share that is defined in smb.conf. (This used to be commit 94f2c35a683eace7f9f3dad9748aaec93f7c534f)
2007-11-01Add missing recvfile_bytes element - noticed by Kukks.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 5cf2811e8e1d9e6a1114bbdff89c333d5b374282)
2007-11-01Patch from Debian Samba package maintainers:Gerald (Jerry) Carter5-3/+88
Patch 1 of 3: - Patch 1 adds the new variables - Patch 2 makes uses of them for files belonging to the "state" path and the "code pages" path This patch seemed more easily acceptable, which explains why we separated it from patch 3 - Patch 3 reassigns files to the "cache" path. Indeed all "debatable" changes have been moved to that one The point is adding: - a path for non discardable state data: basically all TDB files that may need to be backed up - a path for shared data: mostly codepage stuff - a path for cache data to host files such as browse.dat, printers.tbd, <printer>.tdb All these are currently mixed in "libdir" (${prefix}/lib/samba by default). The patch keeps these new paths to point to ${prefix}/lib/samba by default and does therefore not change the software behaviour. Used alone, it just adds unused variables...so it can safely be used in sources without any behaviour change and no impact on Samba developers work. (This used to be commit b7d2fadbef044a89920da613b1aafc74a3d94e24)
2007-11-01Enable building the zfsacl VFS module by specifyingMichael Adam1-0/+1
"--with-shared-modules=vfs_zfsacl" on the configure command line. Michael (This used to be commit 69135360648e395eda29b15625b20a877e38bdd8)
2007-10-31Note when we're setting change time, not write time, and sendJeremy Allison3-16/+32
message accordingly. Apart from not supporting create time we now pass the S4 RAW-NOTIFY torture. Jeremy. (This used to be commit 8a77f520fa03afa60eac2aaeab4babe7dd8db4f0)
2007-10-31Fix some cases where file_set_dosmode was being passedJeremy Allison7-12/+30
False instead of NULL. Fix more of the notifications to be correct for Samba4 RAW-NOTIFY torture (we had missed one when calling set_ea_dos_attribute(). Jeremy. (This used to be commit 39d265375cf55eedddef2c4faa65398df73d5ed2)
2007-10-31Fix vfstest link - move socket calls into smbd/process.cJeremy Allison2-288/+288
not smbd/server.c Jeremy (This used to be commit 8fbefe18a2dc23adb0ebe488cfb37ab4a382207d)
2007-10-31Add printout of large read/write caps if detected.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 52f13d84955224ebbaead53d8428baade6a22fe0)
2007-10-31Make explicit draining the socket on RECVFILE. AddJeremy Allison4-26/+24
capability for large UNIX write if not signing and recvfile set. Cope with large UNIX write length on incoming processing. Stevef - we can now test 1-16Mb writes from CIFFS. Jeremy. (This used to be commit 8cf78776b0a44bd026cef3d74eb11cfb415f8303)
2007-10-30Handle the disk full error case correctly.Jeremy Allison2-7/+26
Jeremy. (This used to be commit b7088bb9c2a00d4717b9a7efa4bddc0c005f4efb)
2007-10-30Ensure we don't prematurely clean out the bytes read.Jeremy Allison1-4/+10
Jeremy. (This used to be commit 247675695dfbff503b5792de62f8bb1567ea2327)
2007-10-30Add new parameter, "min receivefile size" (by default setJeremy Allison11-160/+527
to zero). If non-zero, writeX calls greater than this value will be left in the socket buffer for later handling with recvfile (or userspace equivalent). Definition of recvfile for your system is left as an exercise for the reader (I'm working on getting splice working :-). Jeremy. (This used to be commit 11c03b75ddbcb6e36b231bb40a1773d1c550621c)
2007-10-30Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-8/+10
v3-2-test (This used to be commit 765b37c693516757686118fffd3c80cf4d5e7344)
2007-10-30Our userlevel SMBwriteX call is non-standard in that itJeremy Allison1-8/+10
sometimes uses a 12-word write and doesn't include a pad byte (as Windows does). Fix this so that we are identical to Windows clients. This will make recvfile processing much easier to detect (as we can just read a standard writeX header length to decide). Jeremy. (This used to be commit 3d3d1b806aef3617abaac46daf230ed32076e2ce)
2007-10-30Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison3-7/+6
v3-2-test (This used to be commit c833c336435cffd20579903d22ccb910ab467e53)
2007-10-30start smbd, nmbd and winbindd with the same startup messageStefan Metzmacher3-7/+6
at debug level 0. metze (This used to be commit 95f76ae7a52c6b22db22d03fed6b0848d2a61bee)
2007-10-29Forgot to add recvfile.cJeremy Allison1-0/+158
Jeremy. (This used to be commit d5886218e53910b7015e6f13bc634e1bf338565a)
2007-10-29Add in the recvfile entry to the VFS layer with a defaultJeremy Allison7-1/+52
implementation. Needed for the zero-copy write code. Jeremy. (This used to be commit bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
2007-10-29Fix the setup_kaddr() call to cope with IPv6.Jeremy Allison3-20/+42
This is the last obvious change I can see. At this point we can start claiming IPv6 support (Hurrah !:-). Jeremy. (This used to be commit bda8c0bf571c994b524a9d67eebc422033d17094)
2007-10-29Change our DNS code to cope with AAAA records. A6 recordsJeremy Allison4-120/+203
look like a nightmare to use, so ignore them for now. Jeremy. (This used to be commit 814daded90781dc5a5bdd522ea8cfe5d47e6d7a7)
2007-10-28Enable vfs objects = /full/path/to/object.soVolker Lendecke1-10/+36
Right now I'm testing a vfs object. I can't right now in make test, because "vfs objects" assumes the .so files to be in $libdir/vfs. This patch parses the module name out of the object name in case it starts with "/". The module name is assumed to be the last path component's basename. (This used to be commit 95cc019af775a6ab28ea602ad767fa54d7c86197)
2007-10-27Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison15-27/+27
zero_addr(&ss). All current uses were always of the AF_INET form, so simplify the call. If in the future we need to zero an addr to AF_INET6 this can be done separately. Jeremy. (This used to be commit 2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c)
2007-10-27Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)Jeremy Allison1-1/+1
from Volker's patch. Jeremy. (This used to be commit 9f82a5766968dc72db5a86ad0afc71e8cffd5be0)
2007-10-27Two patchesVolker Lendecke8-12/+50
Hi! Can you check and push them? Thanks, Volker From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001 From: Volker Lendecke <vl@sernet.de> Date: Sat, 27 Oct 2007 14:20:09 +0200 Subject: [PATCH] Fix some warnings and errors (This used to be commit e17d3e10e860c96b6d5208e5fe51e43b8e58c174)
2007-10-27rerun make idlStefan Metzmacher11-447/+1325
metze (This used to be commit 83b3ecde1312092fd9875a2a8628652ffa6b6aca)
2007-10-27add NDR_ERR_INVALID_POINTERmetze2-1/+4
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25744 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 3625ed395c23101095321de80e89fcbc8c76be4c)
2007-10-26Ensure temporary memory is freed - pointed out by "Li, Ying (ESG)" ↵Jeremy Allison1-0/+1
<ying.li2@hp.com>. We aren't currently leaking memory, but are leaving it around for longer than we need to. Jeremy. (This used to be commit 25bbc9a6613bef0f3f73ecf634a38a9d56020f40)
2007-10-26Fix popt bool problems (need POPT_ARG_NONE, not POPT_ARG_VALUE).Jeremy Allison1-4/+4
Reported by kukks - thanks ! Jeremy. (This used to be commit 9993f8d1af23735f3a4b6de82f5825a6a6ba22d6)
2007-10-26Move the horrible hack for link local addresses out of namequery.cJeremy Allison2-30/+51
and into util_sock.c. is_ipaddress() now copes with link:local:v6%ifname addresses, as does interpret_string_addr(). Jeremy (This used to be commit a3f7db3d30ced566c8340696914f1be3293a9c5b)
2007-10-26Fix a few more sockaddr -> sockaddr_storgage.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 4b3635d6bc1bd5e4135ef208dff052e1d9b58a12)
2007-10-26one more struct in_addr => struct sockaddr_storageStefan Metzmacher1-6/+12
jra: please check this... metze (This used to be commit cecc8075513a3cca17aeab0c88ae05ed13a07ee3)
2007-10-25Fix bug in writing names into gencacheJeremy Allison3-13/+6
as well as 2 typos where AF_INET6 was mistypes as AF_INET. JERRY YOU NEED THESE FIXES. Fixes smbclient -L localhost -U% Bugs reported by Kukks (thanks kukks). Jeremy. (This used to be commit f109f82622ca30ae2360e8300152e90b9587ffd8)
2007-10-25Fix resolve name to resolve IPv6 addresses of link-local%ifaddrJeremy Allison4-100/+166
Jeremy. (This used to be commit e6609cab732d5cd5cc9a5ae50aee15147f2ec6ec)
2007-10-25Fix a mismatched interface where we were usingJeremy Allison1-5/+5
uint32 instead of enum lsa_SidType. Jeremy. (This used to be commit 2df8252ff76406bfe57cd76e9927b5056e89e6ae)
2007-10-25Fix cast typo - would have broken all dgram sends.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 17ea899f39e80241afa235cb933695ba6bae846a)
2007-10-25Fixed missing in_addr -> sockaddr_storage conversion (how didJeremy Allison1-10/+14
I miss this...). Jeremy. (This used to be commit f982774c8d95c48355bbd821c8224fadb8bb303e)
2007-10-25Fix reversed bool check for access. Found by kukks.Jeremy Allison1-1/+1
Thanks ! Jeremy. (This used to be commit a13e8bd39de978d69666b8aeb884d943885a3605)
2007-10-25Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-0/+5
v3-2-test (This used to be commit ec891be53cc4042baf418c1f7b037a11e5055273)
2007-10-25When doing reverse lookups actually look up the name, notJeremy Allison1-1/+1
just the numeric address (doh!) :-). Jeremy. (This used to be commit 9aa9ecd8cc29d055d78f16b8fb2156ec04063c42)
2007-10-25Try and fix the Solaris build by adding a missing defineJeremy Allison1-0/+5
(from Jerry). Jeremy (This used to be commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6)
2007-10-25Ensure we don't terminate if we fail to bind to a socket,Jeremy Allison1-1/+6
only fail if we can't bind to any socket. Jeremy. (This used to be commit 2ec6224b552ef86fa1739c9e396c39c7ec6c76c6)
2007-10-25[libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.cmetze1-0/+11
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25728 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 11a977aa0757801fb0fa805b123e7bc75c8be447)
2007-10-25[libreplace] move and fix getaddrinfo configure checksmetze2-30/+33
- move getaddrinfo check into getaddrinfo.m4 - add getaddrinfo.o to LIBREPLACEOBJ so that we really build the replacements metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25726 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit de01c503f4d16b8c3c0ad75225cf0b1822fd8c7f)
2007-10-25- include getaddrinfo.h after we have defined struct addrinfometze3-16/+24
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch] - define HAVE_<name> macros when we replace functions metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25724 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit e56977ea459b3615d33237d19ed8e7ad8b509853)
2007-10-25[libreplace] if we replace types define the HAVE_<type> macrometze1-0/+3
this is needed as heimdal's roken.h also tries to replace the types metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25718 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit b81d8bc43cd7167a5cd4b18c26ba3eecf75043eb)