summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18577: reduce the number of tests run in 'make quicktest' again, so itAndrew Tridgell3-7/+11
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)
2007-10-10r18576: unfortunately our current build farm results are a bit too good!Andrew Tridgell1-1/+1
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)
2007-10-10r18575: - use the right variable to teststatusAndrew Tridgell2-2/+7
- don't display the "(NN tests failed so far)" message unless a test has failed (This used to be commit da37e963cef065bb1c50543596e352c78e712ddc)
2007-10-10r18574: re-enable the echo pipe in smbscript. I suspect disabling this was anAndrew Tridgell1-5/+5
accidental part of commit in the recent echo.idl changes (in r18565) (This used to be commit 5e143267d7ae18536f1a1be8966dc5e783ea867e)
2007-10-10r18571: try to make it a lot more obvious when 'make test' or 'make quicktest'Andrew Tridgell5-33/+40
has failed. The output was too subtle for people who aren't used to it. (This used to be commit a57decb96aee05d3238b64d50a136c8b8001f811)
2007-10-10r18570: Fix up function names in cifs unix/posix extensions backend. Enable ↵Steve French6-172/+236
tiny quick test for torture for them (This used to be commit 64062d16a2cc215af320eb30827887eb2531e3b0)
2007-10-10r18569: add really simple testing of the 'simple' ntvfs backend, so we knowAndrew Tridgell3-0/+40
when it breaks. It isn't much good as a template for developers to use unless it works :-) (This used to be commit 262bee07dcb140b413d5ae5a8a754b3e57235323)
2007-10-10r18568: this warning is not needed now that it is the job of the unixuid ntvfsAndrew Tridgell1-2/+0
module to handle euid (This used to be commit 6784058923ef532da882830296f9bb5f58cddb43)
2007-10-10r18567: fixed the winreg js code for the new names of the fields in winreg.idlAndrew Tridgell1-6/+6
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)
2007-10-10r18566: fixed the winreg pipe and winreg testsAndrew Tridgell3-11/+31
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)
2007-10-10r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatibleJelmer Vernooij6-7/+21
(This used to be commit ab0a798c57564901f0adcd8aedc1ef0928e79edd)
2007-10-10r18564: update for cifs unix/posix extensions stub version to build and ↵Steve French5-13/+21
beginnings of smbtorture test for it (This used to be commit 57f56957176ca04f3abb579b557aade71f8d361d)
2007-10-10r18563: - move more of the header checks into lib/replace/Andrew Tridgell2-9/+27
- 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)
2007-10-10r18561: Fix [out] pointers in winreg IDLGerald Carter4-30/+30
(This used to be commit 694677dafefdd94fa0a9bed93efab70c528dcb26)
2007-10-10r18559: [string] always applies to the last pointerJelmer Vernooij2-2/+32
(This used to be commit 86b4624226d6e72645221cadb8669b0f1aba0903)
2007-10-10r18558: Fix ShareCheck which was assuming all paths are "C:\"Simo Sorce3-14/+135
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)
2007-10-10r18555: use C:\ as default not C:Stefan Metzmacher1-1/+1
metze (This used to be commit d9137edbdb61f2847453357b94050e5afc2fe68b)
2007-10-10r18554: Fix warnings about [out] arguments.Jelmer Vernooij1-5/+9
(This used to be commit caac6cf817b09c864554e992f89437f6205b948b)
2007-10-10r18553: - confdefs.h is always included in configure checks no need to ↵Stefan Metzmacher1-3/+1
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)
2007-10-10r18550: Return a path not just a disk driveSimo Sorce1-1/+9
(This used to be commit 60076fa87d6c68295ebedc28cdbbd4556cfd0ae7)
2007-10-10r18549: move gcc version check to libreplace and reorder the tests a bitStefan Metzmacher2-12/+10
for nicer output metze (This used to be commit 888a769af557d050d99df703ce5f651688c837c5)
2007-10-10r18548: don't use #elif as we don't notice when 2 HAVE_IFACE_ versions are ↵Stefan Metzmacher1-3/+9
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)
2007-10-10r18545: if yapp isn't availabe touch the target file, as it is commited to svn,Stefan Metzmacher1-2/+4
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)
2007-10-10r18544: - use AC_LIBREPLACE_LOCATION_CHECKS in samba4Stefan Metzmacher2-0/+4
- to get the ordering right we need to specify AC_CANONICAL_BUILD explicit - add AC_CANONICAL_TARGET metze (This used to be commit 1ea52d75849f004752cdbe11a3dddd10b4afe47d)
2007-10-10r18542: Some late nite work.Simo Sorce5-26/+246
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)
2007-10-10r18541: with 100 old style searches we can run out of file descriptors on someAndrew Tridgell1-1/+1
systems. drop to 50 (This used to be commit ce5d5a187264af2b87e2919bdcc5f478cce02df9)
2007-10-10r18540: show the additional smbd output from each test, rather than onlyAndrew Tridgell1-2/+14
showing on test failure and showing all the smbd output each time. (This used to be commit 1dfac4666423d7e0565795e3eae72da7e25a5b54)
2007-10-10r18539: 'make distclean' should delete config.cacheAndrew Tridgell4-6/+4
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
2007-10-10r18538: we need a pipe here, not a logical ORAndrew Tridgell1-1/+2
also fix cn name for this record, and ensure tests/tmp is created (This used to be commit 588c91f06b90467279600fe6a1222273b5d53915)
2007-10-10r18537: after testing for poptGetContext, if the test fails, don't try to useAndrew Tridgell1-1/+1
the external popt (this affects hpisgr8) (This used to be commit 9afbd60f91bca84dd645372ed7139e42f712384d)
2007-10-10r18536: fixed the loading of external binary files from ldif into ldbAndrew Tridgell2-4/+13
(This used to be commit fbe13ed83e2f3508db6d77f4bd65a913ef12ff02)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell14-45/+12241
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)
2007-10-10r18528: work around what appears to be a compiler bug in gcc on irix. ItAndrew Tridgell1-1/+1
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)
2007-10-10r18524: Pre-allocate out arguments.Jelmer Vernooij1-0/+33
(This used to be commit 0ee42669d3a5ec062ec14ecda94342b0df519964)
2007-10-10r18523: Allow [out] on arrays as well as pointers, use in unixinfo.Jelmer Vernooij3-5/+6
(This used to be commit f67b4d58acd2c3746e5ffeffa804e888ca3c49a5)
2007-10-10r18522: It's probably not a good idea to use rpc_netdfs_init() as initializationJelmer Vernooij1-2/+2
function name for _all_ RPC servers... (This used to be commit 234272e39d7dc79f5e7e0399aebf5681a92981b2)
2007-10-10r18521: implement volkers suggestion for avoiding the type punning warningsAndrew Tridgell2-3/+4
(This used to be commit 9b9f058edb033c999c4430add4f05459ac43c9e2)
2007-10-10r18520: Add note about warnings on [out] arrays.Jelmer Vernooij1-0/+2
(This used to be commit 7a2afc3e0c0e8c0e9360805e8b4326e257b1e9dc)
2007-10-10r18518: we replace snprintf() if its not C99, so we should also add the rep_Andrew Tridgell1-2/+2
prototype in that case (This used to be commit 64b5ff171d04bd93bd41309edfbe532c01a46e4f)
2007-10-10r18517: I find it less confusing if tests are run in the order they areAndrew Tridgell1-1/+1
added. (This used to be commit 3e1844b2b229d6e84436d6c455bef707d0efcafc)
2007-10-10r18516: I'm surprised that compilers allowed this at allAndrew Tridgell1-2/+2
(This used to be commit 46aa8a5e8914184575fa6b9ec9edced8dd615eab)
2007-10-10r18515: Remove calls to "time" for now as some sh implementations don't have it,Jelmer Vernooij1-2/+2
causing this test to fail. (This used to be commit fc3f41a4ab38fd32386c5bdb1979cc26892afcf8)
2007-10-10r18514: fix configure caching of AC_VERIFY_C_PROTOTYPE() macroStefan Metzmacher1-3/+3
metze (This used to be commit 8e49dc69e7d588c85c9e9e7b24b595c61c1da95a)
2007-10-10r18505: add configure checks for telldir() and seekdir()Stefan Metzmacher3-4/+47
telldir() is different on older OpenBSD versions seekdir() is different Tru64 tridge: OpenBSD seems to like this replacement:-) while MAC OS 10 gets 134 runtime error:-( lets wait what Tru64 will give metze (This used to be commit 1f4e602ff239b7feabb2dd1d6938dedf91bde5cd)
2007-10-10r18504: Handle mappings for RENAME and KEEP attributes better. We don't needAndrew Bartlett2-46/+68
to mess with the values in these cases. Where we do convert the values, try and convert substrings. This isn't going to be perfect, but we should try rather than segfault. This also avoids using the wrong arm of the union for the attribute name The change in the entryUUID module is to correct the case of sAMAccountName, due to the case sensitive ldap.js test. Andrew Bartlett (This used to be commit 81d9a692c1e74ec9078bf718003eafdba85b4324)
2007-10-10r18503: - _GNU_SOURCE is defined by libreplaceStefan Metzmacher2-7/+4
- move AS_HELP_STRING replacement to libreplace metze (This used to be commit ace406a36ebbed230bf6c844e4639bac5e6c9882)
2007-10-10r18502: remove unused linesStefan Metzmacher1-10/+0
metze (This used to be commit 37f55c08c304feddf2ca5d0d20deeb9a6317e2c3)
2007-10-10r18501: libreplace needs 'long long', bailout if not presentStefan Metzmacher3-18/+7
or the size is not 8 bytes or more. samba4 doesn't need type checks anymore metze (This used to be commit d8fdd05482fc6b9bfb48d72db6b467e3e5c05e4d)
2007-10-10r18500: move make related checks into its own fileStefan Metzmacher3-37/+44
metze (This used to be commit 6a6729fb7219ac7eb160b787827acdf1f7af7cc8)
2007-10-10r18499: this hopefully lets the code compile on OpenBSDStefan Metzmacher1-0/+6
the prototype was fixed in this revision http://www.openbsd.org/cgi-bin/cvsweb/src/include/dirent.h.diff?r1=1.15&r2=1.16 so we'll need a configure test to find the prototype of telldir later metze (This used to be commit c4da3b43640368aff98e501b6ca7801821fd2fbd)