Age | Commit message (Collapse) | Author | Files | Lines |
|
don't need to keep
a 'db' variable around. The ldb object knows what it is connected to.
Added a simple ldb testsuite in testprogs/ldb.js
(This used to be commit cf35818648b5b649d0cd25f115a04b7b5b5311aa)
|
|
(a suggestion from simo)
(This used to be commit 98c9c4ecb87e1b140002390067892806464849da)
|
|
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
(This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
|
|
var ldb = ldb_init();
res = ldb.search(dbfile, "(objectClass=user)");
you can also do:
ldbSearch = ldb.search;
res = ldbSearch(dbfile, "(objectClass=user)");
if you want the old interface (ie. you can use this to import
functions into the global or local namespace).
(This used to be commit 3093057d9735cbb62f57e7159264d5a28b85320f)
|
|
(This used to be commit c470c3ceac668635c83aa80730321ae7c41ad626)
|
|
- removed the --outputdir option from provision, as its not used any
more (as ejs knows the real paths)
(This used to be commit abbf9c703c17c2edc2d978dade3619a96c38d0d9)
|
|
(This used to be commit 14af014410a9971d447aafe00640407698f63d7f)
|
|
(This used to be commit 5f079d74630cf6431ec8af7240f60054cf8b9ab7)
|
|
- switched the existing test programs over to using the library
- added install of js lib
(This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
|
|
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)
|
|
#!/usr/bin/env smbscript
I'll be interested to see how portable this is in the build farm.
(This used to be commit 757c22aab43fadc776006ac5970dbfb46a13fa3c)
|
|
(This used to be commit c760180119b4ac9307783bc50892a3dc57b2465e)
|
|
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)
|
|
(This used to be commit 763296a9b3dbde939e7986046b55e677b80456cb)
|
|
- added testing of samr_EnumDomainGroups()
(This used to be commit dd9465af5bb0516883aa5851e744c5b583474085)
|
|
- 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)
|
|
and samr_Close()
(This used to be commit 5be26e7491be14ab5b6450a666911eef7c6b8785)
|
|
samr_Connect()
(This used to be commit 2e50a5b780bed20415620011130af83ef73c4f85)
|
|
use the enum name
instead of a integer in ejs scripts making rpc calls
(This used to be commit a61cdee384c3002860016c1740276529493d318d)
|
|
echo_TestDoublePointer(). All echo.idl functions are now tested and
working from ejs.
(This used to be commit c065d677697d3e8dbe2575113823a7ac7109ca70)
|
|
(This used to be commit 7fa9b8251dbab9482268f84dd98889123a9219e7)
|
|
(This used to be commit 1429b885fbcf93ed012c836e21d00ca5d8c58741)
|
|
- added testing of echo_TestCall(), which uses strings
(This used to be commit 67aa628413342fd812afd966c95ea9d470b3151b)
|
|
(This used to be commit f1d6b328c46265b04fe7c0626d94bb2c844507c9)
|
|
- add asserts on all calls for correct results
(This used to be commit 0b67754c281f387148b64ba00742437330dc68f7)
|
|
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)
|
|
(This used to be commit 0c534699efb24abefd9879859cde6a9ac61e5af3)
|
|
scripts
(This used to be commit b9e73fa932e8289b756b557faeca1690c02a21ed)
|
|
parsing and example for resolveName().
(This used to be commit 1a4a54931733ebfa743401a184fe460c044427b4)
|
|
(This used to be commit b8e1d2f68e86ead6ba42df710ed4957ebababdf8)
|
|
- 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)
|
|
(This used to be commit 645e645a4ee94af5cb8d6021c63a48322478582c)
|
|
(This used to be commit 46adb4a065f3f7dd81d72ed041f24e2d81733b63)
|
|
(This used to be commit 9679f2027209543108428e985bf699b370385eeb)
|
|
(This used to be commit f1d0c006600d6d57bce2ede87a1aae0ccfc2c412)
|
|
(This used to be commit fae95f740dde0d5c7268367a35d6f042e9f5f724)
|
|
(This used to be commit cb4e07744d87970719c69f8553900efa507589ce)
|
|
(This used to be commit 690a7d71d8d7c98d2002ab04c289c57ccac835c4)
|
|
(This used to be commit 0559f22bbe854b7d5e15db471e51264cce413e6f)
|
|
(This used to be commit ed11601aef11df35f30b10e422e7113976dc6f26)
|
|
( from tridges junkcode at http://samba.org/ftp/unpacked/junkcode/rpcecho-win32 )
(This used to be commit e33397f383342d91326a5c2939c5213a5fc5d9cd)
|