summaryrefslogtreecommitdiff
path: root/testprogs
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell2-138/+27
- switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
2007-10-10r8287: yay! finally irpc calls from ejs are all working.Andrew Tridgell1-0/+24
This is a demo script that shows the nbt server statistics. For example: nbt_server statistics: total_received: 185 total_sent: 59 query_count: 13 release_count: 21 register_count: 7 (This used to be commit cd1ea857ce19ac2e105230703174634d8b9d5122)
2007-10-10r8271: make the ejs test scripts directly executable scripts using:Andrew Tridgell2-0/+2
#!/usr/bin/env smbscript I'll be interested to see how portable this is in the build farm. (This used to be commit 757c22aab43fadc776006ac5970dbfb46a13fa3c)
2007-10-10r8269: added automatic testing of rpc calls from ejs in 'make test'Andrew Tridgell2-1/+3
(This used to be commit c760180119b4ac9307783bc50892a3dc57b2465e)
2007-10-10r8257: add a samr rpc test page in the web server. It lists all level3Andrew Tridgell1-15/+5
information from QueryUserInfo for all users in the domain. If you want to see why I am putting the effort into ejs, then please read swat/scripting/samr.js, and compare it to other methods of rpc access for our web management interface. Using ejs like this will make building a rich interface _much_ easier. (This used to be commit eb354f6da7ed79eb080f2ba47df2ea655e1891db)
2007-10-10r8244: need to be careful about local vs global variables in jsAndrew Tridgell1-6/+6
(This used to be commit 763296a9b3dbde939e7986046b55e677b80456cb)
2007-10-10r8241: - take advantage of pointer comparisonAndrew Tridgell1-1/+28
- added testing of samr_EnumDomainGroups() (This used to be commit dd9465af5bb0516883aa5851e744c5b583474085)
2007-10-10r8239: - added testing of LookupDomain, OpenDomain and EnumDomainUsersAndrew Tridgell1-3/+82
- used SEC_FLAG_MAXIMUM_ALLOWED for access mask. This gets the samr.js test working with w2k3 as the server (This used to be commit a929a90ed78ceb00729cc2c20bce6f2f3d34abd6)
2007-10-10r8237: expanded the samr.js test to do a samr_Connect(), samr_EnumDomains() ↵Andrew Tridgell1-4/+37
and samr_Close() (This used to be commit 5be26e7491be14ab5b6450a666911eef7c6b8785)
2007-10-10r8234: started on testing samr calls from ejs. So far it only does ↵Andrew Tridgell2-1/+61
samr_Connect() (This used to be commit 2e50a5b780bed20415620011130af83ef73c4f85)
2007-10-10r8220: added auto-generation of ENUM constants in ejs wrapper. So we can now ↵Andrew Tridgell1-8/+8
use the enum name instead of a integer in ejs scripts making rpc calls (This used to be commit a61cdee384c3002860016c1740276529493d318d)
2007-10-10r8218: added testing of echo_TestSurrounding() andAndrew Tridgell1-0/+45
echo_TestDoublePointer(). All echo.idl functions are now tested and working from ejs. (This used to be commit c065d677697d3e8dbe2575113823a7ac7109ca70)
2007-10-10r8217: added testing of echo_TestSleep() and echo_TestEnum() in echo js codeAndrew Tridgell1-0/+39
(This used to be commit 7fa9b8251dbab9482268f84dd98889123a9219e7)
2007-10-10r8214: added testing of echo_TestCall2(), which tests the union push codeAndrew Tridgell1-0/+17
(This used to be commit 1429b885fbcf93ed012c836e21d00ca5d8c58741)
2007-10-10r8199: - we don't need to pre-declare 'var status;' everywhereAndrew Tridgell1-4/+22
- added testing of echo_TestCall(), which uses strings (This used to be commit 67aa628413342fd812afd966c95ea9d470b3151b)
2007-10-10r8197: added testing of echo_SinkData() and echo_SourceData()Andrew Tridgell1-1/+42
(This used to be commit f1d6b328c46265b04fe7c0626d94bb2c844507c9)
2007-10-10r8196: - added testing of the EchoData interface in the echo test scriptAndrew Tridgell1-11/+75
- add asserts on all calls for correct results (This used to be commit 0b67754c281f387148b64ba00742437330dc68f7)
2007-10-10r8193: fixed the echo.js example code to work with the new syntax for rpcAndrew Tridgell1-1/+1
calls from js. I chose the new syntax to match the C calling syntax, so if you are familiar with using the Samba4 rpc libraries from C, then using them from js should be easy (This used to be commit 757bb7f31cc85b08885d55adf6e2ce7d925c0353)
2007-10-10r8074: demonstrate calling echo_AddOne() from ejsAndrew Tridgell1-14/+18
(This used to be commit 0c534699efb24abefd9879859cde6a9ac61e5af3)
2007-10-10r8070: a (as yet not working) example of how rpc calls might be made from js ↵Andrew Tridgell1-0/+34
scripts (This used to be commit b9e73fa932e8289b756b557faeca1690c02a21ed)
2007-10-10r7261: Pass by reference is done in js via MPR_TYPE_OBJECT. Update argumentTim Potter1-5/+6
parsing and example for resolveName(). (This used to be commit 1a4a54931733ebfa743401a184fe460c044427b4)
2007-10-10r7256: Demonstrate use of resolveName() js function.Tim Potter1-0/+12
(This used to be commit b8e1d2f68e86ead6ba42df710ed4957ebababdf8)
2007-10-10r7161: - Add support for "aliases" for pidls scalar types and add a few aliases.Jelmer Vernooij1-19/+15
- Define __PIDL__ when preprocessing IDL files. - Remove a couple of useless defines from rpcecho.idl rpcecho.idl now works in both pidl and midl (althought pidl is a bit pedantic and gives two warnings) (This used to be commit 6731e0a6548ac24d561ba48c8e9611d0034e662f)
2007-10-10r7128: added recursion to bugs listAndrew Tridgell1-0/+19
(This used to be commit 645e645a4ee94af5cb8d6021c63a48322478582c)
2007-10-10r7125: demonstrate some bugs in ejsAndrew Tridgell1-0/+76
(This used to be commit 46adb4a065f3f7dd81d72ed041f24e2d81733b63)
2007-10-10r7076: added demos of using ARGV[]Andrew Tridgell2-3/+15
(This used to be commit 9679f2027209543108428e985bf699b370385eeb)
2007-10-10r7073: added some simple example scripts for use with smbscriptAndrew Tridgell2-0/+43
(This used to be commit f1d0c006600d6d57bce2ede87a1aae0ccfc2c412)
2007-10-10r6611: Add mailslot test programJelmer Vernooij2-0/+90
(This used to be commit fae95f740dde0d5c7268367a35d6f042e9f5f724)
2007-10-10r6541: added double pointer test to win32 echo clientAndrew Tridgell2-0/+19
(This used to be commit cb4e07744d87970719c69f8553900efa507589ce)
2007-10-10r6306: Add simple WMI client test scriptJelmer Vernooij1-0/+10
(This used to be commit 690a7d71d8d7c98d2002ab04c289c57ccac835c4)
2007-10-10r6019: Add IDL and server side code for Test_DoublePointerJelmer Vernooij2-0/+14
(This used to be commit 0559f22bbe854b7d5e15db471e51264cce413e6f)
2007-10-10r6018: Add idl and server side for Test_SurroundingJelmer Vernooij3-4/+17
(This used to be commit ed11601aef11df35f30b10e422e7113976dc6f26)
2007-10-10r6015: Add testprogs/ directory and original rpcecho sourcesJelmer Vernooij7-0/+811
( from tridges junkcode at http://samba.org/ftp/unpacked/junkcode/rpcecho-win32 ) (This used to be commit e33397f383342d91326a5c2939c5213a5fc5d9cd)