summaryrefslogtreecommitdiff
path: root/testprogs/ejs/samba3sam.js
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21361: let samba3sam.js pass when we'll use unicodePwd for storing the nt hashStefan Metzmacher1-7/+7
jelmer: what should this test really test? metze (This used to be commit c8d903b606afb5dd11b8f1048a36943db02370e0)
2007-10-10r21351: Change ldb ejs bindings return codes.Simo Sorce1-511/+524
We were returning just true/false and discarding error number and string. This checking probably breaks swat, will fix it in next round as swat is what made me look into this as I had no way to get back error messages to show to the users. Simo. (This used to be commit 35886b4ae68be475b0fc8b2689ca04d766661261)
2007-10-10r20457: Print more information before assertingAndrew Bartlett1-2/+4
(This used to be commit 0b7a5b7284f7820e5b2f48f40e85830243189b58)
2007-10-10r19731: Modify the ldb_map infrustructure to always map from requestedAndrew Bartlett1-21/+53
attributes to backend (remote) attributes. We can't do a reverse mapping safely where the remote attribute may be a source for multiple local attributes. (We end up with the wrong attributes returned). In doing this, I've modified the samba3sam.js test to be more realistic, and fixed some failures in the handling of primaryGroupID. I've added a new (private) helper function ldb_msg_remove_element() to avoid a double lookup of the element name. I've also re-formatted many of the function headers, to fit into standard editor widths. Andrew Bartlett (This used to be commit 186766e3095e71ba716c69e681592e217a3bc420)
2007-10-10r18721: Fix base and samba3sam EJS tests to work without installation.Jelmer Vernooij1-1/+2
(This used to be commit d062e101664a90f2f7bf0980449f920aa719ee76)
2007-10-10r17661: A patch from Martin Kuehl:Andrew Bartlett1-71/+464
This commit extends the samba3sam test suite, which contains tests for the samba3sam and ldb_map modules, with a lot of tests for inbound, i.e. add, modify, rename and delete requests. The tests each add a single record, modify it, rename it, and then delete it, at each step checking that the operations were successful and that the right data went into the right partitions. They are run for an unmapped record, a mapped record with data only in the remote partition, a mapped record with remote data that is later modified to include local data, and a mapped record with data in both the local and remote partitions. It also adds a function to the backend objects that makes construction of DNs for their respective partitions more comfortable. Cheers, Martin (This used to be commit 1ddd06f24d71c606241863cf4fe047833c64a6d2)
2007-10-10r17598: Patch from Martin Kühl <mkhl@samba.org> to update the samba3sam testAndrew Bartlett1-45/+570
suite, which contains tests for the samba3sam and ldb_map modules, with a lot of tests for search requests. The tests add a small set of known records to the database, half of them with only remote data, half of them split across the local and remote backends, and test searching these records by DN, by attribute and with a range of parse trees. This suite should be extensive enough to ensure that behaviour of search requests doesn't break. (This used to be commit 120f7891faf241057457db7234ce381bfe3fd847)
2007-10-10r17597: fix prefix path handlingSimo Sorce1-5/+5
(This used to be commit 25cde0f7300f37fec6c4a897ba0a80a3e5c26e15)
2007-10-10r17544: Add execute bit to js script.Andrew Bartlett1-0/+0
Andrew Bartlett (This used to be commit c1349cfd8d7e150489b94ccb005bfdffe88e4697)
2007-10-10r17543: Patch from Martin Kühl <martin.kuehl@gmail.com> to extend theAndrew Bartlett1-0/+259
samba3sam test cases for ldb_map, and to include this into our default 'make test'. (This used to be commit f69a842314b3d5c57c3fa1f5b1bae3ee6d42da2b)