Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit f217f08b679ec3ed4784ed0fe74e9cbb935cdce9)
|
|
(This used to be commit bda6943c311e005cff0b46722355e9aa693db67a)
|
|
functionality. It now completely enumerates a winreg tree.
This would make a good basis for a js version of regshell if someone
felt like taking that on.
(This used to be commit 75d0cf78ec8c01dee2a6475d4c64417349d9ec3a)
|
|
and more conveniently (caller doesn't need to know the hive names now)
(This used to be commit dadd7e22fb439f7b18c429a95c75902e4741ba8d)
|
|
(This used to be commit 33bb76ed4e1a796cf68198c0bb480a7bbd31b6cd)
|
|
(This used to be commit 10043db676f9db8d1933b6a5f9ae050cefc538ac)
|
|
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)
|
|
(This used to be commit 3a1c6a176ed37b4d696dab52b2f2e8ce5b681ff5)
|
|
(This used to be commit bdca9537a260369a53cbb286642db86bc3ea0828)
|
|
dn: cn=foo,ou=bar
objectClass: person
implies
dn: cn=foo,ou=bar
objectClass: person
cn: foo
(as well as a pile more default attributes)
We also correct the case in the attirbute to match that in the DN
(win2k3 behaviour) and I have a testsuite (in ejs) to prove it.
This module also found a bug in our provision.ldif, so and reduces
code complexity in the samdb module.
Andrew Bartlett
(This used to be commit 0cc58f5c3cce12341ad0f7a90cdd85a3fab786b3)
|
|
ejs seems to test this stuff very nicely!
Andrew Bartlett
(This used to be commit 325f6d24dfc285587bde9fea6eeaf136c2731eff)
|
|
(This used to be commit 19ae68f59ad9b81005eb68b3773f24234c0f891d)
|
|
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
|
|
making the string functions
into an object. To keep existing code working I have added:
string_init(global);
into base.js. That brings the functions into the global scope for our
existing scripts
(This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
|
|
add it to our test suite so it will be maintained
(This used to be commit 42ae50db8108ddc7c33f832d8752f809c99de157)
|
|
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)
|