Age | Commit message (Collapse) | Author | Files | Lines |
|
Metze, the ndr_token_store() code is storing temporary pointers into
this string in the token list, which means we are referring to freed
memory when we scan the token list. A better key might be a pointer
into the ndr buffer?
(This used to be commit 6a4e8cc991613773a65545eb308cf4ead75844e8)
|
|
Andrew Bartlett
(This used to be commit 44338b2852bff36d642ea0296d480d384e88fbcb)
|
|
Andrew Bartlett
(This used to be commit 8c079ce1631433f6bf1da8f378ea5f1a271a02ae)
|
|
(This used to be commit 763296a9b3dbde939e7986046b55e677b80456cb)
|
|
(This used to be commit 08cf709bc6d6701b50bbda6de45543bafe3f08a5)
|
|
(This used to be commit 0cf8c091a9f1e389eb2be036311d9e73d13e336d)
|
|
- added testing of samr_EnumDomainGroups()
(This used to be commit dd9465af5bb0516883aa5851e744c5b583474085)
|
|
if (io.output.samr == NULL) {
print("no result\n");
}
(This used to be commit 89db5c68a5ee6875ccddcfe70a6e1232b40039b3)
|
|
- 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)
|
|
- added automatic creation of all constants in IDL as ejs variables
(This used to be commit 9398b02e4ba51145e447668e321ca927f44c0078)
|
|
and samr_Close()
(This used to be commit 5be26e7491be14ab5b6450a666911eef7c6b8785)
|
|
(This used to be commit cbe5289ac9a8adfe68704dc16a2b32ecbd15a4eb)
|
|
metze
(This used to be commit 5933b00461e6e7c7f0ab60d61f9be215aa68c317)
|
|
samr_Connect()
(This used to be commit 2e50a5b780bed20415620011130af83ef73c4f85)
|
|
- added auto generation of a header with prototypes for public ejs functions
- make public functions non-static
- fixed allocation of fixed sized arrays
- added 'noejs' flag indicating that a typedef will be handled manually by ejs
- added manual functions for sid and GUID, so they show up as nice
strings in ejs scripts
This allows ejs to bring in samr, security, lsa and misc IDL functions
(This used to be commit a8cb2dbdcc2871090a26f580f67db8f0636d1e7e)
|
|
metze
(This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
|
|
(This used to be commit e1cfc6d03244e04d59a96ef2abb5b48fcb157b0a)
|
|
first
write. Test that.
Volker
(This used to be commit 2ad02d5e09ca00ca998e363b535b16af45c82a5f)
|
|
metze
(This used to be commit 93c1d18021cbf08be1782b129c40d8769b1b559c)
|
|
metze
(This used to be commit cdd03fe87d0120ab3e18566bfc20df5955f9fb3c)
|
|
domain
and NULL for the trusted domains forest dns name
metze
(This used to be commit 225fc1b8658f01217b55e2d1c6d5814ee5022559)
|
|
REALM's
are working in the hdb-ldb module
metze
(This used to be commit d24f39a5d746b9eabc4d5f6f6070a85be084d82c)
|
|
- fix some compiler warnings
metze
(This used to be commit e6c39241bf93336d4c94c43f9d8beb69018fb74a)
|
|
also name the struct like the nt_version number
metze
(This used to be commit 1e3af5cc1f68b7fa54b8ba77ed9836a619a69436)
|
|
metze
(This used to be commit 0297943ff201b06cc7a3c4aba5d81481a4cc5966)
|
|
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)
|
|
- added debugging calls for missing structure/union elements
(This used to be commit f3ff48204cb8edeb9f42afbbefe13f7d49305506)
|
|
LEVELS based approach.
This allows for much more complex structure mappings to be generated.
(This used to be commit 49fc14d13291b02f7b16ab0eefe7bfb26f51b1c8)
|
|
(This used to be commit 1429b885fbcf93ed012c836e21d00ca5d8c58741)
|
|
and have re-coded the push side of the ejs generator to use it
properly. It ends up being very neat and small, and should handle much
more complex structures (like arrays of pointers to unions etc).
Also added push side support for unions. This should get more of the
echo pipe working via ejs.
(This used to be commit 2e306be1d83f722c259c4a63233e77d8bb1d5a72)
|
|
- we now use an ndr_token_list, for the nbt string label pointer offsets
this avoids to scan the whole buffer
- we need to check for already send string on a per component basis
not only for the fullname
e.g.
w2k3 response this in the CLDAP netlogon replies
forest: w2k3.vmnet1.vm.base
dns_name: sub1.
pdc_dns_name: w2k3-104.
and this will be interpreted like
forest: w2k3.vmnet1.vm.base
dns_name: sub1.w2k3.vmnet1.vm.base
pdc_dns_name: w2k3-104.w2k3.vmnet1.vm.base
metze
(This used to be commit d18303a0e27643285ffaf100eeddea2f9555c9db)
|
|
metze
(This used to be commit 8ca5729ec80a9064d592503ae101d22e07c2da0a)
|
|
- allow comparison function to be passed for ndr_token_retrive_cmp_fn(),
this is for matching the keys, if NULL is passed, the old behavior
tok->key == key is used
metze
(This used to be commit 019f3dc767ef703768df3acdbbd80808c122855c)
|
|
we also get perl warnings uninitialized value used in ejs.pm line 26
metze
(This used to be commit 3f0a6efd7495971d4641cc9c3a5c5ede4bbc6898)
|
|
- kill the js interpreter with an exception on internal errors
(This used to be commit 5f062d71481a0aa2d8c89099abb2d171b789879e)
|
|
- added testing of echo_TestCall(), which uses strings
(This used to be commit 67aa628413342fd812afd966c95ea9d470b3151b)
|
|
- improved the error handling, so the ejs wrappers don't just ignore a type they
don't handle, instead an exception is issued saying what isn't handled
(This used to be commit a77c2aa8606ad668f6a513211a1d9e7d6193d741)
|
|
(This used to be commit f1d6b328c46265b04fe7c0626d94bb2c844507c9)
|
|
- add asserts on all calls for correct results
(This used to be commit 0b67754c281f387148b64ba00742437330dc68f7)
|
|
to making all push
functions taking a constant pointer to the type rather than having a different calling
convention for scalars and pointers
- fixed the setting of the 'length' element in arrays
(This used to be commit 431b4b6888434daa8d1306f0e98bae7b2fe0fddd)
|
|
autogenerated by pidl
(This used to be commit 697b67ed572a458494fbf9172a341f6b621c84a3)
|
|
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)
|
|
only handles a small subset of all IDL files so far
(This used to be commit 14b6436cc51f599572932bef72c49e0da4888073)
|
|
simple rpc calls to work. Still very rough, but its a start.
(This used to be commit fb2639bbc203e49f6719922b6850edf28c8748a1)
|
|
Creating a file in a directory with delete-on-close set returns
DELETE_PENDING, and trying to set the flag on a non-empty directory returns
DIRECTORY_NOT_EMPTY.
Volker
(This used to be commit 5680f34778b2f5291936f4d4fb937a7713696c52)
|
|
Volker
(This used to be commit 47a9df946d5ff967289fba0ff4209711ead11e31)
|
|
forms both differ only in case. We may need a better solution than
this later.
Andrew Bartlett
(This used to be commit a0ad13f5bceb17c1b856548825e5509921b409f0)
|
|
connection(!) and
resetting it on another resets it for both.
Volker
(This used to be commit 30bd7e36669dbb2fd7d85a1cd72927370267d616)
|