summaryrefslogtreecommitdiff
path: root/testprogs/ejs/ldb.js
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r16934: Expand the ldb test to demonstrate partition behaviour, including theAndrew Bartlett1-16/+88
global USN and global transactions. Andrew Bartlett (This used to be commit 5abe3c4f5f31e369548640801435613421f2edac)
2007-10-10r16914: Add more tests for the partition module.Andrew Bartlett1-9/+69
Andrew Bartlett (This used to be commit 2728b60dfa50ded03e06f0bd53eee55fce5143bd)
2007-10-10r10919: fixed the ldb test for the new operational moduleAndrew Tridgell1-3/+4
(This used to be commit 915878d7cebacf499c0c9d264a2dcbc82b521dfd)
2007-10-10r8740: Extend the rdn_name module to handle adding the rdn as an attribute. ie:Andrew Bartlett1-0/+3
dn: cn=foo,ou=bar objectClass: person implies dn: cn=foo,ou=bar objectClass: person cn: foo (as well as a pile more default attributes) We also correct the case in the attirbute to match that in the DN (win2k3 behaviour) and I have a testsuite (in ejs) to prove it. This module also found a bug in our provision.ldif, so and reduces code complexity in the samdb module. Andrew Bartlett (This used to be commit 0cc58f5c3cce12341ad0f7a90cdd85a3fab786b3)
2007-10-10r8738: Test (using ejs!) the basic operation of the ldb modules.Andrew Bartlett1-4/+60
ejs seems to test this stuff very nicely! Andrew Bartlett (This used to be commit 325f6d24dfc285587bde9fea6eeaf136c2731eff)
2007-10-10r8636: fixed the ejs ldb test to work with the new ldb.search() syntax, andAndrew Tridgell1-9/+7
add it to our test suite so it will be maintained (This used to be commit 42ae50db8108ddc7c33f832d8752f809c99de157)
2007-10-10r8488: after discussions with simo, moved to a full OO interface, so you ↵Andrew Tridgell1-13/+57
don't need to keep a 'db' variable around. The ldb object knows what it is connected to. Added a simple ldb testsuite in testprogs/ldb.js (This used to be commit cf35818648b5b649d0cd25f115a04b7b5b5311aa)
2007-10-10r8486: switched to a separate connection operation in ldb interfaceAndrew Tridgell1-2/+3
(a suggestion from simo) (This used to be commit 98c9c4ecb87e1b140002390067892806464849da)
2007-10-10r8481: switched ldb ejs called over to an OO interface, so you do:Andrew Tridgell1-3/+4
var ldb = ldb_init(); res = ldb.search(dbfile, "(objectClass=user)"); you can also do: ldbSearch = ldb.search; res = ldbSearch(dbfile, "(objectClass=user)"); if you want the old interface (ie. you can use this to import functions into the global or local namespace). (This used to be commit 3093057d9735cbb62f57e7159264d5a28b85320f)
2007-10-10r7073: added some simple example scripts for use with smbscriptAndrew Tridgell1-0/+24
(This used to be commit f1d0c006600d6d57bce2ede87a1aae0ccfc2c412)