summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8252: Steal metze's thunder, and prove that with a few small tweaks, we canAndrew Bartlett3-5/+18
now push/pull a sample PAC, and still have the same byte buffer. (Metze set up the string code, and probably already has a similar patch). Unfortunetly win2k3 still doesn't like what we provide, but every step helps. Also use data_blob_const() when we are just wrapping data for API reasons. Andrew Bartlett (This used to be commit e7c8076fc1459ff2ccefdaf0b091d04ee6137957)
2007-10-10r8251: fixed a couple of valgrind errors in the unix auth code. Simo, can youAndrew Tridgell2-1/+2
please check that this is what you intended? (This used to be commit a57738769dfb5a47ac49e965750193ecdc903d5a)
2007-10-10r8250: More PAC work. We now sucessfully verify the KDC signature from my DCAndrew Bartlett6-31/+90
(I have included the krbtgt key from my test network). It turns out the krbtgt signature is over the 16 (or whatever, enc-type dependent) bytes of the signature, not the entire structure. Also do not even try to use Kerberos or GSSAPI on an IP address, it will only fail. Andrew Bartlett (This used to be commit 3b9558e82fdebb58f240d43f6a594d676eb04daf)
2007-10-10r8249: Clarify (with a comment) why we are playing these games here.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 33dcbe938df532e63b9c02c2b6cef11090021481)
2007-10-10r8248: Make these comments more accurate.Andrew Bartlett1-4/+6
Andrew Bartlett (This used to be commit 00e1cf79410eb7d31958ba272d87eb2d379c3613)
2007-10-10r8247: remove the free of fullname in nbtname.c for now.Andrew Tridgell1-1/+5
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)
2007-10-10r8246: Don't try and set the element after the end off the array to NULL.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 44338b2852bff36d642ea0296d480d384e88fbcb)
2007-10-10r8245: Add const.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 8c079ce1631433f6bf1da8f378ea5f1a271a02ae)
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-10r8243: fixed indentation of generated ejs interface codeAndrew Tridgell1-92/+167
(This used to be commit 08cf709bc6d6701b50bbda6de45543bafe3f08a5)
2007-10-10r8242: support bitmap constants from ejs callsAndrew Tridgell1-4/+13
(This used to be commit 0cf8c091a9f1e389eb2be036311d9e73d13e336d)
2007-10-10r8241: - take advantage of pointer comparisonAndrew Tridgell1-1/+28
- added testing of samr_EnumDomainGroups() (This used to be commit dd9465af5bb0516883aa5851e744c5b583474085)
2007-10-10r8240: support comparing pointers in ejs. This allows forAndrew Tridgell1-1/+4
if (io.output.samr == NULL) { print("no result\n"); } (This used to be commit 89db5c68a5ee6875ccddcfe70a6e1232b40039b3)
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-10r8238: - fixed handling of NULL pointers from ejsAndrew Tridgell4-0/+49
- added automatic creation of all constants in IDL as ejs variables (This used to be commit 9398b02e4ba51145e447668e321ca927f44c0078)
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-10r8236: fixed support for arrays of structuresAndrew Tridgell1-4/+4
(This used to be commit cbe5289ac9a8adfe68704dc16a2b32ecbd15a4eb)
2007-10-10r8235: fix the buildStefan Metzmacher2-2/+2
metze (This used to be commit 5933b00461e6e7c7f0ab60d61f9be215aa68c317)
2007-10-10r8234: started on testing samr calls from ejs. So far it only does ↵Andrew Tridgell2-1/+61
samr_Connect() (This used to be commit 2e50a5b780bed20415620011130af83ef73c4f85)
2007-10-10r8233: - added support for more base types in pidl ejsAndrew Tridgell11-25/+314
- 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)
2007-10-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher16-265/+251
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r8230: prevent authentication dying on a NULL domainAndrew Tridgell1-1/+1
(This used to be commit e1cfc6d03244e04d59a96ef2abb5b48fcb157b0a)
2007-10-10r8229: A level2 oplock does not conflict a no-oplock open, but is broken on ↵Volker Lendecke1-0/+119
first write. Test that. Volker (This used to be commit 2ad02d5e09ca00ca998e363b535b16af45c82a5f)
2007-10-10r8228: fix compiler warningsStefan Metzmacher1-9/+9
metze (This used to be commit 93c1d18021cbf08be1782b129c40d8769b1b559c)
2007-10-10r8227: add STR_LARGE_SIZE flag, to support strings where the size is length+1,Stefan Metzmacher3-2/+19
metze (This used to be commit cdd03fe87d0120ab3e18566bfc20df5955f9fb3c)
2007-10-10r8226: w2k3 adds a '.' after the forest and domain dns names for the primary ↵Stefan Metzmacher1-10/+27
domain and NULL for the trusted domains forest dns name metze (This used to be commit 225fc1b8658f01217b55e2d1c6d5814ee5022559)
2007-10-10r8225: make nETBIOSName case insensitive, so that lower case netbios domain ↵Stefan Metzmacher1-0/+1
REALM's are working in the hdb-ldb module metze (This used to be commit d24f39a5d746b9eabc4d5f6f6070a85be084d82c)
2007-10-10r8224: - add objectGUID ldif_handlerStefan Metzmacher2-31/+165
- fix some compiler warnings metze (This used to be commit e6c39241bf93336d4c94c43f9d8beb69018fb74a)
2007-10-10r8223: fix the values of nt_version and type we reply in the server code,Stefan Metzmacher3-64/+61
also name the struct like the nt_version number metze (This used to be commit 1e3af5cc1f68b7fa54b8ba77ed9836a619a69436)
2007-10-10r8222: 0 entries are no error, unless it's a base searchStefan Metzmacher1-1/+5
metze (This used to be commit 0297943ff201b06cc7a3c4aba5d81481a4cc5966)
2007-10-10r8220: added auto-generation of ENUM constants in ejs wrapper. So we can now ↵Andrew Tridgell7-10/+78
use the enum name instead of a integer in ejs scripts making rpc calls (This used to be commit a61cdee384c3002860016c1740276529493d318d)
2007-10-10r8218: added testing of echo_TestSurrounding() andAndrew Tridgell1-0/+45
echo_TestDoublePointer(). All echo.idl functions are now tested and working from ejs. (This used to be commit c065d677697d3e8dbe2575113823a7ac7109ca70)
2007-10-10r8217: added testing of echo_TestSleep() and echo_TestEnum() in echo js codeAndrew Tridgell1-0/+39
(This used to be commit 7fa9b8251dbab9482268f84dd98889123a9219e7)
2007-10-10r8216: - handle union pull in ejs pidl generationAndrew Tridgell2-2/+28
- added debugging calls for missing structure/union elements (This used to be commit f3ff48204cb8edeb9f42afbbefe13f7d49305506)
2007-10-10r8215: switched the pull side of the ejs generator over to the recursive ↵Andrew Tridgell3-61/+71
LEVELS based approach. This allows for much more complex structure mappings to be generated. (This used to be commit 49fc14d13291b02f7b16ab0eefe7bfb26f51b1c8)
2007-10-10r8214: added testing of echo_TestCall2(), which tests the union push codeAndrew Tridgell1-0/+17
(This used to be commit 1429b885fbcf93ed012c836e21d00ca5d8c58741)
2007-10-10r8213: I've started to understand the LEVELS stuff in pidl much better now,Andrew Tridgell3-82/+106
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)
2007-10-10r8212: fix pushing of nbt_string's:Stefan Metzmacher2-35/+50
- 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)
2007-10-10r8211: fix some cldap repliesStefan Metzmacher1-3/+3
metze (This used to be commit 8ca5729ec80a9064d592503ae101d22e07c2da0a)
2007-10-10r8210: - make the ndr_token_* function publicStefan Metzmacher1-18/+29
- 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)
2007-10-10r8203: fix the build temporary,Stefan Metzmacher1-2/+2
we also get perl warnings uninitialized value used in ejs.pm line 26 metze (This used to be commit 3f0a6efd7495971d4641cc9c3a5c5ede4bbc6898)
2007-10-10r8200: - added stub functions for union pull/pushAndrew Tridgell2-6/+34
- kill the js interpreter with an exception on internal errors (This used to be commit 5f062d71481a0aa2d8c89099abb2d171b789879e)
2007-10-10r8199: - we don't need to pre-declare 'var status;' everywhereAndrew Tridgell1-4/+22
- added testing of echo_TestCall(), which uses strings (This used to be commit 67aa628413342fd812afd966c95ea9d470b3151b)
2007-10-10r8198: - handled push/pull of simple strings in ejsAndrew Tridgell4-29/+112
- 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)
2007-10-10r8197: added testing of echo_SinkData() and echo_SourceData()Andrew Tridgell1-1/+42
(This used to be commit f1d6b328c46265b04fe7c0626d94bb2c844507c9)
2007-10-10r8196: - added testing of the EchoData interface in the echo test scriptAndrew Tridgell1-11/+75
- add asserts on all calls for correct results (This used to be commit 0b67754c281f387148b64ba00742437330dc68f7)
2007-10-10r8195: - fixed handling of simple arrays. To keep the logic simple, I moved ↵Andrew Tridgell2-17/+17
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)
2007-10-10r8194: delete the old hand-written ejs code for echo_AddOne. This is nowAndrew Tridgell1-45/+0
autogenerated by pidl (This used to be commit 697b67ed572a458494fbf9172a341f6b621c84a3)
2007-10-10r8193: fixed the echo.js example code to work with the new syntax for rpcAndrew Tridgell1-1/+1
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)
2007-10-10r8192: updated the glue code for the generated ejs functions from pidlAndrew Tridgell6-30/+160
only handles a small subset of all IDL files so far (This used to be commit 14b6436cc51f599572932bef72c49e0da4888073)