summaryrefslogtreecommitdiff
path: root/testprogs/ejs/ldb.js
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r25753: Move cn=rootdse to @ROOTDSE to avoid being caught up in schema ↵Andrew Bartlett1-1/+1
restrictions. Andrew Bartlett (This used to be commit f3390c9054244c0e4381007b36bbac9a17800570)
2007-10-10r25218: After discussion with Simo, remove the subclass support from LDB.Andrew Bartlett1-1/+0
Subclass support was designed to avoid needing to spell out the full list of objectClasses that an entry was in. However, Samba4 now enforces this restriction in the objectClass module, and the way subclass matching was handled was complex and counter-intuitive in my opinion (and did not match LDAP). Andrew Bartlett (This used to be commit f5ce04b904e14445a2a7e7f92e7e1f64b645c6f2)
2007-10-10r25204: Patch by Andrew Kroeger <andrew@sprocks.gotdns.com> fixing bug #4958 -Andrew Bartlett1-0/+5
rename of ldb entries for a case change (only). I've modified the testsuite to verify this. Andrew Bartlett (This used to be commit 9cccd00dac44dd9152ec03cecf5ffac24f918445)
2007-10-10r21351: Change ldb ejs bindings return codes.Simo Sorce1-101/+101
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-10r18786: I moved the usnChanged code around, and it now loaded in a differentAndrew Bartlett1-1/+3
module. I forgot to commit this last night. Andrew Bartlett (This used to be commit 6c5f4af01fea1e3b38d18d5b1491cb22701317cf)
2007-10-10r17597: fix prefix path handlingSimo Sorce1-18/+18
(This used to be commit 25cde0f7300f37fec6c4a897ba0a80a3e5c26e15)
2007-10-10r17546: Test the loading of per-partition modules.Andrew Bartlett1-4/+5
Andrew Bartlett (This used to be commit 1a5ade30dcdf40da8d0a6d7395f1a2e93388fca3)
2007-10-10r17302: Testing!Andrew Bartlett1-2/+55
This confirms that records are replicated into the correct databases, and that the case insensitive flags really work. Andrew Bartlett (This used to be commit ad463c1a5243019548bdbeea3070ec2e6cbcfcdf)
2007-10-10r17299: Improve the partition module to replicate attribute records into allAndrew Bartlett1-0/+65
partitions. Test that we do that correctly. Andrew Bartlett (This used to be commit 90c07b88010b848423dee9556a24e8d181c365dd)
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)