summaryrefslogtreecommitdiff
path: root/testprogs/ejs/samr.js
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8821: continue the trend to move to a more OO style of interface for our jsAndrew Tridgell1-24/+24
calls. This changes the generated RPC and IRPC calls to use the 'this' object pointer instead of requiring the passing of the object on each call. So typical usage is now: var echo = echo_init(); var io = irpcObj(); status = echo.connect("ncacn_np:server"); assert(status.is_ok); io.input.in_data = 7; status = echo.AddOne(io); assert(status.is_ok); (This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
2007-10-10r8317: convert the example scripts over to the new GetOptions() callAndrew Tridgell1-8/+15
(This used to be commit 5f079d74630cf6431ec8af7240f60054cf8b9ab7)
2007-10-10r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell1-96/+26
- switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
2007-10-10r8271: make the ejs test scripts directly executable scripts using:Andrew Tridgell1-0/+1
#!/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 Tridgell1-1/+2
(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 Tridgell1-0/+60
samr_Connect() (This used to be commit 2e50a5b780bed20415620011130af83ef73c4f85)