summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 Tridgell3-1/+6
#!/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 Tridgell4-1/+27
(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-10r8266: Update debian packagesJelmer Vernooij7-17/+28
(This used to be commit 35bfb5de6feaeed9854b701b8d38f08a350d91cb)
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-10r8257: add a samr rpc test page in the web server. It lists all level3Andrew Tridgell5-33/+214
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)
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-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)