1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

896 Commits

Author SHA1 Message Date
Jelmer Vernooij
f800cf250f Move standard make compilation rules to build/make.
(This used to be commit ceda3312a9)
2008-04-14 14:51:57 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf674)
2008-04-02 04:53:27 +02:00
Andrew Kroeger
0ea02e8126 mkrelease: Add checks to ensure run from top-level directory of repository.
(This used to be commit 7d4c02fdfc)
2008-03-28 22:53:01 -05:00
Andrew Bartlett
bf0db7eb03 Add a few more safety catches to the mkrelease.sh script.
Andrew Bartlett
(This used to be commit 96eb3f1691)
2008-03-29 14:37:09 +11:00
Andrew Bartlett
1d29ab2536 Don't leave release trees hanging around
Andrew Bartlett
(This used to be commit e06911de33)
2008-03-29 14:23:43 +11:00
Andrew Kroeger
7ddcb20d15 mkrelease: Update to work with Git instead of SVN.
(This used to be commit 66efff41a7)
2008-03-28 21:55:09 -05:00
Kai Blin
3dddbb5e26 make: Fix make valgrindtest-env
(This used to be commit f56912e3b5)
2008-03-18 10:54:28 +01:00
Jelmer Vernooij
21b54de82f Allow absolute paths to be specified to mkproto.pl.
(This used to be commit 46d8d02028)
2008-02-29 15:39:32 +01:00
Jelmer Vernooij
0a5647c0e7 Remove the now unused cflags script.
(This used to be commit f97cce2522)
2008-02-29 15:02:30 +01:00
Jelmer Vernooij
2ba62662f8 Remove sDefault as static variable.
(This used to be commit 16f36ce499)
2008-02-28 20:04:58 +01:00
Jelmer Vernooij
a3052e79f4 Use make variables in cflags file (now supported by cflags.pl)
(This used to be commit d746fcde10)
2008-02-11 19:28:59 +01:00
Jelmer Vernooij
6c7a400945 Support including files in the cflags.pl script.
(This used to be commit 742e50aeb5)
2008-02-11 19:10:21 +01:00
Stefan Metzmacher
ef4e560174 prepare the mkversion.sh infrastructure for git branches in the build-farm
metze
(cherry-picked from 1bf4c7fb20)
(This used to be commit 464668b07a)
2008-01-10 19:34:24 +01:00
Jelmer Vernooij
e644673c09 r26675: mkproto: Add --all argument, fix some perl warnings.
(This used to be commit a175ee6594)
2008-01-05 15:36:01 -06:00
Jelmer Vernooij
0dbdfc2218 r26657: pidl: Add basics for generating Python modules.
(This used to be commit f1960ca7c4)
2008-01-03 15:27:02 -06:00
Andrew Bartlett
bcdc491058 r26647: Mark 'valgrind_run' as executable
(This used to be commit d00b87caff)
2008-01-03 12:33:35 -06:00
Jelmer Vernooij
7d270f73bc r26603: Don't install no longer available upgrade script.
(This used to be commit 69e469d9e1)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
af7e3dadf9 r26561: Fix make gdbtest, valgrindtest and testenv for shared libs.
(This used to be commit d2b9055bc0)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
6915cad127 r26560: Add script for running in valgrind.
(This used to be commit cb5d6a9ee2)
2007-12-24 01:51:00 -06:00
Andrew Bartlett
0819903703 r25923: Make sure to install phpldapadmin-config.php
Andrew Bartlett
(This used to be commit 472dd7b318)
2007-12-21 05:45:04 +01:00
Stefan Metzmacher
13d7fbb51a r25733: fix filename substitution and bail out if yacc output isn't generated
metze
(This used to be commit 43911e4017)
2007-12-21 05:43:33 +01:00
Stefan Metzmacher
e12a4cb2f3 [GLUE] fix some executable bits on shell scripts
metze
(This used to be commit 76f1f7d701)
2007-12-21 05:21:31 +01:00
Jelmer Vernooij
da6d24c459 r25555: Remove support for BOOL, True and False.
(This used to be commit 18a2bcfa9e)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
ce7bccef5f r25449: Add convenience function for opening the default smb.conf for openchange.
(This used to be commit 5f023ef7a4)
2007-10-10 15:07:36 -05:00
Stefan Metzmacher
34da75652d r25419: fix generation of git revision calculation
metze
(This used to be commit 7f70d5e7b9)
2007-10-10 15:07:29 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839)
2007-10-10 15:07:25 -05:00
Andrew Bartlett
2606996653 r25354: Thanks to Amin Azez <azez@ufomechanic.net> for finally getting me to
fix a provision without an smb.conf already setup.

Andrew Bartlett
(This used to be commit a00044d229)
2007-10-10 15:07:16 -05:00
Stefan Metzmacher
b15e7316a4 r25297: - fix sed arguments to make the replacement work
- always add #include "config.h" in the first line

metze
(This used to be commit 7939f847bf)
2007-10-10 15:07:08 -05:00
Stefan Metzmacher
95b8ab07f0 r25115: move normalizing of the define string into a function
and replace '-' with '_' as '-' isn't a string constant in C

jelmer: I assume the "..". for the public header was a bug...

metze
(This used to be commit 5522ee1461)
2007-10-10 15:06:42 -05:00
Jelmer Vernooij
a43dd8b956 r25056: Install some extra files. Patch from Stefan Gohmann
(This used to be commit 1b13c91375)
2007-10-10 15:06:23 -05:00
Andrew Bartlett
15c1801a5c r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
(This used to be commit cda965e908)
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
9fd1b1c130 r25039: Rename service -> loadparm_service, use context more.
(This used to be commit ab417cb32b)
2007-10-10 15:05:45 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Andrew Bartlett
6f9ea168a6 r24822: Merge from SAMBA_4_0_RELEASE:
Update the mkrelease.sh script and mkversion.sh to make releasing correct
Samba4 tarballs harder to screw up.

Andrew Bartlett
(This used to be commit 5f9ca54b5c)
2007-10-10 15:03:16 -05:00
Andrew Bartlett
b7eae78794 r24819: We are preparing for alpha1, so update the mkversion script to cope with that.
Andrew Bartlett
(This used to be commit 6245da195b)
2007-10-10 15:03:16 -05:00
Jelmer Vernooij
1adedd108c r24724: Also install the .reg files for provisioning from an installed version.
(This used to be commit 9553c20ced)
2007-10-10 15:02:56 -05:00
Jelmer Vernooij
61ffa08f4c r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d9)
2007-10-10 15:02:54 -05:00
Jelmer Vernooij
8a1d019f53 r24709: Convert perl test harness output to subunit for nicer display.
(This used to be commit 1be11bd0a5)
2007-10-10 15:02:53 -05:00
Jelmer Vernooij
b409d4120f r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358)
2007-10-10 15:02:34 -05:00
Jelmer Vernooij
7ce6a75f4b r24338: Add callbacks for starting and finishing tests.
(This used to be commit 824833b59a)
2007-10-10 15:01:40 -05:00
Stefan Metzmacher
ee1ca9a410 r23684: Only use the bzr and git information when there's
a .bzr or .git in the top branch directory

I use bzr for my home directory and
bzr version-info in ~/devel/samba/4.0/samba4-git
gives the info about the ~/.bzr branch

metze
(This used to be commit 7bb81c1fc3)
2007-10-10 14:59:01 -05:00
Stefan Metzmacher
91e68b1d90 r23681: merge 23670 from SAMBA_3_0:
metze
(This used to be commit 446312df74)
2007-10-10 14:59:00 -05:00
Kai Blin
a1d45c6280 r23605: Update mkversion.sh to support git and git-svn checkouts.
Jerry, did I get you right that you'll merge this to 3_0 yourself?

Kai
(This used to be commit 03be540ee3)
2007-10-10 14:53:28 -05:00
Jelmer Vernooij
576b1c84fb r23542: Include function documentation in prototype headers.
(This used to be commit 03eef5f337)
2007-10-10 14:53:26 -05:00
Jelmer Vernooij
c2781df0d5 r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_.
(This used to be commit 44248f662f)
2007-10-10 14:53:08 -05:00
Andrew Bartlett
af1c3c64b0 r23262: Fix mkrelease.sh to work in the right directories
(This used to be commit db8d78f187)
2007-10-10 14:53:07 -05:00
Andrew Bartlett
86a4886e39 r23189: Work towards a totally scripted setup of LDAP backends, so others can
easily try this out.

I also intend to use this for the selftest, but I'm chasing issues
with the OpenlDAP (but not Fedora DS) backend.

Andrew Bartlett
(This used to be commit 0f457b1d2e)
2007-10-10 14:53:02 -05:00
Andrew Bartlett
5fb459e4fa r23177: Add in a new provision-backend script. This helps set up the OpenLDAP or Fedora DS backend.
This required a new mkdir() call in ejs.

We can now provision just the schema for ad2oLschema to operate on
(with provision_schema(), without performing the whole provision, just
to wipe it again (adjustments to 'make test' to come soon).

Andrew Bartlett
(This used to be commit 01d54d13dc)
2007-10-10 14:53:00 -05:00
Jelmer Vernooij
dc919c2534 r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl
(This used to be commit 222acbe33b)
2007-10-10 14:52:59 -05:00
Stefan Metzmacher
d3f30cab1e r22997: only if the output of which has a leading '/' the output is useful...
metze
(This used to be commit 34968bef6d)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
1e84e4026e r22575: move script/tests/ -> selftest/
as discussed with jelmer and abartlet

metze
(This used to be commit e9fe3c40e1)
2007-10-10 14:51:46 -05:00
Stefan Metzmacher
c36eedf35c r22571: - don't use "localhost" anymore in our tests
- use different passwords for dc and member

metze
(This used to be commit 9e882cbde2)
2007-10-10 14:51:46 -05:00
Stefan Metzmacher
498166904d r22570: run the NBT tests against DC and MEMBER
metze
(This used to be commit 307cee21e4)
2007-10-10 14:51:45 -05:00
Stefan Metzmacher
ba204fe350 r22569: use the $SERVER_IP for the LDAP-* tests because I'll later change
$SERVER from localhost to localdc.

we should find out why this is needed and add explicit name resolution
in related code...

metze
(This used to be commit 8336e85aad)
2007-10-10 14:51:45 -05:00
Stefan Metzmacher
d17ae2fe82 r22568: use the $SERVER_IP for the NET-* tests because I'll later change
$SERVER from localhost to localdc

mimir: please take a look why that's needed at all, as it shouldn't:-)

metze
(This used to be commit b06a9a00cf)
2007-10-10 14:51:45 -05:00
Rafal Szczesniak
2096de0b8d r22567: add NET-API-DOMLIST test to automatic testing.
rafal
(This used to be commit 69a6f655aa)
2007-10-10 14:51:45 -05:00
Andrew Bartlett
b006d86e65 r22556: Make the slapd command valid.
Andrew Bartlett
(This used to be commit dfb2fd2b2a)
2007-10-10 14:51:43 -05:00
Stefan Metzmacher
b8fdea2172 r22552: this doesn't need a dc
metze
(This used to be commit 56a86c7cc7)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
99b2851f46 r22551: use fixed passwords, to make it possible to reproduce stuff
and look into krb5 blobs when using wireshark on
--socket-wrapper-pcap created files

metze
(This used to be commit eaf4b9c0ee)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
ecc37e1dac r22550: nmblookup -U needs an ip address otherwise we depend on gethostbyname()
metze
(This used to be commit 5533fc5063)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
c1195e0e60 r22549: export some more info ipaddress and in member env also the
details of the dc

metze
(This used to be commit 0c8c1c55f4)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
e5b0977897 r22548: - maintain a global array of exported envvars
- make it possible to specify the envname for make testenv:
  SELFTEST_TESTENV=member make testenv

metze
(This used to be commit b6b57dd9c9)
2007-10-10 14:51:41 -05:00
Stefan Metzmacher
5d78a487b8 r22547: fix some pathes and make sure we work with relative and abslute prefix pathes
metze
(This used to be commit dc3df1ca43)
2007-10-10 14:51:41 -05:00
Stefan Metzmacher
18d141a3cf r22544: use the same syntax as in all other files
maybe that fixes make test on all sun hosts...

metze
(This used to be commit 2597152126)
2007-10-10 14:51:40 -05:00
Andrew Bartlett
6d69e67dfd r22498: The initial LDIF import into Fedora DS didn't work, so just push this
onto the end of dse.ldif.

This make Fedora DS work with multiple naming contexts.

Andrew Bartlett
(This used to be commit 43deee4f93)
2007-10-10 14:51:33 -05:00
Andrew Bartlett
f1851e7abc r22494: Skip subSchema again, but we will need to remap this objectClass.
Make the Fedora DS backend test again.

Andrew Bartlett
(This used to be commit 65327a0e4d)
2007-10-10 14:51:33 -05:00
Andrew Bartlett
3d4c4c5fa3 r22478: Update the LDAP backend code to handle initialisation of multiple
partitions onto the target LDAP server.

Make the LDAP provision run before smbd starts, then stop the LDAP
server.  This ensures this occurs synchronously, We then restart it
for the 'real run' (with slapd's stdin being the FIFO).

This required fixing a few things in the provision scripts, with more
containers being created via a add/modify pair.

Andrew Bartlett
(This used to be commit 860dfa4ea1)
2007-10-10 14:51:31 -05:00
Andrew Bartlett
c6343915bf r22427: Abort in a few more cases of failure to provision.
Andrew Bartlett
(This used to be commit 113544876f)
2007-10-10 14:51:19 -05:00
Stefan Metzmacher
66a9f1e276 r22420: fix smbd timeout
metze
(This used to be commit 3ac671bd5c)
2007-10-10 14:51:17 -05:00
Stefan Metzmacher
86d376e484 r22414: use more portable perl
hopefully fix solaris 8...

metze
(This used to be commit 103df4465e)
2007-10-10 14:51:16 -05:00
Stefan Metzmacher
3c070cb7c4 r22409: try to fix selftest.pl on systems with old perl versions
metze
(This used to be commit 81a2a144df)
2007-10-10 14:51:16 -05:00
Stefan Metzmacher
b9ed2cc4ba r22398: try to let all tests pass 5400 seconds is not enough
with the amount of tests we run now.

metze
(This used to be commit b0a1f730f9)
2007-10-10 14:51:13 -05:00
Stefan Metzmacher
3e6c45455f r22384: print out the total selftest runtime
and the time for each test

we hit the max runtime of smbd on some hosts

metze
(This used to be commit 7b173c3421)
2007-10-10 14:51:12 -05:00
Stefan Metzmacher
8b3830fbbf r22383: maybe this fixes the mkdir not enough args failure
on sun1

metze
(This used to be commit 8b8152b490)
2007-10-10 14:51:11 -05:00
Stefan Metzmacher
fdae545292 r22380: get the output of the exited smbd...
this shows all the memory leaks now...

metze
(This used to be commit 29c0b56449)
2007-10-10 14:51:11 -05:00
Stefan Metzmacher
fefc459b8f r22378: none needs to be checked first
metze
(This used to be commit 7688919ab8)
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
e4fb7098cd r22377: implement check_env() for samba4
metze
(This used to be commit 4fe8e724ef)
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
e2deb00136 r22375: implement check_env() logic in the frontend
metze
(This used to be commit 0b48ca5d3e)
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
49f71c5c97 r22374: fix perl warnings
metze
(This used to be commit e8dd140a03)
2007-10-10 14:51:09 -05:00
Stefan Metzmacher
558e5ddc52 r22361: warnings.pm isn't available on solaris 8
metze
(This used to be commit a21a86543f)
2007-10-10 14:51:07 -05:00
Stefan Metzmacher
ad6b43ae3b r22360: print out the name of the PCAP file and move setup and cleanup
of pcap files into functions

metze
(This used to be commit dea42ce559)
2007-10-10 14:51:07 -05:00
Stefan Metzmacher
1711fed0dd r22359: try to fix the start failures in the build-farm by creating the prefix dir
before using abs_path()

metze
(This used to be commit a3f35f5af4)
2007-10-10 14:51:07 -05:00
Jelmer Vernooij
efe1883d9b r22356: Simple refactoring.
(This used to be commit 913aa17b02)
2007-10-10 14:51:06 -05:00
Jelmer Vernooij
a60ab76694 r22339: Run some more tests.
(This used to be commit 1b73e6a776)
2007-10-10 14:51:06 -05:00
Jelmer Vernooij
8636c243d6 r22338: Allow regexes in known-failures file
(This used to be commit 74efac5ce2)
2007-10-10 14:51:05 -05:00
Stefan Metzmacher
08a44496d1 r22337: print out the smbd log output after each test
metze
(This used to be commit b6b95180d3)
2007-10-10 14:51:05 -05:00
Stefan Metzmacher
cef04ba64f r22335: output the error code
metze
(This used to be commit cf3a176615)
2007-10-10 14:51:05 -05:00
Stefan Metzmacher
249174cfc5 r22334: don't print the test output if the test passed
(in build-farm mode)

use scalar(localtime()) instead of system("date")

metze
(This used to be commit d1d485fd0c)
2007-10-10 14:51:04 -05:00
Andrew Bartlett
38f9de8ae5 r22333: Use kerberos and the ntvfs/cifs backend for just one test, in the
quicktest.

Andrew Bartlett
(This used to be commit cf9508cd56)
2007-10-10 14:51:04 -05:00
Stefan Metzmacher
f4ec06d8db r22332: escape bad chars with '_' to form a nice filename
metze
(This used to be commit 3d3c0b36cb)
2007-10-10 14:51:04 -05:00
Stefan Metzmacher
f9e5d77b9c r22331: remove run_test_buildfarm() function
and pass buildfarm specific msg_ops to run_test()
instead

metze
(This used to be commit e102863020)
2007-10-10 14:51:03 -05:00
Stefan Metzmacher
ab9b8d3604 r22329: abstract the output handling of run_test()
via function pointers

metze
(This used to be commit 4a77fc9cf5)
2007-10-10 14:51:03 -05:00
Jelmer Vernooij
21379ee620 r22326: Merge some more test improvements.
(This used to be commit 3f85eab590)
2007-10-10 14:51:03 -05:00
Stefan Metzmacher
45e8a27d98 r22312: avoid the need of typing 'run' into each gdb xterm
if someone knows how to tell gdb to only exit
if 'run' exists clean via the if/else logic
please tell me!

see http://davis.lbl.gov/Manuals/GDB/gdb_20.html#SEC194)
but there's no useful example :-(

metze
(This used to be commit 4a95e89308)
2007-10-10 14:51:01 -05:00
Stefan Metzmacher
cc098d19bc r22311: use different ip-addresses for dc and member
metze
(This used to be commit d5b13e7923)
2007-10-10 14:51:01 -05:00
Stefan Metzmacher
8934c3f68e r22307: when no lex or yacc is found:
- just touch $DEST if it's already there and newer than $SRC
- touch $DEST if it's already there but older than $SRC and print warnings
  to stderr
- otherwise return an error

when lex or yacc is found:
- just touch $DEST if it's already there and newer than $SRC
- otherwise regenerate $DEST from $SRC using lex or yacc

I don't like that every 'make' tries to regenerate because the timestamp
of $DEST is never updated...

metze
(This used to be commit 10ed5c3969)
2007-10-10 14:51:00 -05:00
Stefan Metzmacher
86a137b6cc r22305: fix make test using a absolute path for
--with-selftest-prefix

metze
(This used to be commit b9dc78c3ad)
2007-10-10 14:50:59 -05:00
Andrew Bartlett
0ca8807734 r22295: Use delegated credentials and kerberos to test the pass-though
authenticatication as well as the ntvfs/cifs layer.

Andrew Bartlett
(This used to be commit a59ec710ce)
2007-10-10 14:50:58 -05:00
Andrew Bartlett
bcf43e1eb0 r22292: Start the LDAP server inside the same fifo as smbd, as OpenLDAP (like
smbd, but not Fedora DS yet) will then shut down when it looses stdin.

This avoids leaving stray slapd processes around, if we don't finish
the script to run the kill.

Also set KRB5_CONFIG in the smbd process again, as we do actually need
this...

Andrew Bartlett
(This used to be commit 24ca1e180c)
2007-10-10 14:50:57 -05:00
Andrew Bartlett
ed4df962f4 r22290: Fedora DS is incredibly picky about newlines...
(This used to be commit 0e80f456e8)
2007-10-10 14:50:57 -05:00
Jelmer Vernooij
fabbcb6104 r22289: Another fedora ds fix
(This used to be commit 25a7eabc6b)
2007-10-10 14:50:57 -05:00
Andrew Bartlett
15416dc72e r22288: Somehow, Jelmer lost a few capital letters. I'll send him a new batch.
Andrew Bartlett
(This used to be commit 5e9f7805f0)
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
5dc27b3681 r22287: Fix some issues in fedora ds code.
(This used to be commit e820f1d0f3)
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
2c247996a9 r22286: Import branch that converted the Samba4 test target code to perl and makes the code a bit clearer.
(This used to be commit e3ba5ced04)
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
7836c2d101 r22260: Use single script for creating Samba 4 test environments. Add first test
that uses the member environment.
(This used to be commit 9e3142a1bb)
2007-10-10 14:50:49 -05:00
Andrew Bartlett
b0cbe9ae4a r22235: Test kinit, and PKINIT functionality by means of a new blackbox test.
Andrew Bartlett
(This used to be commit 7f27bfc356)
2007-10-10 14:50:41 -05:00
Andrew Bartlett
3f7d52d538 r22233: Allow 'REALM' as a global environment variable in the tests.
Set the default socket_wrapper interface inside the test env setup, so
it actually stays (fixes LOCAL-SOCKET failures).

Andrew Bartlett
(This used to be commit 783c57bf1c)
2007-10-10 14:50:41 -05:00
Stefan Metzmacher
d84fcaa76c r22197: fix formating
metze
(This used to be commit 31c9bd4bf2)
2007-10-10 14:50:03 -05:00
Andrew Bartlett
f1b2b43ba5 r22187: Test kerberos logins in the smbclient blackbox tests, including with a
machine account.

Andrew Bartlett
(This used to be commit 16a2bb87a8)
2007-10-10 14:50:01 -05:00
Jelmer Vernooij
f725377346 r22185: Initial work on a 'member' test environment'.
(This used to be commit 9e0032be03)
2007-10-10 14:49:59 -05:00
Andrew Bartlett
f5bcf91e22 r22180: Re-add testing of the CIFS backend.
Andrew Bartlett
(This used to be commit d76afe147c)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
5904bbf3d9 r22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
(ab)used for messaging.

Andrew Bartlett
(This used to be commit 0a721c3193)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
f3303bc8f6 r22170: To get the smbclient blackbox test to pass again, we need to get the
private dir to contain a valid machine account.

It isn't really valid it use the DC's account any more, so extend this
script to also join the domain.  This nicely tests out some previously
untested code too!

Andrew Bartlett
(This used to be commit 12f4e6033e)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
f57ebf3f12 r22168: Ensure we actually run all the transports for the slow tests
(otherwise we miss tests).

Andrew Bartlett
(This used to be commit 216bf28a8d)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
5f11116a6b r22167: This seems to get Fedora DS to run the tests again.
Andrew Bartlett
(This used to be commit b893c63183)
2007-10-10 14:49:56 -05:00
Andrew Bartlett
c41fe665e4 r22162: get the TEST_LDAP mode working again
Andrew Bartlett
(This used to be commit 529575d07a)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
7b88696bed r22161: Clarify exactly where the socket_wrapper should be handled (early),
and ensure that $prefix exists before it tries to create $prefix/w.

This should fix the build farm.  Perhaps we should have a rm -rf
$prefix at the start of this script, as that would have found the
problem, but I want to be careful about that...

Andrew Bartlett
(This used to be commit a230261e83)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
dbfb32ffe5 r22160: Only use test environment names that actually exist (get make
quicktest to pass).

Ensure that when we fail on the build farm, this ends up in the total
failures.

I think having the 2 different functions for running the tests is just
asking for this kind of failure.  The build farm should be a
presentation detail, and not alter the test behaviour.

There is still a gremlin in there, we will fail horribly on the farm,
but not on local tests...

Andrew Bartlett
(This used to be commit 519f3c0575)
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
e338b4b47b r22156: - Lazy evaluate variable names.
- Don't set up environments until necessary

- Add --resetup-environment option

- Add 'none' environment
(This used to be commit ed0410309b)
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
892c8cd1b4 r22137: Actually use client.conf, defer more code as far as possible.
(This used to be commit 9399123a72)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
3ff1625f1f r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.
(This used to be commit a32cdc06c3)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
51fd156081 r22133: Don't push parameters into environment until necessary.
(This used to be commit 290815d180)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
a16989b1e9 r22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
the code coverage...

Andrew Bartlett
(This used to be commit 394c863a3f)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
bfc4053178 r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
(This used to be commit 9e95871b3a)
2007-10-10 14:49:50 -05:00
Jelmer Vernooij
cb04f015ee r22077: Import only necessary test variables, more refactoring.
(This used to be commit 150bb2238e)
2007-10-10 14:49:48 -05:00
Andrew Bartlett
bc8474b5cc r22076: Fill in short and long domain names into the generated krb5.conf
(This used to be commit c366610cbc)
2007-10-10 14:49:48 -05:00
Andrew Bartlett
6e3887569f r22075: Configure the bitwise match plugin, until it becomes accepted upstream.
Andrew Bartlett
(This used to be commit ce080b107c)
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
e3e505625d r22074: More refactoring.
(This used to be commit b0e0c5cb94)
2007-10-10 14:49:47 -05:00
James Peach
051e4b25cf r22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
(This used to be commit 8b19b8bfbe)
2007-10-10 14:49:43 -05:00
Andrew Bartlett
fdd4c5f879 r21971: Fill in some more values in config files from variables, so we can
better setup multiple environments.

Run the mk-keyblobs script before we need variables it defines.

Andrew Bartlett
(This used to be commit 448ffc68f3)
2007-10-10 14:49:40 -05:00
Andrew Bartlett
c95d468046 r21970: Ensure that Fedora DS can be shut down correctly with the stop script:
This needs the pid file to be in the right spot.

Andrew Bartlett
(This used to be commit cf9993a309)
2007-10-10 14:49:39 -05:00
Jelmer Vernooij
86d77746db r21910: Clean up some unused functions.
(This used to be commit 36cd3406db)
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
2fca3f9082 r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).

- Move more Samba4-specific code out of the common code
(This used to be commit dbe9de1028)
2007-10-10 14:49:37 -05:00
Andrew Bartlett
8afe4e7f3c r21836: Assume that if an OpenLDAP system is 'modular' then everything is a
module, so we have to bring in syncprov too.

Andrew Bartlett
(This used to be commit b9d06c70ad)
2007-10-10 14:49:35 -05:00
Andrew Bartlett
67e22aa6ff r21790: Setup the socket_wrapper_dir when we set the environment variable.
Andrew Bartlett
(This used to be commit 5c07dbd248)
2007-10-10 14:49:26 -05:00
Andrew Bartlett
7b706c7091 r21789: We do actually need this, to get a contextCSN attribute, which we need
for USN support.

Andrew Bartlett
(This used to be commit 5f36350243)
2007-10-10 14:49:26 -05:00
Andrew Bartlett
7a9f31a926 r21771: We just don't need to test this on more than one transport.
Andrew Bartlett
(This used to be commit c55edacba5)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
35a606378d r21751: These 2 tests pass for me, so add them to the standard test script.
Andrew Bartlett
(This used to be commit 8a5b3067e9)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
45be80844e r21743: Always use the 'escaped' LDAPI path.
Wait around for the server to start, so we don't try to contact it
during it's starup phase.

Andrew Bartlett
(This used to be commit f484b0a924)
2007-10-10 14:49:22 -05:00
Andrew Tridgell
0012f7509a r21742: reenable the smbclient test now that the d_printf bug is fixed
(This used to be commit f483f5b26a)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
d500181515 r21741: Like starting smbd, ensure we have acutally started slapd, and it is
listening, before we continue.

Andrew Bartlett
(This used to be commit 171540e06a)
2007-10-10 14:49:21 -05:00
Andrew Bartlett
41a72a506f r21739: Make it easy to change the log level for the slapd processes, and have
the logs go to a file.

Andrew Bartlett
(This used to be commit 9aaa193197)
2007-10-10 14:49:21 -05:00
Andrew Tridgell
b0b31f52f7 r21735: skip the smbclient test until jelmer can take a look at it. The
current test makes no sense with the new test system. For example, it
does "mkdir bla" then "cd bla" then "cd ..", but it now does these as
separate smbclient commands, which makes no sense at all. It even
seems to try to run them in parallel???

The test fails (segfault, plus lots of errors), but gets reported as a
success
(This used to be commit 9e3bbdee50)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
eaa02e4b54 r21733: Merge testenv back into core selftest.pl
(This used to be commit 4b78ed3a60)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
8fdbf34ea7 r21732: Use smbtorture for enumerating tests.
(This used to be commit f6aa921521)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
f91f57b749 r21730: Reintroduce summary for testenv, remove old (no longer used) file.
(This used to be commit 0140aa5fd9)
2007-10-10 14:49:19 -05:00
Andrew Bartlett
904c03abc4 r21728: Perhaps we don't need this on recent OpenLDAP servers. This overlay
is depricated.

Andrew Bartlett
(This used to be commit 32e39b377a)
2007-10-10 14:49:19 -05:00
Andrew Bartlett
0fa6e86b57 r21721: Push the 'Success! Your new directory server instance was created'
message to stderr.

Andrew Bartlett
(This used to be commit 0b8b3f6671)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
6376a474c7 r21720: Try to make 'TEST_LDAP=yes make test' work again. These recent
changes seem to have been lost in the merge, and some variables were
not yet exported.

Andrew Bartlett
(This used to be commit ee9d9fb6c0)
2007-10-10 14:49:18 -05:00
Jelmer Vernooij
ac9bb2e4fb r21716: Report status in a way the build farm recognizes.
(This used to be commit 8d775e87b5)
2007-10-10 14:49:17 -05:00