summaryrefslogtreecommitdiffstats
path: root/testprogs
Commit message (Collapse)AuthorAgeFilesLines
...
* r8317: convert the example scripts over to the new GetOptions() callAndrew Tridgell2007-10-104-11/+54
| | | | (This used to be commit 5f079d74630cf6431ec8af7240f60054cf8b9ab7)
* r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell2007-10-102-138/+27
| | | | | | | - switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
* r8287: yay! finally irpc calls from ejs are all working.Andrew Tridgell2007-10-101-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)
* r8271: make the ejs test scripts directly executable scripts using:Andrew Tridgell2007-10-102-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)
* r8269: added automatic testing of rpc calls from ejs in 'make test'Andrew Tridgell2007-10-102-1/+3
| | | | (This used to be commit c760180119b4ac9307783bc50892a3dc57b2465e)
* r8257: add a samr rpc test page in the web server. It lists all level3Andrew Tridgell2007-10-101-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)
* r8244: need to be careful about local vs global variables in jsAndrew Tridgell2007-10-101-6/+6
| | | | (This used to be commit 763296a9b3dbde939e7986046b55e677b80456cb)
* r8241: - take advantage of pointer comparisonAndrew Tridgell2007-10-101-1/+28
| | | | | - added testing of samr_EnumDomainGroups() (This used to be commit dd9465af5bb0516883aa5851e744c5b583474085)
* r8239: - added testing of LookupDomain, OpenDomain and EnumDomainUsersAndrew Tridgell2007-10-101-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)
* r8237: expanded the samr.js test to do a samr_Connect(), samr_EnumDomains() ↵Andrew Tridgell2007-10-101-4/+37
| | | | | | and samr_Close() (This used to be commit 5be26e7491be14ab5b6450a666911eef7c6b8785)
* r8234: started on testing samr calls from ejs. So far it only does ↵Andrew Tridgell2007-10-102-1/+61
| | | | | | samr_Connect() (This used to be commit 2e50a5b780bed20415620011130af83ef73c4f85)
* r8220: added auto-generation of ENUM constants in ejs wrapper. So we can now ↵Andrew Tridgell2007-10-101-8/+8
| | | | | | | use the enum name instead of a integer in ejs scripts making rpc calls (This used to be commit a61cdee384c3002860016c1740276529493d318d)
* r8218: added testing of echo_TestSurrounding() andAndrew Tridgell2007-10-101-0/+45
| | | | | | echo_TestDoublePointer(). All echo.idl functions are now tested and working from ejs. (This used to be commit c065d677697d3e8dbe2575113823a7ac7109ca70)
* r8217: added testing of echo_TestSleep() and echo_TestEnum() in echo js codeAndrew Tridgell2007-10-101-0/+39
| | | | (This used to be commit 7fa9b8251dbab9482268f84dd98889123a9219e7)
* r8214: added testing of echo_TestCall2(), which tests the union push codeAndrew Tridgell2007-10-101-0/+17
| | | | (This used to be commit 1429b885fbcf93ed012c836e21d00ca5d8c58741)
* r8199: - we don't need to pre-declare 'var status;' everywhereAndrew Tridgell2007-10-101-4/+22
| | | | | - added testing of echo_TestCall(), which uses strings (This used to be commit 67aa628413342fd812afd966c95ea9d470b3151b)
* r8197: added testing of echo_SinkData() and echo_SourceData()Andrew Tridgell2007-10-101-1/+42
| | | | (This used to be commit f1d6b328c46265b04fe7c0626d94bb2c844507c9)
* r8196: - added testing of the EchoData interface in the echo test scriptAndrew Tridgell2007-10-101-11/+75
| | | | | - add asserts on all calls for correct results (This used to be commit 0b67754c281f387148b64ba00742437330dc68f7)
* r8193: fixed the echo.js example code to work with the new syntax for rpcAndrew Tridgell2007-10-101-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)
* r8074: demonstrate calling echo_AddOne() from ejsAndrew Tridgell2007-10-101-14/+18
| | | | (This used to be commit 0c534699efb24abefd9879859cde6a9ac61e5af3)
* r8070: a (as yet not working) example of how rpc calls might be made from js ↵Andrew Tridgell2007-10-101-0/+34
| | | | | | scripts (This used to be commit b9e73fa932e8289b756b557faeca1690c02a21ed)
* r7261: Pass by reference is done in js via MPR_TYPE_OBJECT. Update argumentTim Potter2007-10-101-5/+6
| | | | | parsing and example for resolveName(). (This used to be commit 1a4a54931733ebfa743401a184fe460c044427b4)
* r7256: Demonstrate use of resolveName() js function.Tim Potter2007-10-101-0/+12
| | | | (This used to be commit b8e1d2f68e86ead6ba42df710ed4957ebababdf8)
* r7161: - Add support for "aliases" for pidls scalar types and add a few aliases.Jelmer Vernooij2007-10-101-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)
* r7128: added recursion to bugs listAndrew Tridgell2007-10-101-0/+19
| | | | (This used to be commit 645e645a4ee94af5cb8d6021c63a48322478582c)
* r7125: demonstrate some bugs in ejsAndrew Tridgell2007-10-101-0/+76
| | | | (This used to be commit 46adb4a065f3f7dd81d72ed041f24e2d81733b63)
* r7076: added demos of using ARGV[]Andrew Tridgell2007-10-102-3/+15
| | | | (This used to be commit 9679f2027209543108428e985bf699b370385eeb)
* r7073: added some simple example scripts for use with smbscriptAndrew Tridgell2007-10-102-0/+43
| | | | (This used to be commit f1d0c006600d6d57bce2ede87a1aae0ccfc2c412)
* r6611: Add mailslot test programJelmer Vernooij2007-10-102-0/+90
| | | | (This used to be commit fae95f740dde0d5c7268367a35d6f042e9f5f724)
* r6541: added double pointer test to win32 echo clientAndrew Tridgell2007-10-102-0/+19
| | | | (This used to be commit cb4e07744d87970719c69f8553900efa507589ce)
* r6306: Add simple WMI client test scriptJelmer Vernooij2007-10-101-0/+10
| | | | (This used to be commit 690a7d71d8d7c98d2002ab04c289c57ccac835c4)
* r6019: Add IDL and server side code for Test_DoublePointerJelmer Vernooij2007-10-102-0/+14
| | | | (This used to be commit 0559f22bbe854b7d5e15db471e51264cce413e6f)
* r6018: Add idl and server side for Test_SurroundingJelmer Vernooij2007-10-103-4/+17
| | | | (This used to be commit ed11601aef11df35f30b10e422e7113976dc6f26)
* r6015: Add testprogs/ directory and original rpcecho sourcesJelmer Vernooij2007-10-107-0/+811
( from tridges junkcode at http://samba.org/ftp/unpacked/junkcode/rpcecho-win32 ) (This used to be commit e33397f383342d91326a5c2939c5213a5fc5d9cd)