1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

431 Commits

Author SHA1 Message Date
Andrew Tridgell
001dc40ecd r8271: make the ejs test scripts directly executable scripts using:
#!/usr/bin/env smbscript

I'll be interested to see how portable this is in the build farm.
(This used to be commit 757c22aab4)
2007-10-10 13:19:28 -05:00
Andrew Tridgell
2a08b29013 r8269: added automatic testing of rpc calls from ejs in 'make test'
(This used to be commit c760180119)
2007-10-10 13:19:28 -05:00
Andrew Tridgell
a343050b2b r8257: add a samr rpc test page in the web server. It lists all level3
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 eb354f6da7)
2007-10-10 13:19:26 -05:00
Andrew Tridgell
002c4f7d18 r8244: need to be careful about local vs global variables in js
(This used to be commit 763296a9b3)
2007-10-10 13:19:24 -05:00
Andrew Tridgell
14b8ce1b01 r8241: - take advantage of pointer comparison
- added testing of samr_EnumDomainGroups()
(This used to be commit dd9465af5b)
2007-10-10 13:19:24 -05:00
Andrew Tridgell
78b3ea6c26 r8239: - added testing of LookupDomain, OpenDomain and EnumDomainUsers
- 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 a929a90ed7)
2007-10-10 13:19:23 -05:00
Andrew Tridgell
d1298d9c81 r8237: expanded the samr.js test to do a samr_Connect(), samr_EnumDomains() and samr_Close()
(This used to be commit 5be26e7491)
2007-10-10 13:19:23 -05:00
Andrew Tridgell
82251eddee r8234: started on testing samr calls from ejs. So far it only does samr_Connect()
(This used to be commit 2e50a5b780)
2007-10-10 13:19:23 -05:00
Andrew Tridgell
c11204339a r8220: added auto-generation of ENUM constants in ejs wrapper. So we can now use the enum name
instead of a integer in ejs scripts making rpc calls
(This used to be commit a61cdee384)
2007-10-10 13:19:21 -05:00
Andrew Tridgell
d105d5e9e4 r8218: added testing of echo_TestSurrounding() and
echo_TestDoublePointer(). All echo.idl functions are now tested and
working from ejs.
(This used to be commit c065d67769)
2007-10-10 13:19:21 -05:00
Andrew Tridgell
ce14638c04 r8217: added testing of echo_TestSleep() and echo_TestEnum() in echo js code
(This used to be commit 7fa9b8251d)
2007-10-10 13:19:21 -05:00
Andrew Tridgell
1e1a96eea6 r8214: added testing of echo_TestCall2(), which tests the union push code
(This used to be commit 1429b885fb)
2007-10-10 13:19:20 -05:00
Andrew Tridgell
5eea409d4c r8199: - we don't need to pre-declare 'var status;' everywhere
- added testing of echo_TestCall(), which uses strings
(This used to be commit 67aa628413)
2007-10-10 13:19:19 -05:00
Andrew Tridgell
3c2dc30b3e r8197: added testing of echo_SinkData() and echo_SourceData()
(This used to be commit f1d6b328c4)
2007-10-10 13:19:19 -05:00
Andrew Tridgell
0fe84a92fb r8196: - added testing of the EchoData interface in the echo test script
- add asserts on all calls for correct results
(This used to be commit 0b67754c28)
2007-10-10 13:19:18 -05:00
Andrew Tridgell
179927fea5 r8193: fixed the echo.js example code to work with the new syntax for rpc
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 757bb7f31c)
2007-10-10 13:19:18 -05:00
Andrew Tridgell
f663c67c4e r8074: demonstrate calling echo_AddOne() from ejs
(This used to be commit 0c534699ef)
2007-10-10 13:19:05 -05:00
Andrew Tridgell
52f481b666 r8070: a (as yet not working) example of how rpc calls might be made from js scripts
(This used to be commit b9e73fa932)
2007-10-10 13:19:05 -05:00
Tim Potter
b124351079 r7261: Pass by reference is done in js via MPR_TYPE_OBJECT. Update argument
parsing and example for resolveName().
(This used to be commit 1a4a549317)
2007-10-10 13:17:33 -05:00
Tim Potter
28732d9208 r7256: Demonstrate use of resolveName() js function.
(This used to be commit b8e1d2f68e)
2007-10-10 13:17:32 -05:00
Jelmer Vernooij
8474f37dc1 r7161: - Add support for "aliases" for pidls scalar types and add a few aliases.
- 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 6731e0a654)
2007-10-10 13:17:21 -05:00
Andrew Tridgell
a8efb670df r7128: added recursion to bugs list
(This used to be commit 645e645a4e)
2007-10-10 13:17:20 -05:00
Andrew Tridgell
509e57995c r7125: demonstrate some bugs in ejs
(This used to be commit 46adb4a065)
2007-10-10 13:17:20 -05:00
Andrew Tridgell
eba9bc5eaa r7076: added demos of using ARGV[]
(This used to be commit 9679f20272)
2007-10-10 13:17:12 -05:00
Andrew Tridgell
9e5bdc3c5d r7073: added some simple example scripts for use with smbscript
(This used to be commit f1d0c00660)
2007-10-10 13:17:12 -05:00
Jelmer Vernooij
c531b7f66c r6611: Add mailslot test program
(This used to be commit fae95f740d)
2007-10-10 13:16:30 -05:00
Andrew Tridgell
14b7313543 r6541: added double pointer test to win32 echo client
(This used to be commit cb4e07744d)
2007-10-10 13:16:24 -05:00
Jelmer Vernooij
c6595e1ead r6306: Add simple WMI client test script
(This used to be commit 690a7d71d8)
2007-10-10 13:11:30 -05:00
Jelmer Vernooij
d600b78c33 r6019: Add IDL and server side code for Test_DoublePointer
(This used to be commit 0559f22bbe)
2007-10-10 13:11:15 -05:00
Jelmer Vernooij
fa9fa3d99e r6018: Add idl and server side for Test_Surrounding
(This used to be commit ed11601aef)
2007-10-10 13:11:14 -05:00
Jelmer Vernooij
1e415ce7ba r6015: Add testprogs/ directory and original rpcecho sources
( from tridges junkcode at http://samba.org/ftp/unpacked/junkcode/rpcecho-win32 )
(This used to be commit e33397f383)
2007-10-10 13:11:14 -05:00