summaryrefslogtreecommitdiff
path: root/selftest/target
AgeCommit message (Collapse)AuthorFilesLines
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
2009-02-24Make the 'modules.conf' generation in the LDAP selftest simplerAndrew Bartlett1-52/+7
The versions of OpenLDAP that we require don't need us to specify the location any more - slaptest knows this from it's build time. Andrew Bartlett
2009-02-23Fix GDB_PROVISION modeSimo Sorce1-1/+1
2009-02-10selftest/Samba4: pass down the kdc address down to provision_raw_*()Stefan Metzmacher1-13/+16
metze
2009-02-10selftest/Samba4: split out ldap specific stuff from provision_raw_*()Stefan Metzmacher1-60/+85
metze
2009-02-10selftest/Samba4: split out share configurations of provision_raw*()Stefan Metzmacher1-57/+67
metze
2009-02-10selftest/Samba4: split provision() into provision_raw_prepare() and ↵Stefan Metzmacher1-131/+184
provision_raw_run() This functions will be reused soon for a Samba34.pm used by a 'make selftest34' metze
2009-02-10selftest: s/SMBD/SAMBA/ in Samba.pmStefan Metzmacher1-18/+18
metze
2009-02-10selftest: allow "skip" as max runtime for smbd, nmbd and winbinddStefan Metzmacher1-1/+31
metze
2009-02-10selftest: Samba3 protect against removing /*Stefan Metzmacher1-0/+3
metze
2009-02-10selftest: add target::TemplateStefan Metzmacher1-0/+52
metze
2009-02-04selftest/Samba3: use the same logic for make test and make selftestStefan Metzmacher1-5/+0
See also commit 484c4a5955d0365beb9587bb15c73fe3ed3301ce metze
2009-02-03selftest: don't use hardcoded path to nmblookup in Samba4.pmStefan Metzmacher1-12/+13
metze
2009-01-30selftest: pass down the path to python for provisioning samba4Stefan Metzmacher1-0/+3
metze
2009-01-30selftest: allow environment optionsStefan Metzmacher1-7/+4
We support "local" and "client" (default) now. We can decide if we want to run a client against the server (with a special client.conf) or if we want to run tests localy on the server with the same config as the server. metze
2009-01-29selftest: add "member" environment for Samba3Stefan Metzmacher1-0/+48
metze
2009-01-29selftest: fix Samba3 bugsStefan Metzmacher1-16/+18
metze
2009-01-28selftest: Samba4 remove unused variableStefan Metzmacher1-1/+0
metze
2009-01-28selftest: abstract Samba3 provision a bitStefan Metzmacher1-14/+20
metze
2009-01-28s3:selftest: fix 'make selftest'Stefan Metzmacher1-28/+100
metze
2009-01-28s3: try to make 'make selftest' work againStefan Metzmacher1-20/+20
metze
2009-01-21selftest: add --exeext parameterStefan Metzmacher1-4/+6
metze
2009-01-21selftest:Samba4: add bindir_path() utility function to construct the binary ↵Stefan Metzmacher1-12/+23
pathes metze
2008-12-17s4:selftest: lower debug level for slapdAndrew Bartlett1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-10-31Disable lanman authentication by default in Samba 4.Jelmer Vernooij1-0/+1
2008-10-28selftest: move gdb_* and valgrind_* scripts to selftest/Stefan Metzmacher1-1/+1
metze
2008-10-23selftest.pl: Silence verbose tdbsam output.Jelmer Vernooij1-1/+1
2008-10-11Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftestJelmer Vernooij1-14/+13
Conflicts: selftest/selftest.pl
2008-09-18Move selftest code to top-level.Jelmer Vernooij4-0/+1598