1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

903 Commits

Author SHA1 Message Date
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 4a95e893087e6e3194cd18289a9bf019d0f0abde)
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 d5b13e79233090b1bd1c2efbc910336afced015e)
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 10ed5c39692ff4a6b61ec9c6d046b2ee2202fc02)
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 b9dc78c3ad4c636bd8356978c18313ab4277cd64)
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 a59ec710ce546f3948bdb655dfcb98e2aa55f039)
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 24ca1e180c9c35f0e87d49c9c8f8b936b4c88572)
2007-10-10 14:50:57 -05:00
Andrew Bartlett
ed4df962f4 r22290: Fedora DS is incredibly picky about newlines...
(This used to be commit 0e80f456e87f4c742dee3e1de3d95cd007d09bbc)
2007-10-10 14:50:57 -05:00
Jelmer Vernooij
fabbcb6104 r22289: Another fedora ds fix
(This used to be commit 25a7eabc6bca3e7cdc0d0d0bf1b0981873fe7b83)
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 5e9f7805f067ff029bc916f5bc694d9d9001da72)
2007-10-10 14:50:56 -05:00
Jelmer Vernooij
5dc27b3681 r22287: Fix some issues in fedora ds code.
(This used to be commit e820f1d0f398a6ebfdf5be2f756f9f256d9c88d5)
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 e3ba5ced0440e736f0f140e12a8c728f79a20bb2)
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 9e3142a1bb3f3b3e06ea1a54215474d88de4d44d)
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 7f27bfc3568bc09b2b9cb9ba03aae55a03e08f9a)
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 783c57bf1c0f3dd4249302857936a2b6595e0a7b)
2007-10-10 14:50:41 -05:00
Stefan Metzmacher
d84fcaa76c r22197: fix formating
metze
(This used to be commit 31c9bd4bf2e08a979c7396a56b7bdb124bebfd01)
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 16a2bb87a80ffb921f267492f453eb3457666315)
2007-10-10 14:50:01 -05:00
Jelmer Vernooij
f725377346 r22185: Initial work on a 'member' test environment'.
(This used to be commit 9e0032be03ebd6dd94c98bc6958df0cb998f487e)
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 d76afe147ca87f3678b7eb4930096eb6aaa39e6e)
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 0a721c3193163f8a12f5410df4c29b6dc00b7035)
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 12f4e6033ed11a010211a4295424588f44f7e5e0)
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 216bf28a8dd33037dba1f8e7e13140752b30a885)
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 b893c63183eaec20ab0000d0c6635672c2893dce)
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 529575d07aeb269927315eaff121408c1beefa59)
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 a230261e83fd9161e60554b74cf8556f36b1af45)
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 519f3c0575748968ece2f556f370ade98c59ff05)
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 ed0410309bfdefb0d31cb247c26b947956fb1137)
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 9399123a7277dbaf8dd392dd4ec2fe1c0780d486)
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 a32cdc06c39b07fbc7a3015ef059cc9143fb6e20)
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 290815d180b2bf0ba24744b3796905096d07d7b7)
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 394c863a3f3e0945da12d7c39641235d326b1198)
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 9e95871b3a70310b8c0ca92dfdb595d7cfc559d5)
2007-10-10 14:49:50 -05:00
Jelmer Vernooij
cb04f015ee r22077: Import only necessary test variables, more refactoring.
(This used to be commit 150bb2238ea91ead3bdde0a34ff801b79bc83ec3)
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 c366610cbc947af84fff3313232ddbc213d61737)
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 ce080b107c6182c3cf28ec2d3b161c5f4a5a90af)
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
e3e505625d r22074: More refactoring.
(This used to be commit b0e0c5cb94fc6d96dff9acd55ec632e3dd461b17)
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 8b19b8bfbed3e25d1c4e94d1cf3def4f878f8acf)
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 448ffc68f35f54ea9e754764311eceaf84b465da)
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 cf9993a309ffe605610e4aaa2281576f319b5df0)
2007-10-10 14:49:39 -05:00
Jelmer Vernooij
86d77746db r21910: Clean up some unused functions.
(This used to be commit 36cd3406db06e3101cfede2f3935879cb11eeb93)
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 dbe9de10287c902f4a5ea5d431dea4a79f9b170b)
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 b9d06c70adcf34d3272797027b6cf89a174b862a)
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 5c07dbd2487c5c23355ad0e3db6e9f9caf8ce145)
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 5f363502434e88c16920b219d7a854a22fee658f)
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 c55edacba5f45a756a01baa1bf6401b4815bada8)
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 8a5b3067e9ec8d7810687cd0a4909c02bdb86d15)
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 f484b0a924809dd8c9861ade8d184fb44b3b5e1f)
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 f483f5b26a702cffb72a46e0f172d82c18471e26)
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 171540e06a3eb42320238ad81bc9993e86137dc7)
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 9aaa19319718a5a8fcc1df066cbce67eaa3431d8)
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 9e3bbdee50a5372fa79c493c1cf1c378f1068467)
2007-10-10 14:49:20 -05:00