summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8288: The SMB_ASSERT_ARRAY macro isn't used anymore.Tim Potter1-3/+0
(This used to be commit aab24385ab736f4072e25ad5702ee0aaf4192ecc)
2007-10-10r8286: it makes more sense to combine the refresh count with the register ↵Andrew Tridgell1-1/+0
count, as they are really the same packet (you can register with a refresh) (This used to be commit 5006528554a70c25fea15966d68b4002850ebb3e)
2007-10-10r8285: generate some real stats in the nbt server for the irpc client code ↵Andrew Tridgell4-0/+35
to look at (This used to be commit 73643884a3c76de5a738a28054a168fdb008a9f8)
2007-10-10r8284: - fixed some uninitialised variables in the irpc codeAndrew Tridgell5-11/+107
- added code to send multiple irpc calls in parallel, to all servers that have registered the given name, with output going in io.results[i]. This allows you to make rpc calls to multiple servers at once, which is needed for clients like smbstatus (This used to be commit 061e20e509d95ffe16d7dd6fba7db39fc7a165ed)
2007-10-10r8283: make sure we build constant variables for both pull and push side of ↵Andrew Tridgell1-12/+20
enums (This used to be commit 529370ed92f5a683ae7bd34d0cd2ce01c2bda81a)
2007-10-10r8282: make the deletion of the smbd.tmp directory recursive. This cleans up ↵Andrew Tridgell1-45/+40
the messaging directory (This used to be commit 783679e0df6c059ebd26f78115445e81e304bc84)
2007-10-10r8281: pass the callnum and rpc interface table directly from the generatedAndrew Tridgell3-22/+32
code in pidl for ejs calls. This means that ejs_rpc_call() doesn't need to scan the rpc tables for the right interface, and doesn't need to scan for the call name (This used to be commit 1c6b1102e5c2529206b917e7c6b279c4f63d0e9a)
2007-10-10r8280: - added irpc_connect() for connecting to a irpc server by nameAndrew Tridgell3-3/+87
- make the dcerpc pipe in rpc_connect() a talloc child of the ejs connection variable. That means when the connection variable goes out of scope, the connection is automatically closed. That makes for a more natural interface for closing connections in a scripting language (tpot, you may wish to use mprSetPtrChild() in your smb glue code too) (This used to be commit 1c170138a8e82cb42958b88b94a1d567ffa88a92)
2007-10-10r8279: make sure we hold a lock when manipulating the irpc names dbAndrew Tridgell1-1/+21
(This used to be commit 9c408d5d7cb82e910ffb5963ddc78e5759513385)
2007-10-10r8278: this should fix the heimdal h_errno warningsAndrew Tridgell2-2/+10
(This used to be commit 5812e74c4f2b95eec89b434371c86268892feaac)
2007-10-10r8277: filled in the code for finding irpc server ids by name, storing theAndrew Tridgell2-2/+126
names in a tdb (This used to be commit b603a52f27bf90e71d605440d44267dcd94c6939)
2007-10-10r8276: fixed the remaining memory leaks in smbscript. We can now loop doingAndrew Tridgell10-124/+138
lots of rpc calls without memory usage increasing. (This used to be commit 9c885a7edb771486793eb287288158157b34e8f3)
2007-10-10r8275: possibly a more portable way to export symbols in perl?Andrew Tridgell3-6/+9
(This used to be commit d5153d16e1630e85c05a19b2d279bb1100497be5)
2007-10-10r8274: Export some more symbols.Jelmer Vernooij11-145/+184
(This used to be commit d1f754a0a34c5938579a605b4f113100e14bac3d)
2007-10-10r8273: fixed some memory leaks in smbscript. This required convertingAndrew Tridgell10-121/+90
file_load() to use talloc, which impacted quite a few bits of code, including our smb.conf processing. took the opportunity to remove the gloabls in params.c while doing this (This used to be commit b220756cb4f1d201ba3e771ca67e4bfae5eae748)
2007-10-10r8272: added the hooks for adding a name to a messaging context, so we willAndrew Tridgell6-0/+22
be able to send a message to the "ldap_server" task without having to know its task ID. (This used to be commit 8f69867867857e0c9a9246c2dec9612ccc234724)
2007-10-10r8271: make the ejs test scripts directly executable scripts using:Andrew Tridgell1-1/+4
#!/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-10r8270: Export some symbols, making the code more readable.Jelmer Vernooij12-103/+117
(This used to be commit d64bffa17ea1c46d917e362d51741148b85fb97f)
2007-10-10r8269: added automatic testing of rpc calls from ejs in 'make test'Andrew Tridgell2-0/+24
(This used to be commit c760180119b4ac9307783bc50892a3dc57b2465e)
2007-10-10r8268: added the 'needed' logic to ehs generation, so we don't generateAndrew Tridgell3-15/+87
functions we don't need. That is a lot of functions, as ejs is only client side, so it only needs push functions for [out] vars, and pull functions for [in] vars added irpc and srvsvc IDL to list of available pipes. (This used to be commit c7a9dbe70a39156a20e56b4dd732fd838437eecd)
2007-10-10r8267: re-generated the yapp parser with correct pathsAndrew Tridgell1-59/+59
(This used to be commit a6922ccd636a343ff13127db0f721e4f9296efb4)
2007-10-10r8265: Fixes to the pidl test suite.Jelmer Vernooij8-62/+51
(This used to be commit 1235333afbfab643ea35e9b43f6142da3f6a41d7)
2007-10-10r8264: - Use standard perl package structure for pidl.Jelmer Vernooij30-535/+376
- Only "use" pidl modules in the main executable when necessary Try 'make install' in build/pidl to install the package (should work stand-alone). (This used to be commit c620095692122a65ae1c5d85ca20468d4de93c54)
2007-10-10r8263: Some small pidl fixes, start working towards supporting installation ↵Jelmer Vernooij4-5/+7
of pidl. (This used to be commit c785677a14c958a518d5a9755d2b94e81b34bdb3)
2007-10-10r8262: - simplify the dependency handling for ejs modulesAndrew Tridgell4-106/+119
- added config.mk entries for some more pipes - simplify the handling of ejs variables in the pidl code (This used to be commit 595304708db69229495c5739b5cacab732afd55f)
2007-10-10r8261: charset style strings in pidl should be const, just like old style ↵Andrew Tridgell2-5/+5
ndr strings (This used to be commit aa0e1d6699959571963d6e6fb455b33c4436dcdf)
2007-10-10r8260: added an init based registration system for the generated ejs rpc ↵Andrew Tridgell4-18/+63
code, so adding a new pipe only involves changes to librpc/config.mk (This used to be commit 0e54fa446665f380e9c46723a6e2be5a08b8d51c)
2007-10-10r8259: We want to oset the provided flags not zeroSimo Sorce1-1/+1
(This used to be commit 50d8ccacca707738f131e47c739dcfacde1311e6)
2007-10-10r8258: Release the opendb lock in pvfs_change_create_options.Volker Lendecke1-0/+2
Volker (This used to be commit 2c4fd3ff99a4ade613030b3eb47d0ed527a95be3)
2007-10-10r8256: - allow rpc calls from non-command line ejs contexts by creating a setAndrew Tridgell5-3/+35
of null credentials to use if cmdline_credentials is not setup - hide the length and size elements of a lsa_String from js scripts, so you can use a lsa_String just as an ordinary string without knowing its a structure. We won't do this with all structures, just a few core ones that are used often enough to warrant it. - make sure returned ldb arrays have a length property (This used to be commit 12d2092dd8668de41776132ccbcd634790c371a9)
2007-10-10r8255: enable access to the ejs constants generated by pidl from the web ↵Andrew Tridgell1-0/+2
server esp pages (This used to be commit 354cdf893d7ce36afd6f2776308b3c864f29ce0b)
2007-10-10r8254: fixed a valgrind error in the unix auth codeAndrew Tridgell1-1/+1
(This used to be commit ad1a4802d0634960646a6efe039fe8b62ead63dd)
2007-10-10r8253: fixed two crash bugs in ejs. I will send these fixes off to the ↵Andrew Tridgell2-1/+4
appweb guys soon. (This used to be commit 3fe83b48c3fe4cdc1e7ec0271e08f7bd77e90de9)
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-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-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-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-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-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)