summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8643: - make lp_configfile() work againAndrew Tridgell1-2/+19
- get rid of redundeny dyn_CONFIGFILE argument to lp_load() - fixed provisioning to work with completely pristine install, creating an initial smb.conf is none is present - added lp.set() and lp.reload() to loadparm ejs object interface (This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)
2007-10-10r8640: continue the trend by moving the ejs random calls into an objectAndrew Tridgell1-0/+2
(This used to be commit ed4fb68ef7c28e415408e923bd9eefcd2d60f355)
2007-10-10r8639: moved loadparm calls into an ejs objectAndrew Tridgell3-8/+14
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
2007-10-10r8638: continue the trend of maknig our C functions true ejs objects by ↵Andrew Tridgell1-0/+3
making the string functions into an object. To keep existing code working I have added: string_init(global); into base.js. That brings the functions into the global scope for our existing scripts (This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
2007-10-10r8629: - moved the getDomainList() call out of smbcalls_auth.c and into ↵Andrew Tridgell1-0/+17
libjs/auth.js - tried to make the ejs_userAuth() call work for the sam, not just for unix auth. I didn't get this working. Andrew, when you get a chance can you see what I'm doing wrong? I suspect its because we aren't supplying a challenge, but a challenge doesn't really make sense in a 'is this username/password' correct call. (This used to be commit 9e07c08a71908e99c2f44efc40a3249facd6850f)
2007-10-10r8603: we have to use the same db name as the rest of smbd uses so the ldb ↵Andrew Tridgell1-1/+1
connect works when already open (This used to be commit 1183f54c8dee28c136b4dc72bc059a6175fe09e4)
2007-10-10r8590: added server status utility functions for checking on the status of a ↵Andrew Tridgell2-0/+80
task via irpc - for stream tasks, returns the number of connections - for non-stream tasks, returns "RUNNING" For both, return "DISABLED" or "NOT RESPONDING" appropriately (This used to be commit 78d6303814382f7835212f5045f12180e396b540)
2007-10-10r8584: added --nbt option to smbstatus for nbt server statisticsAndrew Tridgell1-0/+21
(This used to be commit 26a676a4e3596d34aee391bf132f2525972c81df)
2007-10-10r8577: added management calls to list current tree connectsAndrew Tridgell1-1/+40
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)
2007-10-10r8575: the beginnings of a smbstatus commandAndrew Tridgell1-0/+33
(This used to be commit 4ecaf72a31cde2722315a61cbe823d44f0c14586)
2007-10-10r8570: delete all records in the old db when provisioning, rather than usingAndrew Tridgell1-2/+26
sys.unlink(). This allows smbd to see the new db without restarting. (This used to be commit 71004aa165e88f5f448dc7d90ad11dea7143f0df)
2007-10-10r8561: as with the other ejs subsystems, make nss into a objectAndrew Tridgell1-5/+7
(This used to be commit a3f3292e6698ce9be6a5036f47dd4fa81a1dfd4e)
2007-10-10r8558: move newuser logic into the provision.js libAndrew Tridgell1-0/+84
(This used to be commit b6ef32ddd1fdca0d40a12f34fa5f7a484b3c2071)
2007-10-10r8488: after discussions with simo, moved to a full OO interface, so you ↵Andrew Tridgell1-3/+3
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/+5
(a suggestion from simo) (This used to be commit 98c9c4ecb87e1b140002390067892806464849da)
2007-10-10r8484: switched the sys_*() calls to the OO interfaceAndrew Tridgell1-10/+12
tim, do you want to do the cli_*() calls now? (This used to be commit 9991e924e9dacec663a5d040ccfc878927fc3afa)
2007-10-10r8483: switched our generated ejs rpc code over to the new OO interface. ThisAndrew Tridgell1-14/+15
means we don't pollute the name space, and also makes for faster startup times as we only create variables for the pipes that we use, not all pipes (This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
2007-10-10r8481: switched ldb ejs called over to an OO interface, so you do:Andrew Tridgell1-1/+3
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-10r8445: if a system doesn't have "nogroup" then try "nobody"Andrew Tridgell1-1/+1
(This used to be commit 433f9d0a619ff34a4b7506950ee091fb8d34870d)
2007-10-10r8372: - split out provisioning logic into a separate ejs libraryAndrew Tridgell1-0/+222
- added a provisioning web page (This used to be commit 7476cb94132cf2849ec19360468904ca6fe8de2c)
2007-10-10r8355: - added a vsprintf() functionAndrew Tridgell1-0/+8
- removed the --outputdir option from provision, as its not used any more (as ejs knows the real paths) (This used to be commit abbf9c703c17c2edc2d978dade3619a96c38d0d9)
2007-10-10r8338: - added a substitute_var() js library function for doing hash drivenAndrew Tridgell1-0/+29
substitution of variables in strings - the js provision script now correctly processes provision.ldif (This used to be commit c2946003e06c4898ba0444cd0b69d3203753be94)
2007-10-10r8318: added a bunch more ejs calls.Andrew Tridgell1-1/+0
getgr*() getpw*() strlower() strupper() IfaceList() (This used to be commit 1517ad490dd67302f38ab9dcd8a3b24b73b8d550)
2007-10-10r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell2-0/+223
- switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)