summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add new parameter, "min receivefile size" (by default setJeremy Allison2007-10-3011-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)
* Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2007-10-301-8/+10
|\ | | | | | | | | | | v3-2-test (This used to be commit 765b37c693516757686118fffd3c80cf4d5e7344)
| * Our userlevel SMBwriteX call is non-standard in that itJeremy Allison2007-10-301-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)
* | Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2007-10-303-7/+6
|\| | | | | | | | | | | v3-2-test (This used to be commit c833c336435cffd20579903d22ccb910ab467e53)
| * start smbd, nmbd and winbindd with the same startup messageStefan Metzmacher2007-10-303-7/+6
| | | | | | | | | | | | | | at debug level 0. metze (This used to be commit 95f76ae7a52c6b22db22d03fed6b0848d2a61bee)
* | Forgot to add recvfile.cJeremy Allison2007-10-291-0/+158
| | | | | | | | | | Jeremy. (This used to be commit d5886218e53910b7015e6f13bc634e1bf338565a)
* | Add in the recvfile entry to the VFS layer with a defaultJeremy Allison2007-10-299-1/+77
|/ | | | | | implementation. Needed for the zero-copy write code. Jeremy. (This used to be commit bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
* Fix the setup_kaddr() call to cope with IPv6.Jeremy Allison2007-10-293-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)
* Change our DNS code to cope with AAAA records. A6 recordsJeremy Allison2007-10-294-120/+203
| | | | | | look like a nightmare to use, so ignore them for now. Jeremy. (This used to be commit 814daded90781dc5a5bdd522ea8cfe5d47e6d7a7)
* Enable vfs objects = /full/path/to/object.soVolker Lendecke2007-10-281-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)
* Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison2007-10-2715-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)
* Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)Jeremy Allison2007-10-271-1/+1
| | | | | | from Volker's patch. Jeremy. (This used to be commit 9f82a5766968dc72db5a86ad0afc71e8cffd5be0)
* Two patchesVolker Lendecke2007-10-278-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)
* rerun make idlStefan Metzmacher2007-10-2711-447/+1325
| | | | | metze (This used to be commit 83b3ecde1312092fd9875a2a8628652ffa6b6aca)
* add NDR_ERR_INVALID_POINTERmetze2007-10-272-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)
* Ensure temporary memory is freed - pointed out by "Li, Ying (ESG)" ↵Jeremy Allison2007-10-261-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)
* Fix popt bool problems (need POPT_ARG_NONE, not POPT_ARG_VALUE).Jeremy Allison2007-10-261-4/+4
| | | | | | Reported by kukks - thanks ! Jeremy. (This used to be commit 9993f8d1af23735f3a4b6de82f5825a6a6ba22d6)
* Move the horrible hack for link local addresses out of namequery.cJeremy Allison2007-10-262-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)
* Fix a few more sockaddr -> sockaddr_storgage.Jeremy Allison2007-10-261-3/+3
| | | | | Jeremy. (This used to be commit 4b3635d6bc1bd5e4135ef208dff052e1d9b58a12)
* one more struct in_addr => struct sockaddr_storageStefan Metzmacher2007-10-261-6/+12
| | | | | | | jra: please check this... metze (This used to be commit cecc8075513a3cca17aeab0c88ae05ed13a07ee3)
* Fix bug in writing names into gencacheJeremy Allison2007-10-253-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)
* Fix resolve name to resolve IPv6 addresses of link-local%ifaddrJeremy Allison2007-10-254-100/+166
| | | | | Jeremy. (This used to be commit e6609cab732d5cd5cc9a5ae50aee15147f2ec6ec)
* Fix a mismatched interface where we were usingJeremy Allison2007-10-251-5/+5
| | | | | | uint32 instead of enum lsa_SidType. Jeremy. (This used to be commit 2df8252ff76406bfe57cd76e9927b5056e89e6ae)
* Fix cast typo - would have broken all dgram sends.Jeremy Allison2007-10-251-1/+1
| | | | | Jeremy. (This used to be commit 17ea899f39e80241afa235cb933695ba6bae846a)
* Fixed missing in_addr -> sockaddr_storage conversion (how didJeremy Allison2007-10-251-10/+14
| | | | | | I miss this...). Jeremy. (This used to be commit f982774c8d95c48355bbd821c8224fadb8bb303e)
* Fix reversed bool check for access. Found by kukks.Jeremy Allison2007-10-251-1/+1
| | | | | | Thanks ! Jeremy. (This used to be commit a13e8bd39de978d69666b8aeb884d943885a3605)
* Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2007-10-251-0/+5
|\ | | | | | | | | | | v3-2-test (This used to be commit ec891be53cc4042baf418c1f7b037a11e5055273)
| * Try and fix the Solaris build by adding a missing defineJeremy Allison2007-10-251-0/+5
| | | | | | | | | | | | (from Jerry). Jeremy (This used to be commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6)
* | When doing reverse lookups actually look up the name, notJeremy Allison2007-10-251-1/+1
|/ | | | | | just the numeric address (doh!) :-). Jeremy. (This used to be commit 9aa9ecd8cc29d055d78f16b8fb2156ec04063c42)
* Ensure we don't terminate if we fail to bind to a socket,Jeremy Allison2007-10-251-1/+6
| | | | | | only fail if we can't bind to any socket. Jeremy. (This used to be commit 2ec6224b552ef86fa1739c9e396c39c7ec6c76c6)
* [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.cmetze2007-10-251-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)
* [libreplace] move and fix getaddrinfo configure checksmetze2007-10-252-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)
* - include getaddrinfo.h after we have defined struct addrinfometze2007-10-253-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)
* [libreplace] if we replace types define the HAVE_<type> macrometze2007-10-251-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)
* [libreplace] move definition of struct addrinfo so that it can use socklen_tmetze2007-10-251-15/+13
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25715 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 45150075677451b48ce56ebdce96aca1ed13fa80)
* [libreplace] move define of a constant to near to the othersmetze2007-10-251-4/+4
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25714 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit fa120f7c50d0084e7d887811e5fa59ae3bcfe53e)
* [libreplace] include socket_wrapper.h after we have typedef'ed socklen_tmetze2007-10-251-7/+7
| | | | | | | metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25713 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit f1d434a132e424f2fdce59d51a7c398988c1474d)
* Don't terminate on an invalid address family.Jeremy Allison2007-10-241-1/+1
| | | | | Jeremy. (This used to be commit d04a8a6cdcc505e0244882a9abb7174eadbf81a7)
* We do support name lookups for host and service in our replacementJeremy Allison2007-10-241-5/+0
| | | | | | code - remove the restrictions from the original Postgres code. Jeremy. (This used to be commit bc9008aa1dcb66890795f0ff2d3046da7df867d9)
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-2464-1489/+2235
| | | | | | | | | | | | | | to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
* Fix for AIX interface code from Kyle Stemen <kstemen@centeris.com>Jeremy Allison2007-10-241-9/+16
| | | | | Jeremy. (This used to be commit 4d4ab9aeb9d85b4c98cbf8a8363a9cefecd4b365)
* handle wellknown sids in winbindd_passwd.cStefan Metzmacher2007-10-241-1/+2
| | | | | metze (This used to be commit 251bd4ea4cdd0a751ed3b91562272221af148e37)
* [crash fix] don't use already free'ed memoryStefan Metzmacher2007-10-241-2/+2
| | | | | | | | | (found by "make valgrindtest" and my "start winbindd on make test" patch) metze (cherry picked from commit fe21e48489852720a05b305b251e4f5cbb200f7a) (cherry picked from commit 26d8a1ad20c10da495970c584983fbd261b4946e) (This used to be commit a128a8805e172738334ec6854548f138c335058b)
* ignore source/cscope.outStefan Metzmacher2007-10-241-1/+2
| | | | | metze (This used to be commit 49b2b8784b75c10cdf6e91de6a06f0ca435089cc)
* added a syncops VFS module for filesystems which do not guarantee meta-data ↵Andrew Tridgell2007-10-233-1/+217
| | | | | | operations are immediately committed to disk in stable form. Essential for clustered Samba setups (This used to be commit 8b19cb17b9ae9e1cd4a96df6e7dedb75aff7ee96)
* Reorder pthread mutex check so that it doesn't output its resultJames Peach2007-10-221-12/+13
| | | | | in the middle of the output for the winbind nss check. (This used to be commit 1eddefa72cefd0c6836ddbe8eaef074ce732b0d9)
* r25573: Add my (C) as wellSimo Sorce2007-10-221-0/+1
| | | | | (cherry picked from commit a024e27e7136deb87aeed995348a1c494a850ce6) (This used to be commit 37ee6f498b175b8f3b7e75eba8dd7c709327384c)
* r25571: split up child_dispatch_table into domain, idmap and locator tablesStefan Metzmacher2007-10-225-41/+87
| | | | | | metze (cherry picked from commit abbb36a37c1dba2218a6c7ec31739eba5f250127) (This used to be commit 5af1b45ed31043f952ec141d0f5f2973aec69d1a)
* r25570: move code of the locator child into its own fileStefan Metzmacher2007-10-223-64/+91
| | | | | metze (This used to be commit 56640908a6367acfdfd53568a0d329c13330e5eb)
* r25569: move more idmap stuff into winbindd_idmap.cStefan Metzmacher2007-10-222-12/+12
| | | | | | metze (cherry picked from commit 953229f040580071f6ee09413f67f7edd3227728) (This used to be commit 590954407b5badfb9d6b8fb55077dc6a520fb816)