summaryrefslogtreecommitdiffstats
path: root/testdata
Commit message (Collapse)AuthorAgeFilesLines
* s4-samldb: Do not allow deletion of objects with RID < 1000Nadezhda Ivanova2013-10-141-2/+2
| | | | | | | | | | | | According to [MS-SAMR] 3.1.5.7 Delete Pattern we should not allow deletion of security objects with RID < 1000. This patch will prevent deletion of well-known accounts and groups. Signed-off-by: Nadezhda Ivanova <nivanova@symas.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date(master): Mon Oct 14 13:31:50 CEST 2013 on sn-devel-104
* s4-s3upgrade: Add my wins.dat and fix the parsing errorAndrew Bartlett2012-06-161-0/+23
| | | | | | | The issue was that the numbers at the end of the lines are space padded. Andrew Bartlett
* tdb2: don't use TDB2 versions of test tdb files.Rusty Russell2011-12-127-0/+0
| | | | | | | | | | | Now tdb2 handles tdb1 files, we don't need most of commit 5eecc854236f0b943aaa89e0c3a46f9fbd208ca9 which added TDB2 versions of all the testing tdbs. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Mon Dec 12 06:33:44 CET 2011 on sn-devel-104
* testdata: Set netbios name in the samba3 configuationAmitay Isaacs2011-08-261-0/+1
| | | | | | | | | To correctly find the domain sid, passdb api uses netbios name to look up secrets database. If no nebios name is configured, passdb uses current hostname and adds entry for hostname in secrets and uses that instead of the intended one. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* tdb2: create tdb2 versions of various testing TDBs.Rusty Russell2011-06-207-0/+0
| | | | | | | Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s4:setup/provision_rootdse_add.ldif - provide informations in the right orderMatthias Dieter Wallnöfer2010-10-051-1/+1
| | | | | | | Doesn't change much - but nicer to read. Btw: is the testdata/samba3 stuff still needed ("provision_samba3sam.ldif"...)? It seems a bit outdated.
* testdata/samba3/provision_samba3sam.ldif - update also here the maximum ↵Matthias Dieter Wallnöfer2010-09-131-1/+2
| | | | | | domain controller functionality And we do support also LDAPv2.
* s4:samba3sam Remove extra newlines that broke samba3sam testAndrew Bartlett2009-07-292-2/+0
| | | | | | | | | | The python ldif parser was changed to be stricter (perhaps too strict), and the extra newlines broke it. The problem was masked earlier because errors parsing the LDIF were considered to be 'end of file', and so no error was raised. Andrew Bartlett
* Move ndrdump tests closer to the code they test.Jelmer Vernooij2008-09-161-0/+41
|
* Fix samba3sam test.Andrew Bartlett2008-04-171-5/+0
| | | | | | | sAMAccountType is blocked by the samldb module. Andrew Bartlett (This used to be commit d15ca7e38ba6cc39ab16aa52cdd071be922c9903)
* Remove tests for Samba 3 EJS code.Jelmer Vernooij2008-02-111-59/+0
| | | | (This used to be commit 7aff2ddd8ca1ff68fc704fdb139d81d6daa51115)
* r25952: Add in new data file required by samba3sam test.Andrew Bartlett2007-12-211-0/+123
| | | | | Andrew Bartlett (This used to be commit f36a35dd690f2b15171976a4d093a306cb0d3c68)
* r25948: Fix up the samba3sam test (which is very fragile) to work with the newAndrew Bartlett2007-12-211-123/+0
| | | | | | | | | | | restrictions imposed by the samldb module. This module is worth keeping, because when we go back to do more extensive backend mapping, the testing of this module shows it is still possible. Andrew Bartlett (This used to be commit a10d2554dc1f9b57ce2a98ea20969b3b3c8aec53)
* r25759: catch up the samba3sam tests with the change from cn=rootdse to @ROOTDSEAndrew Bartlett2007-12-211-1/+1
| | | | | Andrew Bartlett (This used to be commit 84a14973cee94a5f8645515cffb20ee89b5360d1)
* r24882: Use the torture API in BASE-CHARSET.Jelmer Vernooij2007-10-101-10/+10
| | | | (This used to be commit 93910d92cd431add876e98a12712253bee8c52e7)
* r21673: Fix Samba 3 data read tests. I can't figure out why the upgrade one ↵Jelmer Vernooij2007-10-101-0/+8
| | | | | | is broken, so that one is still disabled. (This used to be commit ef794f03d50022a77303c77045a04d9407d07cbc)
* r20458: This data is invalid, and causes the samba3sam test to fail, becauseAndrew Bartlett2007-10-101-2/+2
| | | | | | | we now convert these values. Andrew Bartlett (This used to be commit a0b401d41ab1396f270518411c4b48e8f5b200a7)
* r17545: I forgot to commit this file, a source file for the the samba3samAndrew Bartlett2007-10-101-0/+201
| | | | | | | tests, by mkhl. Andrew Bartlett (This used to be commit f6844d04e391e9d2a2f9178458de9212509a01ac)
* r17525: This is a merge from the Google Summer of Code 2006 project by ↵Andrew Bartlett2007-10-101-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Martin Kühl <mkhl@samba.org>. Martin took over the work done last year by Jelmer, in last year's SoC. This was a substanital task, as the the ldb modules API changed significantly during the past year, with the addition of async calls. This changeset reimplements and enables the ldb_map ldb module and adapts the example module and test case, both named samba3sam, to the implementation. The ldb_map module supports splitting an ldb database into two parts (called the "local" and "remote" part) and storing the data in one of them (the remote database) in a different format while the other acts as a fallback. This allows ldb to e.g. store to and load data from a remote LDAP server and present it according to the Samba4 schema while still allowing the LDAP to present and modify its data separately. A complex example of this is the samba3sam module (by Jelmer Vernooij), which maps data between the samba3 and samba4 schemas. A simpler example is given by the entryUUID module (by Andrew Bartlett), which handles some of the differences between AD and OpenLDAP in operational attributes. It principally maps objectGUID, to and from entryUUID elements. This is also an example of a module that doesn't use the local backend as fallback storage. This merge also splits the ldb_map.c file into smaller, more manageable parts. (This used to be commit af2bece4d343a9f787b2e3628848b266cec2b9f0)
* r9899: Be more conservative about what is sent to the remote server in ldb_map.Jelmer Vernooij2007-10-101-18/+25
| | | | (This used to be commit 76e943d4416e38ce4cce27d5403bc3e133d0025b)
* r9834: More tests for the upgrade from Samba3Jelmer Vernooij2007-10-101-0/+51
| | | | (This used to be commit d2db164d6f674cada470e871c558c75f98244141)
* r9830: Fix support for importing registry values. Extended the examplre ↵Jelmer Vernooij2007-10-101-0/+0
| | | | | | registry tdb. (This used to be commit 11e2a1938966f3aa9e9c25433181c20843951a6b)
* r9828: Fix path to testdata (tests are always run from source/)Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 76666d401071bf9b67b0402efc1d647f45533259)
* r9813: Conver testsuite for samba3sam module to EJSJelmer Vernooij2007-10-101-0/+3
| | | | (This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
* r9806: Some more test dataJelmer Vernooij2007-10-107-0/+23
| | | | (This used to be commit 96a511b6de08385d58998f5ae5f4f569c9b730cf)
* r9805: Add 'data' property to param EJS objectJelmer Vernooij2007-10-101-0/+0
| | | | | | Write out new smb.conf file. Parameters that have disappeared between Samba 3 and 4 will optionally be prefixed with 'samba3:' (This used to be commit 27eefbd9059fe0a3daca15a71da7b4cb88ed22ec)
* r9785: Add some testdataJelmer Vernooij2007-10-104-0/+223
(This used to be commit 721431cff73b06d6e74ca47d25adbf89b900fd5a)