summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs/management.js
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11781: rename tree to tcons to match the sessions substructure of ↵Stefan Metzmacher1-5/+5
smbsrv_connection metze (This used to be commit acd3e644e030a3544ddc6cdcd4e0ec9617732cba)
2007-10-10r11458: fixed our ejs smbscript interfaces to use arrays where appropriate. InAndrew Tridgell1-2/+1
js arrays are a special type of object where the length property is automatic, and cannot be modified manually. Our code was manually setting length, which made it abort when someone passed in a real ejs array. To fix this we need to create real arrays instead of objects, and remove the code that manually sets the length (This used to be commit ebdd1393fde44a0a35446d1a922d29a7c1769ba7)
2007-10-10r8821: continue the trend to move to a more OO style of interface for our jsAndrew Tridgell1-15/+10
calls. This changes the generated RPC and IRPC calls to use the 'this' object pointer instead of requiring the passing of the object on each call. So typical usage is now: var echo = echo_init(); var io = irpcObj(); status = echo.connect("ncacn_np:server"); assert(status.is_ok); io.input.in_data = 7; status = echo.AddOne(io); assert(status.is_ok); (This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
2007-10-10r8639: moved loadparm calls into an ejs objectAndrew Tridgell1-1/+2
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
2007-10-10r8590: added server status utility functions for checking on the status of a ↵Andrew Tridgell1-0/+69
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)