Volker Lendecke [Tue, 19 Sep 2006 21:41:02 +0000 (21:41 +0000)]
r18686: Fix typo protocl->protocol
(This used to be commit
14b88fefa088b39ca1e6b7d0ef08310d233c6788)
Stefan Metzmacher [Tue, 19 Sep 2006 21:33:40 +0000 (21:33 +0000)]
r18685: we don't need this here
metze
(This used to be commit
cc729e646c5e3cb7919d033f90bda1dce545ff6b)
Rafal Szczesniak [Tue, 19 Sep 2006 19:15:36 +0000 (19:15 +0000)]
r18683: NET-USERMOD test changed to be able to perform multiple simultaneous
changes.
Also, some common definitions for user mod tests have been put into
a separate file.
rafal
(This used to be commit
0040c087481be68d44a0b59744be5c5e569fd8a4)
Rafal Szczesniak [Tue, 19 Sep 2006 19:10:14 +0000 (19:10 +0000)]
r18682: a bit of a change in setfield function.
one more change to do...
rafal
(This used to be commit
43b550c83b9e595ba140a89df5683574513a3a4c)
Simo Sorce [Tue, 19 Sep 2006 15:39:21 +0000 (15:39 +0000)]
r18676: Don't mix ShareInfo and ShareCtr definitions,
this makes a much more readable include file
(This used to be commit
e3b157af9f870c4c2423095c5ccb1bbcaf3faa61)
Stefan Metzmacher [Tue, 19 Sep 2006 03:51:45 +0000 (03:51 +0000)]
r18675: merge from samba3:
we need to define the macros the indicate we have bool
even if we have not defining bool ourself
metze
(This used to be commit
0c18e5d9383883f696113837a9e2d1bc078f18b1)
Stefan Metzmacher [Tue, 19 Sep 2006 03:48:31 +0000 (03:48 +0000)]
r18674: merge from samba3,
PRINTF_ATTRIBUTE seems to not work with gcc 3.0
metze
(This used to be commit
dfb9bfba943bb4954101e7e02fa5a68046817162)
Stefan Metzmacher [Tue, 19 Sep 2006 01:34:53 +0000 (01:34 +0000)]
r18668: fix ref pointer related bugs, we should watch the compiler warnings!
only cc on us4 bailed out...
metze
(This used to be commit
35da9e4f4ff6082ea938c9c72992015f8b26280c)
Volker Lendecke [Tue, 19 Sep 2006 00:55:40 +0000 (00:55 +0000)]
r18661: C++ warnings
(This used to be commit
771d30ca0c9d108b800bcfe33069f38dc4382662)
Rafal Szczesniak [Tue, 19 Sep 2006 00:27:49 +0000 (00:27 +0000)]
r18658: make the test change fields sequentially each one in turn.
now to multiple changes...
rafal
(This used to be commit
6df2c04e03ac6b7d518edfee7fd6a5de299bf9d4)
Rafal Szczesniak [Tue, 19 Sep 2006 00:25:55 +0000 (00:25 +0000)]
r18657: handle the case where rpc call went fine, but the result
not necessariy did.
rafal
(This used to be commit
69c379cc636d2ccd454ea21c7ccebf27dd84e40d)
Rafal Szczesniak [Tue, 19 Sep 2006 00:24:41 +0000 (00:24 +0000)]
r18656: fix stupid mistake causing segfaults in torture test
and also add one more field to be set.
rafal
(This used to be commit
e2621d00638f7dbf9f0bf862d2841da73f26d0af)
Rafal Szczesniak [Tue, 19 Sep 2006 00:23:55 +0000 (00:23 +0000)]
r18655: add more fields and better handle the error case where fields
setting routine don't know how to do that (and user info level
is invalid).
rafal
(This used to be commit
a7564931a72069f5ddc86956bc573f448a3c99f7)
Jelmer Vernooij [Mon, 18 Sep 2006 21:52:00 +0000 (21:52 +0000)]
r18639: Get rid of the keepref support
(This used to be commit
d1364ef0cd8f1a64f44476476323ab390ac4de48)
Günther Deschner [Mon, 18 Sep 2006 21:03:03 +0000 (21:03 +0000)]
r18637: Fix the build. Sorry,
Guenther
(This used to be commit
d6cc668a6c1dcf45d06a1f666d5341f2a6e7f131)
Günther Deschner [Mon, 18 Sep 2006 21:00:00 +0000 (21:00 +0000)]
r18636: Excessive testing with pam_winbind within Samba3 revealed a new samr
reject reason code while password changing: SAMR_REJECT_IN_HISTORY which
is different from SAMR_REJECT_COMPLEXITY.
torture test to follow as well.
Guenther
(This used to be commit
7513748208214339e764cc990aa1dbbcf864975a)
Günther Deschner [Mon, 18 Sep 2006 20:56:54 +0000 (20:56 +0000)]
r18635: Make sure to display samr_GroupAttrs in samr_DispInfo for groups instead
of interpreting them as samr_AcctFlags.
Guenther
(This used to be commit
ed02c1afc82391f5aeb7caa9a6cd942b1b95e630)
Jelmer Vernooij [Mon, 18 Sep 2006 20:52:26 +0000 (20:52 +0000)]
r18634: Turn flags field into a bitmap.
(This used to be commit
add8a8f6cf2335efbbbe8e77d8ea76e81449b2d6)
Günther Deschner [Mon, 18 Sep 2006 20:44:54 +0000 (20:44 +0000)]
r18633: Add a couple of new WERR codes encountered with dfs torture testing.
Guenther
(This used to be commit
e2879f6fc21e5ca96b24ed11e4a460a0ebada8c3)
Rafal Szczesniak [Mon, 18 Sep 2006 20:28:47 +0000 (20:28 +0000)]
r18631: correct unintentional commit.
rafal
(This used to be commit
c68ec9109e970d899672b8c9db12c181ff6c3b59)
Günther Deschner [Mon, 18 Sep 2006 20:21:52 +0000 (20:21 +0000)]
r18630: Better way to display ref-pointers with [print]. Thanks to metze for
pointing this out.
Guenther
(This used to be commit
246ab597057325611b5e53e6240ee8cabd3b6df7)
Günther Deschner [Mon, 18 Sep 2006 20:20:22 +0000 (20:20 +0000)]
r18629: There is no such "unknown" pointer in dfs_Enum().
Guenther
(This used to be commit
c5b49d111eec8acde1a8681c56d14d5d1316798b)
Günther Deschner [Mon, 18 Sep 2006 20:19:43 +0000 (20:19 +0000)]
r18628: dfs_EnumEx() also takes a ref pointer.
Guenther
(This used to be commit
69e2850caffb089e8c23d773a688319d239f470f)
Günther Deschner [Mon, 18 Sep 2006 20:18:50 +0000 (20:18 +0000)]
r18627: only cosmetic reformat, no functional changes.
Guenther
(This used to be commit
fe90f29b86fb0240337ea8b549cd6f2f7f2eb5ca)
Rafal Szczesniak [Mon, 18 Sep 2006 20:08:28 +0000 (20:08 +0000)]
r18626: fix cleanup function to safely recover after interrupted test
and add one requested field in to the function creating testing
set of changes for user modify routine.
rafal
(This used to be commit
f6d4f356b3de03baa3d1672730195668bbfdc9c7)
Günther Deschner [Mon, 18 Sep 2006 20:00:51 +0000 (20:00 +0000)]
r18625: dfs_GetManagerVersion() returns a version number, not just an exist
flag.
Guenther
(This used to be commit
3e42ccc6096198458f66841f91234f670ceb59c4)
Günther Deschner [Mon, 18 Sep 2006 19:51:27 +0000 (19:51 +0000)]
r18624: path is a ref pointer in dfs_GetInfo().
torture test to follow.
Guenther
(This used to be commit
bfaeef756316852fbaa4a2bbc31b190b8b05c89f)
Rafal Szczesniak [Mon, 18 Sep 2006 17:33:23 +0000 (17:33 +0000)]
r18615: add more time fields and fix a silly mistake.
rafal
(This used to be commit
06e0c5d1664143f212f72fff9d9f43447b16b1d5)
Rafal Szczesniak [Mon, 18 Sep 2006 17:32:13 +0000 (17:32 +0000)]
r18614: a bit of work done while on the plane.
a new function converting NTTIME to struct timeval
rafal
(This used to be commit
e9ebbb8661ac6efc5bf07798a64cdb9f7c7eea50)
Günther Deschner [Mon, 18 Sep 2006 10:00:19 +0000 (10:00 +0000)]
r18611: Do not return NT_STATUS_OK when libnet_Add|DelShare has failed.
Guenther
(This used to be commit
1709ad741b43a19eaeef9e0a64e70a52132c088b)
Günther Deschner [Mon, 18 Sep 2006 09:58:53 +0000 (09:58 +0000)]
r18610: Fix typo.
Guenther
(This used to be commit
759914a07e1f85617c82ee5f4a6f3193fb9cc111)
Günther Deschner [Mon, 18 Sep 2006 09:54:44 +0000 (09:54 +0000)]
r18609: error_string should not contain newlines.
Guenther
(This used to be commit
556666756418ad50c533199c736fe3696a7e20cb)
Stefan Metzmacher [Mon, 18 Sep 2006 09:02:50 +0000 (09:02 +0000)]
r18607: remove unused structure element
rafal: is there a reason why we don't use libnet_AddShare() in the torture test?
metze
(This used to be commit
070a98379a78eb46ff808521e375c9874c1c0d1c)
Andrew Tridgell [Mon, 18 Sep 2006 04:19:13 +0000 (04:19 +0000)]
r18604: fixed shell syntax
(This used to be commit
61104953c82442b9ef0817c077f4b91741fa3aa8)
Andrew Tridgell [Mon, 18 Sep 2006 01:54:12 +0000 (01:54 +0000)]
r18602: updated web page for new ldb build method
(This used to be commit
36c35262f23fec20feff99a87b185b74c1f176c2)
Andrew Tridgell [Mon, 18 Sep 2006 01:51:57 +0000 (01:51 +0000)]
r18601: updated web page for new talloc build method
(This used to be commit
fbd8028080108cd920ee0a65bdb10de2eb419cde)
Andrew Tridgell [Mon, 18 Sep 2006 01:31:57 +0000 (01:31 +0000)]
r18600: - fix shell syntax in tests for libraries
- add library test for libpopt
(This used to be commit
13878b7e7ec65b21df954f83afc0e9ceb73e44a0)
Andrew Tridgell [Mon, 18 Sep 2006 01:08:19 +0000 (01:08 +0000)]
r18599: the netr_CryptPassword structure needs to use a uint8, as the data is
passed to acrfour, and that assumes a byte buffer. This caused us to
fail big endian boxes (or more specifically, to be incompatible with
little endian boxes)
(This used to be commit
a44f2eda1eeb134292111dd857f0f65e4bf96399)
Andrew Tridgell [Sun, 17 Sep 2006 20:01:56 +0000 (20:01 +0000)]
r18596: removed superfluous semicolon
(This used to be commit
4f3628dea69efce430bf96a42435025806853d90)
Andrew Tridgell [Sun, 17 Sep 2006 20:01:15 +0000 (20:01 +0000)]
r18595: try an experiment of adding a RPC test into the windows testing
framework
Brad, I know this is a bit hackish. We really need a "testit" like
function like in test_functions.sh
(This used to be commit
7120fbffa5560dcaf3d796cb72fa3a6b78a991d6)
Andrew Tridgell [Sun, 17 Sep 2006 19:17:41 +0000 (19:17 +0000)]
r18594: fail the configure step if the required library is not found for tdb,
talloc or libreplace
(This used to be commit
9f45f970f71ee5585bf3c924b9c77188405fa246)
Stefan Metzmacher [Sun, 17 Sep 2006 05:11:57 +0000 (05:11 +0000)]
r18593: try to get the same socket_wrapper file building in samba3 and samba4
this is preparation of adding libreplace to samba3 later.
metze
(This used to be commit
26228e4b2e8debd84caebe84bb34bfbbf2ad405c)
Stefan Metzmacher [Sun, 17 Sep 2006 05:10:00 +0000 (05:10 +0000)]
r18592: we don't need this twice
metze
(This used to be commit
e9fe725cf4021943e939f493b967e0ef5a438622)
Simo Sorce [Sun, 17 Sep 2006 03:00:05 +0000 (03:00 +0000)]
r18591: Better defaults for share creation
Fix logic error in paged_results
(This used to be commit
34ce1f8e1bab2debb508aa8bf478231389a77d42)
Simo Sorce [Sun, 17 Sep 2006 00:15:13 +0000 (00:15 +0000)]
r18590: Some more work on the srvsvc pipe
(This used to be commit
2c035787d47c6055c4081021f30d08929f178ca3)
Andrew Tridgell [Sat, 16 Sep 2006 20:52:57 +0000 (20:52 +0000)]
r18589: make inclusion of net/if.h conditional. It breaks HPUX with gcc.
(This used to be commit
ac71f40f8ff13c422e528dd5013842aa5a5004e7)
Andrew Tridgell [Sat, 16 Sep 2006 19:27:51 +0000 (19:27 +0000)]
r18588: save one more character in the socket wrapper path - seems it still
was occasionally too long for IRIX 6.4
(This used to be commit
f6b65fd631ede9b53c3a8c7a300b3b6bad9f6c52)
Andrew Tridgell [Sat, 16 Sep 2006 17:59:33 +0000 (17:59 +0000)]
r18587: fixed a potential memory leak in libnet
(This used to be commit
935f6f34cfbec0cba6df246b7ef9fdfd604aad38)
Andrew Tridgell [Sat, 16 Sep 2006 17:57:50 +0000 (17:57 +0000)]
r18586: fixed a potential fd and memory leak in the socket_wrapper code
(This used to be commit
6d53f2f5bc3a008f957be9e32df6830e1e29e8ed)
Andrew Tridgell [Sat, 16 Sep 2006 17:26:55 +0000 (17:26 +0000)]
r18585: 50 open searches is still too many for some of the build farm hosts,
which have a ulimit -n of 100. Drop the number of searches to 20.
That should limit the maximum total fd count to about 76, most of
which is all the listening sockets on the various interfaces
(This used to be commit
fb5b8c4f8c1ed69e3a813befeeb2a9627e84c454)
Andrew Tridgell [Sat, 16 Sep 2006 16:59:37 +0000 (16:59 +0000)]
r18584: found one of the fd leaks. The registry backend was using a
talloc(NULL, xxx) to allocate the registry context. That had two
consequences
1) it was a massive memory leak, as all winreg operations leaked their
entire context (including an open ldb database) every time
2) event_context_find() never found the exsting event context, so we
used a new event context each time, which called epoll_create()
each time, which caused a fd to be allocated
(This used to be commit
1c0a3de39828b43149d8981fc7f10e7c8b59a392)
Andrew Tridgell [Sat, 16 Sep 2006 16:27:46 +0000 (16:27 +0000)]
r18583: a nasty hack to allow me to monitor the number of open file
descriptors in smbd on all build farm machines. I suspect we have a fd
leak somewhere, but its hard to track down.
I know part of the problem is the number of (fake) network interfaces
we define in the build farm tests, with each of them listening on a
whole bunch of different protocol ports. That chews up around 48 file
descriptors just to startup. I don't think thats the real problem
though, and I suspect something else is leaking file descriptors on
some hosts.
(This used to be commit
83bf458ec98d9f2a21b3748802f41abcbcc1e0b2)
Andrew Tridgell [Sat, 16 Sep 2006 15:51:41 +0000 (15:51 +0000)]
r18582: disable synchronous ldb in the build farm. Some hosts have very slow
filesystems and the tests are taking more than 1.5 hours. We will
still be testing the sync code paths, as the ldb tests still run
synchronous, but doing all of our other tests synchronously just costs
too much time.
(This used to be commit
ce2baf7385e019383ffb292bd30e77c31eecbbef)
Andrew Tridgell [Sat, 16 Sep 2006 15:37:45 +0000 (15:37 +0000)]
r18581: also check for SEC_STD_DELETE, and split out the check into a separate
static function
(This used to be commit
024ca6a91cdf2c0f8999c220b4459a72c45bfd32)
Andrew Tridgell [Sat, 16 Sep 2006 15:31:53 +0000 (15:31 +0000)]
r18580: map the PVFS_FLAG_READONLY bit in the posix backend onto
NT_STATUS_ACCESS_DENIED in the access mask checks
(This used to be commit
ceffc34f3e9f47a8a44dad52054688f9855eeb37)
Andrew Tridgell [Sat, 16 Sep 2006 14:58:51 +0000 (14:58 +0000)]
r18579: fixed boolean parameters on big endian hosts which have
sizeof(BOOL) != sizeof(int)
this broke with the conversion to a real BOOL type
(This used to be commit
75dab73ac603968ce49c605e07d43051dbfa7398)
Andrew Tridgell [Sat, 16 Sep 2006 05:07:36 +0000 (05:07 +0000)]
r18578: steve, I think you may have forgotten to commit test_cifsposix.sh ?
(This used to be commit
fea75d2c9732f91cb79e178ef6c57c3945e4f52e)
Andrew Tridgell [Sat, 16 Sep 2006 05:06:57 +0000 (05:06 +0000)]
r18577: reduce the number of tests run in 'make quicktest' again, so it
completes in a minute on my laptop (the benchmark I usually use).
Simo, I removed th ldb tests, as ldb is pretty well tested by lots of
the other tests, and its a pretty slow test. We could instead add a
"ldb-testquick.sh" which does only minimal testing. The full tests
will of course be run with 'make test' and in the build farm.
(This used to be commit
3cee6a7863bba61c92f94087df5c6442f02a2da7)
Andrew Tridgell [Sat, 16 Sep 2006 04:54:15 +0000 (04:54 +0000)]
r18576: unfortunately our current build farm results are a bit too good!
when I changed the test output to be easier to read, I also broke it
so that it always gives a zero exit status. Fix now, and unfortunately
I expect to see some more red in the farm as a result :(
(This used to be commit
c2fc3471023b613571089cb018638a40091d08ab)
Andrew Tridgell [Fri, 15 Sep 2006 23:00:32 +0000 (23:00 +0000)]
r18575: - use the right variable to teststatus
- don't display the "(NN tests failed so far)" message unless a test
has failed
(This used to be commit
da37e963cef065bb1c50543596e352c78e712ddc)
Andrew Tridgell [Fri, 15 Sep 2006 22:59:18 +0000 (22:59 +0000)]
r18574: re-enable the echo pipe in smbscript. I suspect disabling this was an
accidental part of commit in the recent echo.idl changes (in r18565)
(This used to be commit
5e143267d7ae18536f1a1be8966dc5e783ea867e)
Andrew Tridgell [Fri, 15 Sep 2006 22:56:45 +0000 (22:56 +0000)]
r18573: disable the echo.js testing of echo_TestCall() for now.
Jelmer, we need to fix pidl to be able to handle the double pointers
in the ejs generated code
(This used to be commit
63760acbb7ef6bc32e82ac843adf4f0155f0cb0a)
Andrew Tridgell [Fri, 15 Sep 2006 22:39:30 +0000 (22:39 +0000)]
r18571: try to make it a lot more obvious when 'make test' or 'make quicktest'
has failed. The output was too subtle for people who aren't used to
it.
(This used to be commit
a57decb96aee05d3238b64d50a136c8b8001f811)
Steve French [Fri, 15 Sep 2006 21:39:38 +0000 (21:39 +0000)]
r18570: Fix up function names in cifs unix/posix extensions backend. Enable tiny quick test for torture for them
(This used to be commit
64062d16a2cc215af320eb30827887eb2531e3b0)
Andrew Tridgell [Fri, 15 Sep 2006 21:05:03 +0000 (21:05 +0000)]
r18569: add really simple testing of the 'simple' ntvfs backend, so we know
when it breaks. It isn't much good as a template for developers to use
unless it works :-)
(This used to be commit
262bee07dcb140b413d5ae5a8a754b3e57235323)
Andrew Tridgell [Fri, 15 Sep 2006 20:57:29 +0000 (20:57 +0000)]
r18568: this warning is not needed now that it is the job of the unixuid ntvfs
module to handle euid
(This used to be commit
6784058923ef532da882830296f9bb5f58cddb43)
Andrew Tridgell [Fri, 15 Sep 2006 20:55:43 +0000 (20:55 +0000)]
r18567: fixed the winreg js code for the new names of the fields in winreg.idl
When changing a field name in idl, please remember to check for use of
those functions in any js code as well.
(This used to be commit
7005806aa6842ffc3d5ed98682f2aefc59759580)
Andrew Tridgell [Fri, 15 Sep 2006 20:36:38 +0000 (20:36 +0000)]
r18566: fixed the winreg pipe and winreg tests
Jerry, there is a big difference on the wire between these two:
[out] uint32 x;
and
[out] uint32 *x;
if you change from
[out] uint32 x;
then you need to change to:
[out,ref] uint32 *x;
otherwise it changes the format on the wire, which means we are no
longer compatible with MS servers.
but be aware that even if you change to a ref ptr, you also need to
change all the client code to set all the return variables in the out
part of the structure. That's why I don't like the MIDL restriction of
forcing the use of ref pointers for output variables - it makes life
much harder when writing client code, and makes the code much more
error prone (just look at all the extra code needed to make this work
again).
I know we could auto-allocate these variables in the generated client
side NDR code, but if we did that then we would have no way of doing a
_real_ ref out pointer, which we really wanted to set to some already
allocated variable.
So please hold off on changing our idl to use the MIDL convention for
output variables until Jelmer and I have had a good "chat" about this :-)
(This used to be commit
555aed43ba3c08360ca7fa921622b80732a7f657)
Jelmer Vernooij [Fri, 15 Sep 2006 20:07:55 +0000 (20:07 +0000)]
r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatible
(This used to be commit
ab0a798c57564901f0adcd8aedc1ef0928e79edd)
Steve French [Fri, 15 Sep 2006 19:24:38 +0000 (19:24 +0000)]
r18564: update for cifs unix/posix extensions stub version to build and beginnings of smbtorture test for it
(This used to be commit
57f56957176ca04f3abb579b557aade71f8d361d)
Andrew Tridgell [Fri, 15 Sep 2006 19:14:36 +0000 (19:14 +0000)]
r18563: - move more of the header checks into lib/replace/
- change the test for net/if.h to do a full compile, not just an
existance test. net/if.h is completely broken on hpux, and can never
compile (it uses stuff before it defines it), so by using a
AC_TRY_COMPILE() test we avoid using net/if.h on hpux, which should
fix the build
(This used to be commit
bde18f3d5ce837f600bae8d63f31d92a579fe1f2)
Gerald Carter [Fri, 15 Sep 2006 18:34:03 +0000 (18:34 +0000)]
r18561: Fix [out] pointers in winreg IDL
(This used to be commit
694677dafefdd94fa0a9bed93efab70c528dcb26)
Jelmer Vernooij [Fri, 15 Sep 2006 17:34:46 +0000 (17:34 +0000)]
r18559: [string] always applies to the last pointer
(This used to be commit
86b4624226d6e72645221cadb8669b0f1aba0903)
Simo Sorce [Fri, 15 Sep 2006 16:27:55 +0000 (16:27 +0000)]
r18558: Fix ShareCheck which was assuming all paths are "C:\"
Also cope with the fact that we define the FSTYPE as NTFS by default.
We never use this anywhere else, so we may just change it, but just
detect the fact and return DISK in share_classic for now.
(This used to be commit
4daf5f7764ce69c14066f7320961c90141f0863a)
Stefan Metzmacher [Fri, 15 Sep 2006 14:42:24 +0000 (14:42 +0000)]
r18555: use C:\ as default not C:
metze
(This used to be commit
d9137edbdb61f2847453357b94050e5afc2fe68b)
Jelmer Vernooij [Fri, 15 Sep 2006 14:32:30 +0000 (14:32 +0000)]
r18554: Fix warnings about [out] arguments.
(This used to be commit
caac6cf817b09c864554e992f89437f6205b948b)
Stefan Metzmacher [Fri, 15 Sep 2006 14:30:23 +0000 (14:30 +0000)]
r18553: - confdefs.h is always included in configure checks no need to include them explicit
- undefine _XOPEN_SOURCE_EXTENDED for the AIX interface detection test
#define _XOPEN_SOURCE_EXTENDED 1 brings in sa_len to sockaddr on Tru64
which means the AIX code compiles...
metze
(This used to be commit
04a0a5144a249e12a9dcb327c5b6055e6a6135db)
Simo Sorce [Fri, 15 Sep 2006 12:45:08 +0000 (12:45 +0000)]
r18550: Return a path not just a disk drive
(This used to be commit
60076fa87d6c68295ebedc28cdbbd4556cfd0ae7)
Stefan Metzmacher [Fri, 15 Sep 2006 10:54:18 +0000 (10:54 +0000)]
r18549: move gcc version check to libreplace and reorder the tests a bit
for nicer output
metze
(This used to be commit
888a769af557d050d99df703ce5f651688c837c5)
Stefan Metzmacher [Fri, 15 Sep 2006 09:30:32 +0000 (09:30 +0000)]
r18548: don't use #elif as we don't notice when 2 HAVE_IFACE_ versions are defined
try to find the problem on Tru64...where configure says the AIX method finds 1 interface
but later can't compile netif.c. (revision 18486 was the last that detects ifconf with 2 interfaces)
metze
(This used to be commit
8fa9852160680054ddb5316c4ee03a03f8553a37)
Stefan Metzmacher [Fri, 15 Sep 2006 08:10:49 +0000 (08:10 +0000)]
r18545: if yapp isn't availabe touch the target file, as it is commited to svn,
to prevent rebuilding.
we do
make everything
make everything
make bin/smbtorture
make test
in the buildfarm and rebuilding parts isn't that nice
metze
(This used to be commit
212fa7977d514f81ce4301902a8038869ee02b4e)
Stefan Metzmacher [Fri, 15 Sep 2006 07:54:13 +0000 (07:54 +0000)]
r18544: - use AC_LIBREPLACE_LOCATION_CHECKS in samba4
- to get the ordering right we need to specify AC_CANONICAL_BUILD explicit
- add AC_CANONICAL_TARGET
metze
(This used to be commit
1ea52d75849f004752cdbe11a3dddd10b4afe47d)
Simo Sorce [Fri, 15 Sep 2006 05:18:53 +0000 (05:18 +0000)]
r18542: Some late nite work.
Now we can add and remove a share from the "Computer Management"
console (not yet modify!) usinf share backend = ldb
(This used to be commit
ae2f6d4a5a372a37b9783a02bb8e7f16588b21f0)
Andrew Tridgell [Fri, 15 Sep 2006 03:29:08 +0000 (03:29 +0000)]
r18541: with 100 old style searches we can run out of file descriptors on some
systems. drop to 50
(This used to be commit
ce5d5a187264af2b87e2919bdcc5f478cce02df9)
Andrew Tridgell [Fri, 15 Sep 2006 03:24:15 +0000 (03:24 +0000)]
r18540: show the additional smbd output from each test, rather than only
showing on test failure and showing all the smbd output each time.
(This used to be commit
1dfac4666423d7e0565795e3eae72da7e25a5b54)
Andrew Tridgell [Thu, 14 Sep 2006 20:08:21 +0000 (20:08 +0000)]
r18539: 'make distclean' should delete config.cache
(This used to be commit
5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
Andrew Tridgell [Thu, 14 Sep 2006 20:07:45 +0000 (20:07 +0000)]
r18538: we need a pipe here, not a logical OR
also fix cn name for this record, and ensure tests/tmp is created
(This used to be commit
588c91f06b90467279600fe6a1222273b5d53915)
Andrew Tridgell [Thu, 14 Sep 2006 19:36:26 +0000 (19:36 +0000)]
r18537: after testing for poptGetContext, if the test fails, don't try to use
the external popt (this affects hpisgr8)
(This used to be commit
9afbd60f91bca84dd645372ed7139e42f712384d)
Andrew Tridgell [Thu, 14 Sep 2006 18:50:12 +0000 (18:50 +0000)]
r18536: fixed the loading of external binary files from ldif into ldb
(This used to be commit
fbe13ed83e2f3508db6d77f4bd65a913ef12ff02)
Andrew Tridgell [Thu, 14 Sep 2006 18:46:10 +0000 (18:46 +0000)]
r18535: move the AC_CANONICAL_HOST and host specific flag tests into
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.
Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
(This used to be commit
823cd3ab35456769dcefee17bdaca21f01ba0f63)
Andrew Tridgell [Thu, 14 Sep 2006 16:08:13 +0000 (16:08 +0000)]
r18528: work around what appears to be a compiler bug in gcc on irix. It
caused the RPC-SECRETS test to crash smbd in an inlined version of
this memcmp() call. This patch should have absolutely no effect at
all, but in fact it prevents the crash.
Disassembling at the point of the crash, it shows that gcc is inlining
the memcmp(). I don't know enough MIPS assembler to actually spot the
bug. In case anyone reading this does know MIPS assembler, here is the
gcc generated code that crashes:
0x105e0218 <gssapi_krb5_verify_header+168>: lw $t1,52($sp)
0x105e021c <gssapi_krb5_verify_header+172>: lw $t1,0($t1)
0x105e0220 <gssapi_krb5_verify_header+176>: lhu $t1,0($t1)
0x105e0224 <gssapi_krb5_verify_header+180>: lw $t2,68($sp)
0x105e0228 <gssapi_krb5_verify_header+184>: lhu $t2,0($t2)
0x105e022c <gssapi_krb5_verify_header+188>: subu $t1,$t1,$t2
it gets a segv at 0x105e0220.
lha, what do you think of this? The change should be innocuous on all
other platforms, apart from making the code harder to read :(
(This used to be commit
95455b57893c99d6d2dc20c4f75042ae4c1cfe85)
Jelmer Vernooij [Thu, 14 Sep 2006 13:37:17 +0000 (13:37 +0000)]
r18524: Pre-allocate out arguments.
(This used to be commit
0ee42669d3a5ec062ec14ecda94342b0df519964)
Jelmer Vernooij [Thu, 14 Sep 2006 12:25:41 +0000 (12:25 +0000)]
r18523: Allow [out] on arrays as well as pointers, use in unixinfo.
(This used to be commit
f67b4d58acd2c3746e5ffeffa804e888ca3c49a5)
Jelmer Vernooij [Thu, 14 Sep 2006 12:23:02 +0000 (12:23 +0000)]
r18522: It's probably not a good idea to use rpc_netdfs_init() as initialization
function name for _all_ RPC servers...
(This used to be commit
234272e39d7dc79f5e7e0399aebf5681a92981b2)
Andrew Tridgell [Thu, 14 Sep 2006 12:18:44 +0000 (12:18 +0000)]
r18521: implement volkers suggestion for avoiding the type punning warnings
(This used to be commit
9b9f058edb033c999c4430add4f05459ac43c9e2)
Jelmer Vernooij [Thu, 14 Sep 2006 12:08:06 +0000 (12:08 +0000)]
r18520: Add note about warnings on [out] arrays.
(This used to be commit
7a2afc3e0c0e8c0e9360805e8b4326e257b1e9dc)
Andrew Tridgell [Thu, 14 Sep 2006 11:55:49 +0000 (11:55 +0000)]
r18518: we replace snprintf() if its not C99, so we should also add the rep_
prototype in that case
(This used to be commit
64b5ff171d04bd93bd41309edfbe532c01a46e4f)
Andrew Tridgell [Thu, 14 Sep 2006 11:47:13 +0000 (11:47 +0000)]
r18517: I find it less confusing if tests are run in the order they are
added.
(This used to be commit
3e1844b2b229d6e84436d6c455bef707d0efcafc)
Andrew Tridgell [Thu, 14 Sep 2006 11:43:59 +0000 (11:43 +0000)]
r18516: I'm surprised that compilers allowed this at all
(This used to be commit
46aa8a5e8914184575fa6b9ec9edced8dd615eab)
Jelmer Vernooij [Thu, 14 Sep 2006 10:35:56 +0000 (10:35 +0000)]
r18515: Remove calls to "time" for now as some sh implementations don't have it,
causing this test to fail.
(This used to be commit
fc3f41a4ab38fd32386c5bdb1979cc26892afcf8)