1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-19 21:57:57 +03:00

29 Commits

Author SHA1 Message Date
Andrew Tridgell
eb354f6da7 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.
2007-10-10 13:19:26 -05:00
Andrew Tridgell
763296a9b3 r8244: need to be careful about local vs global variables in js 2007-10-10 13:19:24 -05:00
Andrew Tridgell
dd9465af5b r8241: - take advantage of pointer comparison
- added testing of samr_EnumDomainGroups()
2007-10-10 13:19:24 -05:00
Andrew Tridgell
a929a90ed7 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
2007-10-10 13:19:23 -05:00
Andrew Tridgell
5be26e7491 r8237: expanded the samr.js test to do a samr_Connect(), samr_EnumDomains() and samr_Close() 2007-10-10 13:19:23 -05:00
Andrew Tridgell
2e50a5b780 r8234: started on testing samr calls from ejs. So far it only does samr_Connect() 2007-10-10 13:19:23 -05:00
Andrew Tridgell
a61cdee384 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
2007-10-10 13:19:21 -05:00
Andrew Tridgell
c065d67769 r8218: added testing of echo_TestSurrounding() and
echo_TestDoublePointer(). All echo.idl functions are now tested and
working from ejs.
2007-10-10 13:19:21 -05:00
Andrew Tridgell
7fa9b8251d r8217: added testing of echo_TestSleep() and echo_TestEnum() in echo js code 2007-10-10 13:19:21 -05:00
Andrew Tridgell
1429b885fb r8214: added testing of echo_TestCall2(), which tests the union push code 2007-10-10 13:19:20 -05:00
Andrew Tridgell
67aa628413 r8199: - we don't need to pre-declare 'var status;' everywhere
- added testing of echo_TestCall(), which uses strings
2007-10-10 13:19:19 -05:00
Andrew Tridgell
f1d6b328c4 r8197: added testing of echo_SinkData() and echo_SourceData() 2007-10-10 13:19:19 -05:00
Andrew Tridgell
0b67754c28 r8196: - added testing of the EchoData interface in the echo test script
- add asserts on all calls for correct results
2007-10-10 13:19:18 -05:00
Andrew Tridgell
757bb7f31c 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
2007-10-10 13:19:18 -05:00
Andrew Tridgell
0c534699ef r8074: demonstrate calling echo_AddOne() from ejs 2007-10-10 13:19:05 -05:00
Andrew Tridgell
b9e73fa932 r8070: a (as yet not working) example of how rpc calls might be made from js scripts 2007-10-10 13:19:05 -05:00
Tim Potter
1a4a549317 r7261: Pass by reference is done in js via MPR_TYPE_OBJECT. Update argument
parsing and example for resolveName().
2007-10-10 13:17:33 -05:00
Tim Potter
b8e1d2f68e r7256: Demonstrate use of resolveName() js function. 2007-10-10 13:17:32 -05:00
Jelmer Vernooij
6731e0a654 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)
2007-10-10 13:17:21 -05:00
Andrew Tridgell
645e645a4e r7128: added recursion to bugs list 2007-10-10 13:17:20 -05:00
Andrew Tridgell
46adb4a065 r7125: demonstrate some bugs in ejs 2007-10-10 13:17:20 -05:00
Andrew Tridgell
9679f20272 r7076: added demos of using ARGV[] 2007-10-10 13:17:12 -05:00
Andrew Tridgell
f1d0c00660 r7073: added some simple example scripts for use with smbscript 2007-10-10 13:17:12 -05:00
Jelmer Vernooij
fae95f740d r6611: Add mailslot test program 2007-10-10 13:16:30 -05:00
Andrew Tridgell
cb4e07744d r6541: added double pointer test to win32 echo client 2007-10-10 13:16:24 -05:00
Jelmer Vernooij
690a7d71d8 r6306: Add simple WMI client test script 2007-10-10 13:11:30 -05:00
Jelmer Vernooij
0559f22bbe r6019: Add IDL and server side code for Test_DoublePointer 2007-10-10 13:11:15 -05:00
Jelmer Vernooij
ed11601aef r6018: Add idl and server side for Test_Surrounding 2007-10-10 13:11:14 -05:00
Jelmer Vernooij
e33397f383 r6015: Add testprogs/ directory and original rpcecho sources
( from tridges junkcode at http://samba.org/ftp/unpacked/junkcode/rpcecho-win32 )
2007-10-10 13:11:14 -05:00