summaryrefslogtreecommitdiff
path: root/selftest/target
AgeCommit message (Collapse)AuthorFilesLines
2010-06-02s3-selftest: Fix blackbox smbclient s3 tests during make selftest.Günther Deschner1-0/+2
Guenther
2010-05-29s3-selftest: fix chmod commands in provisioning.Günther Deschner1-3/+3
Guenther
2010-05-29s3-selftest: make sure provisioned s3 looks the same in make selftest as in ↵Günther Deschner1-3/+41
make test. This fixes some tests that were previously failing. Guenther
2010-05-18s4:smb_server: add dfs smbtorture to selftestsMatthieu Patou1-1/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-10s4:selftest - change test passwordsMatthias Dieter Wallnöfer1-3/+3
The passwords need to be more complex to meet the new complexity criteria.
2010-04-27s4-test: make spnupdate work without make installAndrew Tridgell1-0/+1
thanks to metze for noticing this
2010-04-23s3-selftest: add print$ share with two arch dirs.Günther Deschner1-0/+8
Guenther
2010-04-22s4:selftest Ensure we don't fsync() all day in the LDAP backend testAndrew Bartlett1-0/+1
Passing this option greatly reduces the time spent in the test. Andrew Bartlett
2010-04-19s4-test: we don't need -s set for samba_dnsupdateAndrew Tridgell1-1/+1
this is now handled by SMB_CONF_PATH Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-29s3-selftest: Don't log to stdout, use logfiles instead.Andreas Schneider1-3/+3
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-26s3-selftest: set "lpq cache time = 0" in server configuration.Günther Deschner1-0/+1
This fixes currently broken spoolss tests. Guenther
2010-03-26util: on FreeBSD true is in /usr/bin. Use execvp to find itAndrew Tridgell1-1/+1
2010-03-25s3-selftest: move printing config to global section.Günther Deschner1-8/+9
Guenther
2010-03-19s3-selftest: rearrange uid/gid calculation to achieve correct membership.Günther Deschner1-25/+33
Guenther
2010-03-18s3-selftest: fix Samba3.pm provisioning after uid/gid changes.Günther Deschner1-3/+3
Guenther
2010-03-18s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.Günther Deschner1-5/+33
Also make sure we only add root user when needed, Jeremy please check. Guenther
2010-03-17s3-selftest: setup initial eventlog infrastructure.Günther Deschner1-0/+13
Guenther
2010-03-12s4:selftest Add file based DNS resolver to selftest environmentAndrew Bartlett1-2/+6
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-02s4:provision - Use netbios name for FDS instance name.Endi S. Dewata1-9/+12
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-02-23s4-selftest: disable rndc and dns update in build farmAndrew Tridgell1-1/+2
2010-02-19s4:selftest Add infrastructure for testing against an RPC proxyAndrew Bartlett1-10/+104
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-18s3-selftest: include addprinter/deleteprinter command.Günther Deschner1-0/+5
Guenther
2010-02-11s4-selftest: don't run rndc reload in selftestAndrew Tridgell1-1/+3
We don't want rndc calls on the build farm
2010-01-21selftest-s4: set the posix:eadb at the global levelMatthieu Patou1-3/+1
2010-01-14s3 selftest: Allow the enumeration of users and groupsKai Blin1-0/+2
This fixes the WINBINDD_GETPWENT test.
2009-11-02s4 - SID allocation using FDS DNA pluginEndi S. Dewata1-1/+13
2009-10-23s4-selftest: lower some of the timeouts during make testAndrew Tridgell1-5/+5
This speeds up some of the delay based tests by a lot. There is no need to have long delays during testing.
2009-08-17s4:selftest Confirm that there isn't a listener on the ldapi:// socketAndrew Bartlett1-1/+5
This should help debug problems with 'make test' of the LDAP backend, if a stray listener is still around. Andrew Bartlett
2009-08-17s4:provision Rework provision-backend into provisionAndrew Bartlett1-46/+14
This removes a *lot* of duplicated code and the cause of much administrator frustration. We now handle starting and stopping the slapd (at least for the provision), and ensure that there is only one 'right' way to configure the OpenLDAP and Fedora DS backend We now run OpenLDAP in 'cn=config' mode for online configuration. To test what was the provision-backend code, a new --ldap-dryrun-mode option has been added to provision. It quits the provision just before it would start the LDAP binaries Andrew Bartlett
2009-08-12Allow selection of the samba4 process model for 'make test'Andrew Tridgell1-1/+10
To choose the process model, set the environment variable SAMBA_PROCESS_MODEL to the desired model. This will allow us to enable the standard process model for some machines in the build farm without enabling it for all of them. I don't want to just enable it universally as I am concerned with total memory using during some of the tests.
2009-08-12print server log on stderr as well as to log fileAndrew Tridgell1-2/+5
I think we are missing some important messages from the server during 'make test' because we don't show the log file contents during runs. This patch uses tee to put the log messages to stderr so we can see any server messages associated with the test that caused them.
2009-08-12s4:selftest Don't start the slapd for the provision, only for the runAndrew Bartlett1-17/+12
The provision-backend script now starts slapd for us Andrew Bartlett
2009-08-12s4:selftest Make OpenLDAP guess it's own modules from now onAndrew Bartlett1-46/+0
In the releases of OpenLDAP we require (2.4.17) it can guess this much itself, so no need for us to do it. Andrew Bartlett
2009-08-12s4:provision Rework and further automate setup of OpenLDAP backendOliver Liebel1-1/+1
heres the summary of all changes/extensions: - Andrew Bartlett's patch to generate indext - Howard Chu's idea to use nosync on the DB included, but made optional - slaptest-path is not needed any more (slapd -Ttest is used instead) and is therefore removed. slapd-path is now recommended when openldap-backend is chosen. its also used for olc-conversion - slapd-detection is now always done by ldapsearch (ldb module), looking anonymous for objectClass: OpenLDAProotDSE via our ldapi_uri. - if ldapsearch was not successfull, (no slapd listening on our socket) slapd is started via special generated slapdcommand_prov (ldapi_uri only) - slapd-"provision-process" startup is done via pythons subprocess. - the slapd-provision-pid is stored under paths.ldapdir/slapd_provision_pid. - after provision-backend is finished: --- slapd.pid is compared with our stored slapd_provision_pid. if the are unique, slapd.pid will be read out, and the slapd "provison"-process will be shut down. --- proper slapd-shutdown is verified again with ldb-search -> ldapi_uri -> rootDSE. --- if the pids are different or one of the pid-files is missing, slapd will not be shut down, instead an error message is displayed to locate slapd manually --- extended help-messages (relevant to slapd) are always displayed, e.g. the commandline with which slapd has to be started when everythings finished (slapd-commandline is stored under paths.ldapdir/slapd_command_file.txt)) - upgraded the content of the mini-howto (howto-ol-backend-s4.txt)
2009-08-05added a uid_wrapper libraryAndrew Tridgell1-3/+2
This library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries. This allows us to enable the vfs_unixuid NTVFS module in the build farm, which means we are more likely to catch errors in the token manipulation. The simulation is not complete, but it is enough for Samba4 for now. The major areas of incompleteness are: - no emulation of setreuid, setresuid or saved uids. These would be needed for use in Samba3 - no emulation of ruid changing. That would also be needed for Samba3 - no attempt to emulate file ownership changing, so code that (for example) tests whether st.st_uid matches geteuid() needs special handling
2009-07-28s4:kerberos Add support for user principal names in certificatesAndrew Bartlett1-7/+35
This extends the PKINIT code in Heimdal to ask the HDB layer if the User Principal Name name in the certificate is an alias (perhaps just by case change) of the name given in the AS-REQ. (This was a TODO in the Heimdal KDC) The testsuite is extended to test this behaviour, and the other PKINIT certficate (using the standard method to specify a principal name in a certificate) is updated to use a Administrator (not administrator). (This fixes the kinit test). Andrew Bartlett
2009-07-27s4:kerberos Add test to show that we actually export the keytabAndrew Bartlett1-1/+1
While it is hard to prove it is correct, at least the new 'nettestuser' principal and the Administrator principal are correct. We had to fix the case of 'Administrator' in the selftest code to match the DB, as the keytab lookup is case sensitive. Andrew Bartlett
2009-06-08s3-selftest: forward NSS_WRAPPER_WINBIND_SO_PATH env to tests.Günther Deschner1-0/+4
Guenther
2009-05-30s3-selftest: Fix invalid /etc/group file used with nss_wrapper.Günther Deschner1-0/+1
Found by torture test. Guenther
2009-05-28s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from ↵Günther Deschner1-5/+7
group" script. Guenther
2009-05-20s3-selftest: add add and delete group scripts using nss_wrapper.Günther Deschner1-0/+2
Guenther
2009-05-12s3-printing: Fix vlp testprinter application.Günther Deschner1-7/+7
Jeremy, we cannot just access cache_path() here without calling lp_load and friends as well as parsing configfile from the commandline in order to make "make test/selftest" find the correct conffile with path, etc. I just changed it to pass the target tdbfilename as an argument, ok ? Guenther
2009-05-08s3-selftest: need to enable lanman auth in order make RPC-SAMR-PASSWORDS pass.Günther Deschner1-0/+1
Guenther
2009-04-22Specify explicit path to vlp, for those not having vlp in $PATH.Jelmer Vernooij1-1/+9
2009-04-22s4 selftest: Export the WINBINDD_SOCKET_DIR env varKai Blin1-0/+1
2009-04-08selftest: add a fake root user to nss_wrapper_passwd in s3.Günther Deschner1-0/+1
Needed to make some server calls to get_root_nt_token() succeed. make selftest/make test gurus, please check. Guenther
2009-03-23selftest/Samba3: Test smb signing against the member serverStefan Metzmacher1-0/+1
metze
2009-03-21selftest/Samba3: always use the same timeout for all serversStefan Metzmacher1-17/+15
metze
2009-03-21s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRINDStefan Metzmacher1-4/+4
metze
2009-03-20selftest/Samba3: use the same sequence of signals to shutdown samba3 as with ↵Stefan Metzmacher1-1/+4
the shell scripts When we kill the timelimit process with SIGKILL, it can't kill its children... metze