summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * r18570: Fix up function names in cifs unix/posix extensions backend. Enable ↵Steve French2006-09-156-172/+236
| | | | | | | | | | | | | | | | tiny quick test for torture for them
| | | * r18569: add really simple testing of the 'simple' ntvfs backend, so we knowAndrew Tridgell2006-09-153-0/+40
| | | | | | | | | | | | | | | | | | | | when it breaks. It isn't much good as a template for developers to use unless it works :-)
| | | * r18568: this warning is not needed now that it is the job of the unixuid ntvfsAndrew Tridgell2006-09-151-2/+0
| | | | | | | | | | | | | | | | module to handle euid
| | | * r18567: fixed the winreg js code for the new names of the fields in winreg.idlAndrew Tridgell2006-09-151-6/+6
| | | | | | | | | | | | | | | | | | | | When changing a field name in idl, please remember to check for use of those functions in any js code as well.
| | | * r18566: fixed the winreg pipe and winreg testsAndrew Tridgell2006-09-153-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 :-)
| | | * r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatibleJelmer Vernooij2006-09-156-7/+21
| | | |
| | | * r18564: update for cifs unix/posix extensions stub version to build and ↵Steve French2006-09-155-13/+21
| | | | | | | | | | | | | | | | beginnings of smbtorture test for it
| | | * r18563: - move more of the header checks into lib/replace/Andrew Tridgell2006-09-152-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
| | | * r18561: Fix [out] pointers in winreg IDLGerald Carter2006-09-154-30/+30
| | | |
| | | * r18559: [string] always applies to the last pointerJelmer Vernooij2006-09-152-2/+32
| | | |
| | | * r18558: Fix ShareCheck which was assuming all paths are "C:\"Simo Sorce2006-09-153-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.
| | | * r18555: use C:\ as default not C:Stefan Metzmacher2006-09-151-1/+1
| | | | | | | | | | | | | | | | metze
| | | * r18554: Fix warnings about [out] arguments.Jelmer Vernooij2006-09-151-5/+9
| | | |
| | | * r18553: - confdefs.h is always included in configure checks no need to ↵Stefan Metzmacher2006-09-151-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
| | | * r18550: Return a path not just a disk driveSimo Sorce2006-09-151-1/+9
| | | |
| | | * r18549: move gcc version check to libreplace and reorder the tests a bitStefan Metzmacher2006-09-152-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | for nicer output metze
| | | * r18548: don't use #elif as we don't notice when 2 HAVE_IFACE_ versions are ↵Stefan Metzmacher2006-09-151-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
| | | * r18545: if yapp isn't availabe touch the target file, as it is commited to svn,Stefan Metzmacher2006-09-151-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
| | | * r18544: - use AC_LIBREPLACE_LOCATION_CHECKS in samba4Stefan Metzmacher2006-09-152-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - to get the ordering right we need to specify AC_CANONICAL_BUILD explicit - add AC_CANONICAL_TARGET metze
| | | * r18542: Some late nite work.Simo Sorce2006-09-155-26/+246
| | | | | | | | | | | | | | | | | | | | Now we can add and remove a share from the "Computer Management" console (not yet modify!) usinf share backend = ldb
| | | * r18541: with 100 old style searches we can run out of file descriptors on someAndrew Tridgell2006-09-151-1/+1
| | | | | | | | | | | | | | | | systems. drop to 50
| | | * r18540: show the additional smbd output from each test, rather than onlyAndrew Tridgell2006-09-151-2/+14
| | | | | | | | | | | | | | | | showing on test failure and showing all the smbd output each time.
| | | * r18539: 'make distclean' should delete config.cacheAndrew Tridgell2006-09-144-6/+4
| | | |
| | | * r18538: we need a pipe here, not a logical ORAndrew Tridgell2006-09-141-1/+2
| | | | | | | | | | | | | | | | also fix cn name for this record, and ensure tests/tmp is created
| | | * r18537: after testing for poptGetContext, if the test fails, don't try to useAndrew Tridgell2006-09-141-1/+1
| | | | | | | | | | | | | | | | the external popt (this affects hpisgr8)
| | | * r18536: fixed the loading of external binary files from ldif into ldbAndrew Tridgell2006-09-142-4/+13
| | | |
| | | * r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell2006-09-1414-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?
| | | * r18528: work around what appears to be a compiler bug in gcc on irix. ItAndrew Tridgell2006-09-141-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 :(
| | | * r18524: Pre-allocate out arguments.Jelmer Vernooij2006-09-141-0/+33
| | | |
| | | * r18523: Allow [out] on arrays as well as pointers, use in unixinfo.Jelmer Vernooij2006-09-143-5/+6
| | | |
| | | * r18522: It's probably not a good idea to use rpc_netdfs_init() as ↵Jelmer Vernooij2006-09-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | initialization function name for _all_ RPC servers...
| | | * r18521: implement volkers suggestion for avoiding the type punning warningsAndrew Tridgell2006-09-142-3/+4
| | | |
| | | * r18520: Add note about warnings on [out] arrays.Jelmer Vernooij2006-09-141-0/+2
| | | |
| | | * r18518: we replace snprintf() if its not C99, so we should also add the rep_Andrew Tridgell2006-09-141-2/+2
| | | | | | | | | | | | | | | | prototype in that case
| | | * r18517: I find it less confusing if tests are run in the order they areAndrew Tridgell2006-09-141-1/+1
| | | | | | | | | | | | | | | | added.
| | | * r18516: I'm surprised that compilers allowed this at allAndrew Tridgell2006-09-141-2/+2
| | | |
| | | * r18515: Remove calls to "time" for now as some sh implementations don't have ↵Jelmer Vernooij2006-09-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | it, causing this test to fail.
| | | * r18514: fix configure caching of AC_VERIFY_C_PROTOTYPE() macroStefan Metzmacher2006-09-141-3/+3
| | | | | | | | | | | | | | | | metze
| | | * r18505: add configure checks for telldir() and seekdir()Stefan Metzmacher2006-09-143-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
| | | * r18504: Handle mappings for RENAME and KEEP attributes better. We don't needAndrew Bartlett2006-09-142-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
| | | * r18503: - _GNU_SOURCE is defined by libreplaceStefan Metzmacher2006-09-142-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | - move AS_HELP_STRING replacement to libreplace metze
| | | * r18502: remove unused linesStefan Metzmacher2006-09-141-10/+0
| | | | | | | | | | | | | | | | metze
| | | * r18501: libreplace needs 'long long', bailout if not presentStefan Metzmacher2006-09-143-18/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | or the size is not 8 bytes or more. samba4 doesn't need type checks anymore metze
| | | * r18500: move make related checks into its own fileStefan Metzmacher2006-09-143-37/+44
| | | | | | | | | | | | | | | | metze
| | | * r18499: this hopefully lets the code compile on OpenBSDStefan Metzmacher2006-09-141-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
| | | * r18498: While passing stack values into torture_tcase_add_test is bad, valuesAndrew Bartlett2006-09-141-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assigned into a static initialiser must be constant. Wishing sweet dreams on the jet-lagged tridge :-) Andrew Bartlett
| | | * r18497: fixed crash bug in irpc test - the torture_tcase_add_test() callAndrew Tridgell2006-09-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is passed a stack pointer from values[], which is not valid when the torture suite is run. Jelmer, need to be careful when converting test code not to use stack values from the torture_XXX() call in the test suite
| | | * r18496: yet another dlopen valgrind suppressionAndrew Tridgell2006-09-141-0/+11
| | | |
| | | * r18495: More work on the LDAP backend (which now passes a lot of our tests!)Andrew Bartlett2006-09-147-78/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a list of attributes that are in our wildcard seaches, but the remote server requires to be explicitly listed. This also cleans up the handling of wildcards in ldb_map to be more consistant. Also fix the partitions module to rebase the search, if on the GC port, we do a subtree search. (Otherwise backends can rightly complain that the search is not in their scope). Andrew Bartlett
| | | * r18494: don't count 'DWARF2 CFI reader' messages as valgrind failuresAndrew Tridgell2006-09-141-1/+1
| | | |