Andrew Tridgell
6bfe8b74aa
s4-test: added a RODC to our testing
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Jelmer Vernooij
bde18c6218
selftest: Don't make printing the log output a side-effect of check_env(), do it manually.
2010-09-04 21:08:35 +02:00
Jelmer Vernooij
3c2b733698
selftest: Remove stop() method, not used anywhere.
2010-09-04 18:24:02 +02:00
Jelmer Vernooij
7154e93b21
selftest/samba4: Remove references to Samba34.pm, which no longer
...
exists.
2010-09-04 18:18:55 +02:00
Andrew Tridgell
b7060c7c5c
s4-selftest: try DNS before bcast in selftest
...
this better reflects real usage
2010-09-02 13:37:08 +10:00
Kamen Mazdrashki
d15a7d9099
s4-testenv: Synchronize DCs after 'net vampire'
...
During 'net vampire', vampired DC adds information in its own
database, se we need to force replicate vampired_dc to the
first DC to be sure everything is in sync prior starting tests
2010-08-28 23:38:58 +03:00
Günther Deschner
433c08045e
s3-selftest: do not remove nsswrapper environment when running smbtorture4.
...
Guenther
2010-08-26 18:36:41 +02:00
Stefan Metzmacher
de632de6ef
selftest/Samba4: set dreplsrv:periodic_startup_interval = 0
...
metze
2010-07-09 09:27:16 +02:00
Matthias Dieter Wallnöfer
b200d8a5ca
s4:selftest - activate the lanman password changes
...
This is needed for a working "OemChangePasswordUser2" operation.
2010-06-28 14:51:05 +02:00
Andrew Bartlett
ff5ace20a2
s4:selftest Fix up netbios names for rpc_echo test
2010-06-23 20:10:12 +10:00
Andrew Bartlett
aba99e4464
s4:selftest For the moment the server role '2008_R2' is case sensitive
2010-06-23 20:10:11 +10:00
Andrew Bartlett
58a7b9af3f
s4:selftest Change netbios aliases to shorter names.
...
This makes the netbios names more sensible, and the aliases shorter.
(the name localfl2008rc2dc7 was too long...)
Andrew Bartlett
2010-06-23 20:10:10 +10:00
Andrew Bartlett
1acd49c524
s4:selftest Add 2003 and 2008R2 test environments and tests
...
These tests were chosen particularly because they are known to test things
that vary across the functional levels.
Andrew Bartlett
2010-06-23 20:10:08 +10:00
Jelmer Vernooij
237ab66f6c
selftest: Use scripted testparm.
2010-06-20 14:14:47 +02:00
Stefan Metzmacher
22eb6d7b6b
selftest/Samba4: make the naming of passwords more consistent
...
metze
2010-06-17 09:12:00 +02:00
Stefan Metzmacher
f26c0e5456
selftest/Samba4: let localfl2000dc use 127.0.0.5
...
Now we have 127.0.0.6-10 available for more servers.
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
8aed54adbf
selftest/Samba4: let localvampiredc use 127.0.0.2
...
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
6a0db03c80
selftest: use 127.0.0.11-16 for the client
...
This gives more room for servers.
Note: socket_wrapper currently only supports 127.0.0.1-16
see MAX_WRAPPED_INTERFACES.
metze
2010-06-17 09:11:59 +02:00
Stefan Metzmacher
1e8d025a3c
selftest/Samba3: remove unused create_clientconf() function
...
metze
2010-06-17 09:11:58 +02:00
Andrew Bartlett
0687a0c9dc
s4:selftest Change domain name for functional level 2000 DC
2010-06-16 09:57:52 +10:00
Andrew Bartlett
f9018bc0ea
s4:selftest Add test environment for functional level 2000
...
This required that we pass the name of the realm down as a parameter,
so we can start up two different realms.
Andrew Bartlett
2010-06-16 09:57:52 +10:00
Andrew Bartlett
697cd13978
s4:selftest Add vampire_dc test environment
...
This starts a domain controller, after running 'net vampire' to
populate it. We don't use it as the 'all' environment yet, as the
rest of the code isn't quite ready to handle it.
Andrew Bartlett
2010-06-16 09:57:51 +10:00
Andrew Bartlett
0800c9e6f1
s4:selftest Remove unused basedn specification in selftest env setup
2010-06-15 10:53:43 +10:00
Günther Deschner
3854f0708e
s3-selftest: Fix blackbox smbclient s3 tests during make selftest.
...
Guenther
2010-06-02 15:37:50 +02:00
Günther Deschner
a8d308faff
s3-selftest: fix chmod commands in provisioning.
...
Guenther
2010-05-29 00:38:21 +02:00
Günther Deschner
5232ce56cd
s3-selftest: make sure provisioned s3 looks the same in make selftest as in make test.
...
This fixes some tests that were previously failing.
Guenther
2010-05-29 00:12:15 +02:00
Matthieu Patou
a79b446e11
s4:smb_server: add dfs smbtorture to selftests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18 15:31:14 +02:00
Matthias Dieter Wallnöfer
01347844f5
s4:selftest - change test passwords
...
The passwords need to be more complex to meet the new complexity criteria.
2010-05-10 12:20:26 +02:00
Andrew Tridgell
3dd50b2922
s4-test: make spnupdate work without make install
...
thanks to metze for noticing this
2010-04-27 19:47:23 +10:00
Günther Deschner
2a2de10ac6
s3-selftest: add print$ share with two arch dirs.
...
Guenther
2010-04-23 13:51:02 +02:00
Andrew Bartlett
fe3d872656
s4:selftest Ensure we don't fsync() all day in the LDAP backend test
...
Passing this option greatly reduces the time spent in the test.
Andrew Bartlett
2010-04-22 18:37:19 +10:00
Andrew Tridgell
540d197e49
s4-test: we don't need -s set for samba_dnsupdate
...
this is now handled by SMB_CONF_PATH
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-19 18:21:42 +10:00
Andreas Schneider
61106c0568
s3-selftest: Don't log to stdout, use logfiles instead.
...
The logging to the logfiles is more verbose and they can be found in
./st/dc/logs. If you still want to log to stdout start selftest with:
SMBD_OPTIONS="-S -d10" make selftest
2010-03-29 11:35:07 +02:00
Günther Deschner
d3a22fc62b
s3-selftest: set "lpq cache time = 0" in server configuration.
...
This fixes currently broken spoolss tests.
Guenther
2010-03-26 23:01:19 +01:00
Andrew Tridgell
525a4fb2c4
util: on FreeBSD true is in /usr/bin. Use execvp to find it
2010-03-26 19:03:22 +11:00
Günther Deschner
f84f653066
s3-selftest: move printing config to global section.
...
Guenther
2010-03-25 00:55:13 +01:00
Günther Deschner
20d73f768d
s3-selftest: rearrange uid/gid calculation to achieve correct membership.
...
Guenther
2010-03-19 10:23:39 +01:00
Günther Deschner
a949c70ed8
s3-selftest: fix Samba3.pm provisioning after uid/gid changes.
...
Guenther
2010-03-18 15:12:07 +01:00
Günther Deschner
05cad2ea2f
s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
...
Also make sure we only add root user when needed, Jeremy please check.
Guenther
2010-03-18 15:08:27 +01:00
Günther Deschner
3efaf5e6ba
s3-selftest: setup initial eventlog infrastructure.
...
Guenther
2010-03-17 22:59:20 +01:00
Andrew Bartlett
ca67768b66
s4:selftest Add file based DNS resolver to selftest environment
...
This will in future allow us to test 'net vampire' in the test
environment, using the file based DNS lookups to avoid us hitting real
DNS.
2010-03-12 13:22:21 +11:00
Endi S. Dewata
02533c9f1b
s4:provision - Use netbios name for FDS instance name.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-02 14:07:01 +11:00
Andrew Tridgell
394a7ceeeb
s4-selftest: disable rndc and dns update in build farm
2010-02-23 13:48:21 +01:00
Andrew Bartlett
a8b2088a0e
s4:selftest Add infrastructure for testing against an RPC proxy
...
This also changes the 'testenv' code to use a new environment 'all'
(we may wish to make other complex tests depend on this in future),
and exports more names in more namespaces.
Andrew Bartlett
2010-02-19 16:32:49 +11:00
Günther Deschner
34ad5da5cd
s3-selftest: include addprinter/deleteprinter command.
...
Guenther
2010-02-18 02:27:04 +01:00
Andrew Tridgell
1e1b081189
s4-selftest: don't run rndc reload in selftest
...
We don't want rndc calls on the build farm
2010-02-11 21:04:15 +11:00
Matthieu Patou
3471d3677a
selftest-s4: set the posix:eadb at the global level
2010-01-21 07:11:21 +13:00
Kai Blin
a4f21d5dc8
s3 selftest: Allow the enumeration of users and groups
...
This fixes the WINBINDD_GETPWENT test.
2010-01-14 15:18:34 +01:00
Endi S. Dewata
e035433bab
s4 - SID allocation using FDS DNA plugin
2009-11-02 16:36:54 +11:00
Andrew Tridgell
0fca2b078c
s4-selftest: lower some of the timeouts during make test
...
This speeds up some of the delay based tests by a lot. There is no
need to have long delays during testing.
2009-10-23 15:38:54 +11:00