summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls_ldb.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8481: switched ldb ejs called over to an OO interface, so you do:Andrew Tridgell1-5/+17
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-10r8406: make sure we give an error in ldbAdd() if any record failsAndrew Tridgell1-0/+1
(This used to be commit 632f99017ded607c80022f730b6ec7e37bd13642)
2007-10-10r8399: move the ejs and esp code closer to the directory layout used by theAndrew Tridgell1-1/+1
upstream sources. This makes it much easier to keep it up to date. I will separate out the mpr code into lib/appweb/mpr next (This used to be commit 52db7a052baeb0f11361ed69b71cb790039e3cc9)
2007-10-10r8340: - added sys_gmtime()Andrew Tridgell1-5/+3
- added sys_unlink() - added sys_file_load() and sys_file_save() - use mprString() instead of mprCreateStringVar() to cope with NULL strings - removed smbcalls_irpc.c as its not needed any more - allow ldbAdd() and ldbModify() to take multiple ldif records - added a sprintf() function to ejs. Quite complex, but very useful! (This used to be commit 625628a3f6e78349d2240ebcc79081f350672070)
2007-10-10r8339: added ldbAdd(), ldbModify(), ldbDelete() and ldbRename() to ejs ldb ↵Andrew Tridgell1-0/+144
functions (This used to be commit 322c2137835ff2d76b3183901bf680780f164b5e)
2007-10-10r8276: fixed the remaining memory leaks in smbscript. We can now loop doingAndrew Tridgell1-1/+2
lots of rpc calls without memory usage increasing. (This used to be commit 9c885a7edb771486793eb287288158157b34e8f3)
2007-10-10r7266: Split the different types of js function defines into separate files,Tim Potter1-0/+93
as there are going to be a lot more of them. (This used to be commit b086768589ee27de6616945bbea42b18b40d25d5)