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

22 Commits

Author SHA1 Message Date
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
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