summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-02-26add a function to truncate a file to a specified sizeDerrell Lipman1-0/+49
(This used to be commit 7e5752812d6d9e3bcf9a545cbdcf3afe2175dbc4)
2008-02-26Add variable to define if a share should be hidden.Andreas Schneider2-4/+6
If you create a share on a Windows machine called foo$ then this share is of the type STYPE_DISKTREE. So it is possible to administrate this kind of share. Tested on Windows NT and 2003. In samba we assume that if a share with a $ at the end must be of the type STYPE_DISKTREE_HIDDEN. This is wrong, so we need a variable in the config to define if the share should be hidden or not. (This used to be commit a3da677bf0faed56e6731ee96708a7847a61d118)
2008-02-26Rerun make idl. To remove irritating semicolon.Michael Adam1-2/+0
Michael (This used to be commit 3e1f88c90e4c5721381778062edfe6e681c8eec3)
2008-02-26Add libnet_join.idl to the IDL files to be processed by "make idl".Michael Adam1-1/+1
Michael (This used to be commit 9b47a7329091b2bfe7cd9b2112ac8fa652ed9f60)
2008-02-26make idl: Only compile idl files newer than the output to be generated.Michael Adam1-1/+1
Fix "if" condition in build_idl.sh to not always evaluate as false. Michael (This used to be commit 79c199d16e565eabd9fd971247f8df62689bb92a)
2008-02-26libreplace: Add tests for connect and gethostbyname.Michael Adam5-0/+96
Provide dummy replacements when a function isnt found. The functions are also searched for in certain libraries, and variables SOCKET_LIBS and NSL_LIBS are set accordingly. One purpose of this is to fix the getifaddrs tests on systems where e.g. the socket calls require special libs for linking. Michael (This used to be commit c19f7a0e1004213f95e0bf8db5cd1f6697c7a47b)
2008-02-26configure: put swat-part of config into m4-include file of its own.Michael Adam2-16/+28
Michael (This used to be commit 622667c0790c0092bfceced8dc6fb05e781ac5e7)
2008-02-26Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.Michael Adam1-5/+5
Michael (This used to be commit 7b98620ef16c6969fd21dd9c157aedd4adb117a3)
2008-02-26Fix some typos.Karolin Seeger1-3/+3
Karolin (This used to be commit 71f05a1f9656c4a50dd4b8b08575be6536e92288)
2008-02-25Fix build on some systems : don't pass libraries to mkproto.awkMichael Adam1-1/+1
Currently, some static libraries have gone into object lists that are also passed to make proto. (This should probably be changed...) Then some awk versions fail when passed an non- existing lib/libtdb.a e.g.. This patch changes mkproto.sh to exclude \.a files from the list of files to process. Michael (This used to be commit 826b9ab07b58ca39350cca921002a4213ce7c7c9)
2008-02-25Fix the build on OpenBSD: ENOTSUP is not always defined.Michael Adam1-0/+4
Michael (This used to be commit 2e4028162f3a93c677a57b96de8f0cb2f892e73b)
2008-02-25Fix some warningsVolker Lendecke13-57/+86
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result (This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)
2008-02-25Correctly check return of rename(2)Volker Lendecke1-1/+1
Bug 5279 -- Thanks to Max Matveev (This used to be commit 71641f04d4e9a41775e898f2e4ac3c8792783cd3)
2008-02-25Fix inotify detectionVolker Lendecke2-2/+8
Bug 5271 -- thanks to Tiziano Müller (This used to be commit 4a1a138b0fe0f2200e5a37a0609481e4340a896c)
2008-02-25make test: pass --option=torture:sharedelay=100000 to samba4 smbtortureStefan Metzmacher1-0/+2
BASE-DEFER_OPEN is now more strict with incorrect timing metze (This used to be commit 9b761062df80c45bf2b76af071131d0c78e94a09)
2008-02-25Do the formatting change in all 3 places :-)Volker Lendecke1-3/+7
(This used to be commit d32066eaef1d09ec41fd5365e18eacd93e485d53)
2008-02-25Fix confusing error message -- bug 5252Volker Lendecke1-3/+5
Thanks to Walter Franzini (This used to be commit 19de47fef1b35c47885acc40760a232e4643079c)
2008-02-24Allow "max mux" async i/o requestsVolker Lendecke1-5/+9
In the negprot reply, we allowed the client to issued "max mux" concurrent requests. The OS might allow less, for example AFAIK AIX has a configurable limit of concurrent AIO requests. We will fall back to sync operation for the requests that are too many when aio_read/aio_write return an error. Jeremy, please check! (This used to be commit 8f86f7f25c4eb71bbdfcc6bf2d12eaaae9a8d9ec)
2008-02-24Export aio_request_done()Volker Lendecke1-3/+9
This is for external modules implementing the Posix AIO API that not necessarily depend on the signal mechanism to indicate completion. (This used to be commit 9a069d306bb6f8a2cd51b8ba87b433884942d13f)
2008-02-24Fix aix-build of libtalloc.so by exporting all necessary symbols.Michael Adam1-1/+1
Use -bexpfull instead of -bexpall for LDSHFLAGS to also export symbols starting with "_". This exports all necessary symbols from libtalloc.so. Michael (This used to be commit 213ba3a719e77979c04b872f1d82f68e87287cb0)
2008-02-24AIO on streams does not work (yet...)Volker Lendecke1-0/+12
(This used to be commit 1ba223f202a070a695581e0d7161473a3ebf4332)
2008-02-23Fix typoVolker Lendecke1-2/+2
(This used to be commit 621db68f32f7007de8b2c4d7cf604a5778725615)
2008-02-23Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit c4cab9e1c1f4975d970665f85838b2dea023d5fc)
2008-02-23Fix a C++ warningVolker Lendecke1-1/+2
(This used to be commit ac027a9b2e84d319f961ac0e84654a0e48920138)
2008-02-23Check return value of pipe(2)Volker Lendecke1-1/+2
(This used to be commit 49da21c03a1a5801fba4b12837cccf2887e0d8f0)
2008-02-23Check return value of dup(2)Volker Lendecke1-2/+6
(This used to be commit d34701d49cf5b30f5b9963dab5643b4b62704413)
2008-02-23Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit d993b4c3cea6ead74ff1e031ee9a42f2aa39a9f1)
2008-02-23Check the return value of fgetsVolker Lendecke1-1/+4
(This used to be commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)
2008-02-23make idl: Check return value of asprintfVolker Lendecke17-250/+125
(This used to be commit d9fb7d7bdcd0e54838ff0b1cb64a7e75d8cd726a)
2008-02-22Fix "used uninitialized" errors.Jeremy Allison1-2/+6
Jeremy. (This used to be commit 06d15d8a9f94a50337ebf6f651a004bb8b4821f3)
2008-02-22Fix debug messages.Jeremy Allison1-4/+5
Jeremy. (This used to be commit d265cedb55b07c6b8a13b9632fbdf8a05fbba886)
2008-02-22Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison7-428/+45
v3-2-test (This used to be commit bcc5371b8e7f369e8d830d9cf687089514997248)
2008-02-22Make sure mount.cifs.c compiles on Fedora 9 with gcc 4.3Simo Sorce1-0/+1
(This used to be commit ce57d388251063c22f89680e9d1c2129d9879975)
2008-02-22Don't use fname after create_file has been calledVolker Lendecke3-18/+18
create_file calls unix_convert internally, so modifies fname. So we can't use "fname" after create_file has returned. Use fsp->fsp_name instead. Found during a lengthy debugging session with Karolin testing the xattr_tdb module... (This used to be commit 183fe570469963923864b732817a87f8660341ed)
2008-02-22libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam1-0/+2
Michael (This used to be commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
2008-02-22libreplace: Fix comment originating from old samba source.Michael Adam1-1/+1
Michael (cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96) (This used to be commit ddf7ac4f266e59871191c6e0a14e99b01a1dc8b1)
2008-02-22Not all implementations of struct ifaddrs define ifa_broadaddr.Michael Adam1-13/+3
E.g. the definition of libreplace doesn't. :-o Michael (This used to be commit 25341602ec8752e19ab993872dc2f6c4762785ff)
2008-02-22Remove the implementations of _get_interfaces and autoconf test in interfaces.cMichael Adam1-386/+0
getifaddrs() is now provided by libreplace. Michael (This used to be commit 7970901223464745f99cea883b180316189e4b2c)
2008-02-22libreplace: fix creation of conftest files for getifaddrs tests.Michael Adam1-4/+11
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE. Michael (This used to be commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
2008-02-22Fix linked list of ifaddrs in implementations of rep_getifaddrs.Michael Adam1-3/+3
Produce proper list instead of one-node-loop. Michael (This used to be commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
2008-02-22Add missing initalizations of lastif in rep_getifaddr implementations.Michael Adam1-3/+6
Michael (This used to be commit 65710e752f72070cb911867ff9f31f91904ca5c0)
2008-02-21Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-1/+1
v3-2-test (This used to be commit 9dabde1f3e5ba3d98e4e02d8c2a0706dc4f48c18)
2008-02-21Change option name.Karolin Seeger1-1/+1
xattr:tdb -> xattr_tdb:file (according to the other vfs option names) Karolin (This used to be commit a2230ccc1700af02f5a5caedd2e66e6f4c14bb5c)
2008-02-21Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison120-10456/+18693
v3-2-test (This used to be commit beb0a76b93f9dd054dbc4192516e7008e59b27d9)
2008-02-21libreplace: fix compile errors in getifaddrs.cMichael Adam1-6/+3
Michael (This used to be commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
2008-02-21Try and fix getifaddrs check on irix: dont't try to include config.hMichael Adam1-0/+3
The missing header file is judged "catastrophic" on irix. Michael (This used to be commit 5778c90819a5a5cee38be690f442c571f3a6a051)
2008-02-21Move the definition of SMB_LIBRARY to aclocal.m4.Michael Adam2-67/+67
Michael (This used to be commit 4724b13ed8dce4721f95979803ba32f815ceaf1a)
2008-02-21configure: Abstract configuration of internal libs into an m4 macro.Michael Adam1-125/+45
New subsystem libraries can now be added by specifying SMB_LIBRARY(name). Michael (This used to be commit 54d73769c49eb87ecb33e3229a01214972b53858)
2008-02-21fix typoVolker Lendecke1-1/+1
(This used to be commit 2d51bf67fc33e1f8f28151277fc254b82a04b664)
2008-02-21Remove check for secure mkstemp from configure.in.Michael Adam1-22/+0
It has moved to libreplace. Michael (This used to be commit b5e894cb3b4d447bd8e8c3f461508c4cf3f630c1)