summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r9162: Fix a couple of data typesJelmer Vernooij1-10/+12
(This used to be commit 7329dd25f509a5db92ee70713fa0b2a2473ae8cb)
2007-10-10r9161: More etheral parser generator fixesJelmer Vernooij2-9/+106
(This used to be commit b323e83e8df6ba331b3f0b3abe28aa8ddf9127ef)
2007-10-10r9157: fix white spacesStefan Metzmacher1-3/+3
metze (This used to be commit 475b413cfea03c749535df8e100f0339ffecf590)
2007-10-10r9156: Add IDL and test for FlushEventLog() but it always seems to returnTim Potter1-1/+3
NT_STATUS_ACCESS_DENIED. (This used to be commit f18d1f539e4fd434dfc519e45f4c356c5cd4d73a)
2007-10-10r9154: Change eventlog enums to bitmaps.Tim Potter1-11/+11
Fix IDL for ReadEventLogW() function. (This used to be commit b1b76ad9c428f0941d104e9312aa426c39da7134)
2007-10-10r9150: The ethereal parser generators work now. Thanks to Ronnie Sahlberg forJelmer Vernooij1-4/+56
help with the debugging and comments on the generated code (-: (This used to be commit 4c165f8ff65b4500d8366b655d6df2a065f35bf5)
2007-10-10r9149: add support for string arrays in GetPrinterDataStefan Metzmacher1-1/+3
metze (This used to be commit b72062e653b1d87d957f1f10415cdd034cac4bdb)
2007-10-10r9146: - enable winreg pipe from ejsAndrew Tridgell2-2/+9
- map the result code from rpc calls into the ejs objects - treat winreg_String like lsa_String, hiding the length elements (This used to be commit 2f6311c9a34db46f9a4b1f31e865a373b15702bf)
2007-10-10r9145: Some work on eventlog since jerry is doing some in Samba3. (-:Tim Potter1-12/+25
- Convert to use lsa_String instead of eventlog_String. - Copy across some constants. - Implement idl and testcase for ClearEventLog() function (This used to be commit 352b21af3f0a84ee31d0eecaa76abf2134d044de)
2007-10-10r9130: Fix up awful indentation.Tim Potter1-22/+22
(This used to be commit b3e0baca71ca8116f7a38ff64e655a37406d64b4)
2007-10-10r8986: As far as I can tell, given the ldif I get from behind this, we have aAndrew Bartlett1-1/+1
signed NTTIME here. Andrew Bartlett (This used to be commit 57b703a9d5c26ad410125b15587a52129a41fb91)
2007-10-10r8855: Share this enum (describing the SamSync databases) between nbt and ↵Andrew Bartlett3-9/+15
netlogon. Andrew Bartlett (This used to be commit 5e29e1c68c1b1a957419320cef55395ba0fe6b6f)
2007-10-10r8820: Push this common block of code into the caller.Andrew Bartlett1-39/+18
Use talloc_steal() rather than talloc_reference(). Andrew Bartlett (This used to be commit 8774f971f3926c5c37aad1e8dfeafa394de87d63)
2007-10-10r8811: Fix the build..Jelmer Vernooij2-0/+3
(This used to be commit fac77f5fa267da57a55e88cad8993897e80741a0)
2007-10-10r8707: this typedef isn't used, and breaks the build on HPUX, so I've removed itAndrew Tridgell1-2/+0
(This used to be commit b9b8714297401664fcf8380d4c90ee22b7341d35)
2007-10-10r8614: Add COMRESULT/HRESULT scalar typeJelmer Vernooij2-0/+16
(This used to be commit 8637a85e6a349cce15a298154500921e9a0183a3)
2007-10-10r8612: Parse::Pidl::NDR:Jelmer Vernooij1-192/+0
Values that are deferred but don't contain deferred data don't need NDR_BUFFERS Parse::Pidl::Samba::NDR::Parser: Only use manually written array access functions when the array functions are faster then the autogenerated ones. Makes ndr_basic.c a bit shorter. (This used to be commit cad40815dcfb7cdcab13bd0cd204ef8711605ef3)
2007-10-10r8587: - fixed ref allocation in irpc repliesAndrew Tridgell1-0/+4
- make every irpc server support the irpc_uptime() call (This used to be commit eee90448268b9f673cc43076ad87529aa80d17ae)
2007-10-10r8577: added management calls to list current tree connectsAndrew Tridgell1-1/+15
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)
2007-10-10r8574: added server side irpc calls for listing the current sessionsAndrew Tridgell1-0/+30
(This used to be commit 391cfe3c9645a19f8f5ff5c11b1ac03ee0b10f8f)
2007-10-10r8559: Couple of (D)COM updates:Jelmer Vernooij1-5/+1
- Fixes annoying array-of-pointers bug in pidl. - No longer "inherit" alignment thru subcontexts - Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see (This used to be commit bd706d496405d274b68c1ee560211837a8e63009)
2007-10-10r8522: fixed another couple of size_t warningsAndrew Tridgell1-1/+1
(This used to be commit d2c928548336682ffd3dda873f9957f3d041f0af)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell4-7/+7
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r8519: better method of ensuring null terminationAndrew Tridgell1-1/+3
(This used to be commit f93bd0ced6b0b2b4ee3bf15e53ba30138fd6b533)
2007-10-10r8518: ensure all constructed NDR packets are null terminated. This is neededAndrew Tridgell1-8/+9
by the new ldb code dealing with binary records, but is also a good defensive strategy in general (This used to be commit 17decd129928290a6916a1d1cec73dad924d64f8)
2007-10-10r8503: remove useless lineStefan Metzmacher1-1/+0
metze (This used to be commit ec31739642a89fb62930a3b8c0fa870aaad5c476)
2007-10-10r8500: greatly reduce the number of build warnings on x86-64 (every NDR macroAndrew Tridgell1-5/+5
in the generated code from pidl generated a warning) (This used to be commit 22f7fd76343646a149937fcdc891a98a516bf820)
2007-10-10r8480: fixed a typoAndrew Tridgell1-2/+2
(metze, I assume this was just a typo? it broke the build on oehmesrs6k) (This used to be commit aa68459fe7579b385dd1824680ec641052029a1e)
2007-10-10r8476: add a note that DsAddEntry is very incomplete yetStefan Metzmacher1-0/+8
metze (This used to be commit 53b91754107b790e2349a97069ea03a7bd6ff712)
2007-10-10r8474: add some more attid mappingsStefan Metzmacher1-1/+6
for the password fields metze (This used to be commit 8454d32eb2f0aa4287956951c2550f060f7f10b3)
2007-10-10r8375: - move from netr_StringLarge to lsa_StringLargeStefan Metzmacher2-11/+17
- we need to use lsa_StringLarge in lsa_DnsDomainInfo, to make windows clients happy metze (This used to be commit 044d18f85f82b4ab5d71a6ae366052af0dbe8e7e)
2007-10-10r8368: the type filed depends on the user being present or notStefan Metzmacher1-4/+4
call ndr_print for each call metze (This used to be commit 0a07e4ef8d869d35ceb0761495e367077f2361ba)
2007-10-10r8335: removed some duplicated codeAndrew Tridgell1-9/+5
(This used to be commit 1536d66662193568a51793d65fb319882db9d089)
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-10r8268: added the 'needed' logic to ehs generation, so we don't generateAndrew Tridgell2-2/+14
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-10r8262: - simplify the dependency handling for ejs modulesAndrew Tridgell1-0/+56
- 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 Tridgell1-4/+4
ndr strings (This used to be commit aa0e1d6699959571963d6e6fb455b33c4436dcdf)
2007-10-10r8260: added an init based registration system for the generated ejs rpc ↵Andrew Tridgell1-0/+5
code, so adding a new pipe only involves changes to librpc/config.mk (This used to be commit 0e54fa446665f380e9c46723a6e2be5a08b8d51c)
2007-10-10r8256: - allow rpc calls from non-command line ejs contexts by creating a setAndrew Tridgell1-1/+1
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-10r8252: Steal metze's thunder, and prove that with a few small tweaks, we canAndrew Bartlett1-2/+8
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-10r8250: More PAC work. We now sucessfully verify the KDC signature from my DCAndrew Bartlett1-1/+1
(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-10r8233: - added support for more base types in pidl ejsAndrew Tridgell3-2/+22
- 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 Metzmacher3-201/+187
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
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-10r8223: fix the values of nt_version and type we reply in the server code,Stefan Metzmacher1-18/+18
also name the struct like the nt_version number metze (This used to be commit 1e3af5cc1f68b7fa54b8ba77ed9836a619a69436)
2007-10-10r8212: fix pushing of nbt_string's:Stefan Metzmacher1-0/+1
- 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-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-10r8192: updated the glue code for the generated ejs functions from pidlAndrew Tridgell1-0/+5
only handles a small subset of all IDL files so far (This used to be commit 14b6436cc51f599572932bef72c49e0da4888073)
2007-10-10r8171: According to Samba 3 and Ethereal, the winreg_OpenUnkown stuff isTim Potter1-14/+9
actually a uint16 * without the [string] attribute, a la the the system_name argument to samr_Connect(). Initialising the pointer to NULL is sufficient and we still pass the RPC-WINREG test against win2k3. (This used to be commit 407d962dacf7c833b36cb739e48fe97226968a34)
2007-10-10r8168: after testing I saw that w2k3 uses unique pointers on the mgmt pipeStefan Metzmacher1-2/+2
that also matches the spec at http://www.opengroup.org/onlinepubs/9629399/apdyq.htm metze (This used to be commit 117e678bde040b9294c2fff473ececd0d7e3a1cc)