1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

22862 Commits

Author SHA1 Message Date
Michael Adam
be626225ef Rerun make idl. To remove irritating semicolon.
Michael
(This used to be commit 3e1f88c90e4c5721381778062edfe6e681c8eec3)
2008-02-26 16:06:07 +01:00
Michael Adam
75f56b1ad2 Add libnet_join.idl to the IDL files to be processed by "make idl".
Michael
(This used to be commit 9b47a7329091b2bfe7cd9b2112ac8fa652ed9f60)
2008-02-26 16:06:07 +01:00
Michael Adam
379fa9baae make idl: Only compile idl files newer than the output to be generated.
Fix "if" condition in build_idl.sh to not always evaluate as false.

Michael
(This used to be commit 79c199d16e565eabd9fd971247f8df62689bb92a)
2008-02-26 16:06:07 +01:00
Michael Adam
7bdd648477 libreplace: Add tests for connect and gethostbyname.
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-26 13:56:12 +01:00
Michael Adam
df3939da94 configure: put swat-part of config into m4-include file of its own.
Michael
(This used to be commit 622667c0790c0092bfceced8dc6fb05e781ac5e7)
2008-02-26 13:56:12 +01:00
Michael Adam
9f5c463415 Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.
Michael
(This used to be commit 7b98620ef16c6969fd21dd9c157aedd4adb117a3)
2008-02-26 11:55:39 +01:00
Karolin Seeger
79fa62a1bf Fix some typos.
Karolin
(This used to be commit 71f05a1f9656c4a50dd4b8b08575be6536e92288)
2008-02-26 10:26:10 +01:00
Michael Adam
32dd341119 Fix build on some systems : don't pass libraries to mkproto.awk
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-25 17:24:52 +01:00
Michael Adam
b46bf47171 Fix the build on OpenBSD: ENOTSUP is not always defined.
Michael
(This used to be commit 2e4028162f3a93c677a57b96de8f0cb2f892e73b)
2008-02-25 17:06:09 +01:00
Volker Lendecke
3176392878 Fix some warnings
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
(This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)
2008-02-25 16:09:26 +01:00
Volker Lendecke
cd95385207 Correctly check return of rename(2)
Bug 5279 -- Thanks to Max Matveev
(This used to be commit 71641f04d4e9a41775e898f2e4ac3c8792783cd3)
2008-02-25 13:05:18 +01:00
Volker Lendecke
43491db17c Fix inotify detection
Bug 5271 -- thanks to Tiziano Müller
(This used to be commit 4a1a138b0fe0f2200e5a37a0609481e4340a896c)
2008-02-25 12:58:56 +01:00
Stefan Metzmacher
1f635e3888 make test: pass --option=torture:sharedelay=100000 to samba4 smbtorture
BASE-DEFER_OPEN is now more strict with incorrect timing

metze
(This used to be commit 9b761062df80c45bf2b76af071131d0c78e94a09)
2008-02-25 11:34:44 +01:00
Volker Lendecke
c7522804a5 Do the formatting change in all 3 places :-)
(This used to be commit d32066eaef1d09ec41fd5365e18eacd93e485d53)
2008-02-25 09:55:53 +01:00
Volker Lendecke
90ad42fad3 Fix confusing error message -- bug 5252
Thanks to Walter Franzini
(This used to be commit 19de47fef1b35c47885acc40760a232e4643079c)
2008-02-25 09:51:33 +01:00
Volker Lendecke
fcee8fee63 Allow "max mux" async i/o requests
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-24 11:39:59 +01:00
Volker Lendecke
21b6a03678 Export aio_request_done()
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-24 11:39:57 +01:00
Michael Adam
658b72916f Fix aix-build of libtalloc.so by exporting all necessary symbols.
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-24 01:00:39 +01:00
Volker Lendecke
db9db9cef9 AIO on streams does not work (yet...)
(This used to be commit 1ba223f202a070a695581e0d7161473a3ebf4332)
2008-02-24 00:05:40 +01:00
Volker Lendecke
a5e43bc817 Fix typo
(This used to be commit 621db68f32f7007de8b2c4d7cf604a5778725615)
2008-02-23 21:40:39 +01:00
Volker Lendecke
44b2ba6880 Fix a C++ warning
(This used to be commit c4cab9e1c1f4975d970665f85838b2dea023d5fc)
2008-02-23 11:04:13 +01:00
Volker Lendecke
6548493de7 Fix a C++ warning
(This used to be commit ac027a9b2e84d319f961ac0e84654a0e48920138)
2008-02-23 11:04:13 +01:00
Volker Lendecke
fdf4e84e2b Check return value of pipe(2)
(This used to be commit 49da21c03a1a5801fba4b12837cccf2887e0d8f0)
2008-02-23 11:04:13 +01:00
Volker Lendecke
333c0aabc9 Check return value of dup(2)
(This used to be commit d34701d49cf5b30f5b9963dab5643b4b62704413)
2008-02-23 11:04:13 +01:00
Volker Lendecke
6dfb2614d8 Fix a C++ warning
(This used to be commit d993b4c3cea6ead74ff1e031ee9a42f2aa39a9f1)
2008-02-23 11:04:13 +01:00
Volker Lendecke
cef18563bb Check the return value of fgets
(This used to be commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)
2008-02-23 11:04:13 +01:00
Volker Lendecke
9712e3c11c make idl: Check return value of asprintf
(This used to be commit d9fb7d7bdcd0e54838ff0b1cb64a7e75d8cd726a)
2008-02-23 10:54:59 +01:00
Jeremy Allison
29d70de83c Fix "used uninitialized" errors.
Jeremy.
(This used to be commit 06d15d8a9f94a50337ebf6f651a004bb8b4821f3)
2008-02-22 16:19:59 -08:00
Jeremy Allison
6cdd527fed Fix debug messages.
Jeremy.
(This used to be commit d265cedb55b07c6b8a13b9632fbdf8a05fbba886)
2008-02-22 16:12:57 -08:00
Jeremy Allison
49a367ed32 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit bcc5371b8e7f369e8d830d9cf687089514997248)
2008-02-22 13:38:03 -08:00
Simo Sorce
d88e40106f Make sure mount.cifs.c compiles on Fedora 9 with gcc 4.3
(This used to be commit ce57d388251063c22f89680e9d1c2129d9879975)
2008-02-22 14:10:28 -05:00
Volker Lendecke
14aa57a9e3 Don't use fname after create_file has been called
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-22 17:15:09 +01:00
Michael Adam
0f0998a06b libreplace: don't use socketwrapper for getifaddrs() implementations.
Michael
(This used to be commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
2008-02-22 14:13:28 +01:00
Michael Adam
6a27493578 libreplace: Fix comment originating from old samba source.
Michael
(cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
(This used to be commit ddf7ac4f266e59871191c6e0a14e99b01a1dc8b1)
2008-02-22 10:48:18 +01:00
Michael Adam
e033fdbde2 Not all implementations of struct ifaddrs define ifa_broadaddr.
E.g. the definition of libreplace doesn't. :-o

Michael
(This used to be commit 25341602ec8752e19ab993872dc2f6c4762785ff)
2008-02-22 10:43:42 +01:00
Michael Adam
5c6db777e4 Remove the implementations of _get_interfaces and autoconf test in interfaces.c
getifaddrs() is now provided by libreplace.

Michael
(This used to be commit 7970901223464745f99cea883b180316189e4b2c)
2008-02-22 01:59:45 +01:00
Michael Adam
cc32d4c316 libreplace: fix creation of conftest files for getifaddrs tests.
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.

Michael
(This used to be commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
2008-02-22 00:36:20 +01:00
Michael Adam
e3d1f512cf Fix linked list of ifaddrs in implementations of rep_getifaddrs.
Produce proper list instead of one-node-loop.

Michael
(This used to be commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
2008-02-22 00:36:20 +01:00
Michael Adam
e2ec7931ff Add missing initalizations of lastif in rep_getifaddr implementations.
Michael
(This used to be commit 65710e752f72070cb911867ff9f31f91904ca5c0)
2008-02-22 00:36:20 +01:00
Jeremy Allison
5df1d8d550 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 9dabde1f3e5ba3d98e4e02d8c2a0706dc4f48c18)
2008-02-21 11:03:35 -08:00
Karolin Seeger
7428f00d22 Change option name.
xattr:tdb -> xattr_tdb:file (according to the other vfs option names)

Karolin
(This used to be commit a2230ccc1700af02f5a5caedd2e66e6f4c14bb5c)
2008-02-21 19:34:48 +01:00
Jeremy Allison
3a376f1cfa Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit beb0a76b93f9dd054dbc4192516e7008e59b27d9)
2008-02-21 09:53:00 -08:00
Michael Adam
bf6dbf8e1b libreplace: fix compile errors in getifaddrs.c
Michael
(This used to be commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
2008-02-21 18:16:10 +01:00
Michael Adam
357659b1d0 Try and fix getifaddrs check on irix: dont't try to include config.h
The missing header file is judged "catastrophic" on irix.

Michael
(This used to be commit 5778c90819a5a5cee38be690f442c571f3a6a051)
2008-02-21 17:56:33 +01:00
Michael Adam
0d7f555335 Move the definition of SMB_LIBRARY to aclocal.m4.
Michael
(This used to be commit 4724b13ed8dce4721f95979803ba32f815ceaf1a)
2008-02-21 14:07:45 +01:00
Michael Adam
d29c816b61 configure: Abstract configuration of internal libs into an m4 macro.
New subsystem libraries can now be added by specifying SMB_LIBRARY(name).

Michael
(This used to be commit 54d73769c49eb87ecb33e3229a01214972b53858)
2008-02-21 12:59:42 +01:00
Volker Lendecke
21387a4c5e fix typo
(This used to be commit 2d51bf67fc33e1f8f28151277fc254b82a04b664)
2008-02-21 11:40:22 +01:00
Michael Adam
63592eebbb Remove check for secure mkstemp from configure.in.
It has moved to libreplace.

Michael
(This used to be commit b5e894cb3b4d447bd8e8c3f461508c4cf3f630c1)
2008-02-21 10:27:56 +01:00
Michael Adam
48302a28a9 Remove mmap check from configure.in
It is available in libreplace.

Michael
(This used to be commit 310c121faf5effeca9ab0df3591c486dd4982749)
2008-02-21 10:27:56 +01:00
Michael Adam
e823c9f237 Fix the build on irix: Prevent empty line in TDB_OBJ
This leads to a Makfile syntax error in the prerequisites for
bin/smbd. Wow, irix is really picky!

Michael
(This used to be commit 011f24c6c95c92417d877886ad87d2a2dd82056e)
2008-02-21 10:27:56 +01:00