summaryrefslogtreecommitdiffstats
path: root/source4/librpc
Commit message (Collapse)AuthorAgeFilesLines
* r6973: Merge new version of pidl into the main SAMBA_4_0 branch.Jelmer Vernooij2007-10-1037-138/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | The main difference in this new version is the extra data structure generated between the IDL data structure and the NDR parser: IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc } This makes the ndr_parser.pm internals much more sane. Other changes include: - Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags. - Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc.. - Use if() {} rather then if () goto foo; everywhere - NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC - By default, top level pointers are now "ref" (as is the default in most other IDL compilers). This can be overridden using the default_pointer_top() property. - initial work on new ethereal parser generators by Alan DeKok and me - pidl now writes errors in the standard format used by compilers, which is parsable by most editors - ability to warn about the fact that pidl extension(s) have been used, useful for making sure IDL files work with other IDL compilers. oh, and there's probably some other things I can't think of right now.. (This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
* r6939: Get rid of SUBSYSTEM::NDR since all it did was require NDR_RAW.Tim Potter2007-10-101-50/+47
| | | | (This used to be commit e077d9948f1406c61982d49c2fd925852fdf6553)
* r6938: a minor update, use a better name for the NDR compression subsystemStefan Metzmacher2007-10-101-10/+10
| | | | | metze (This used to be commit 42e0aaa7fac74953de19a567f384cbf5cc39ab3d)
* r6936: Have RPC compression depend only on NDR_DRSUAPI instead of NDR_RAW whichTim Potter2007-10-101-3/+11
| | | | | pulls it in for everyone. (This used to be commit 7f51a6b4f29839b1245b6c049a0f5d0c93c6f911)
* r6932: Comment out static function - not used anywhere?Tim Potter2007-10-101-0/+6
| | | | (This used to be commit 742989c952421ebdf2d21c98e1de1b2b74b9f435)
* r6907: Unixinfo for samba4, not activated by default.Volker Lendecke2007-10-102-2/+69
| | | | | Volker (This used to be commit 81ddffde369c5b5e91bc130510f43c6841a789c4)
* r6863: lib-friendlier names + fix some dependenciesJelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit cab81a51bfd435b54e6f0d5a308aaf6828d38c00)
* r6839: Add support for building subsystems as shared libraries. This can beJelmer Vernooij2007-10-101-96/+96
| | | | | | | | | | done by setting: OUTPUT_TYPE = SHARED_LIBRARY in the [SUBSYSTEM::...] section belonging to a subsystem. The idea is to allow multiple values to OUTPUT_TYPE simultaneously (e.g. OUTPUT_TYPE = SHARED_LIBRARY, STATIC_LIBRARY, OBJLIST ) (This used to be commit b9d0ae93ba86fec0115f58e7940b2a6c908bc809)
* r6814: fill in two more unknown values in cldap responsesAndrew Tridgell2007-10-101-2/+2
| | | | (This used to be commit 5ee46b44be45763bfaa11dc0b0c9f53b7ee30a51)
* r6795: Make some functions static and remove some unused ones.Jelmer Vernooij2007-10-102-3/+3
| | | | (This used to be commit 46509eb89980bfe6dabd71264d570ea356ee5a22)
* r6781: -add some comments on how attributes and objectClasses are identified ↵Stefan Metzmacher2007-10-101-2/+83
| | | | | | | | | in DRSUAPI -and some comments on what the attribute syntaxes matches what internal datatypes metze (This used to be commit 58c6887da48c2ebdec14529cb81e7589101f7aae)
* r6746: added ndr_push_union_blob() for pushing IDL unions into a DATA_BLOBAndrew Tridgell2007-10-101-0/+23
| | | | (This used to be commit dc25be9d69a65680f7942ed29c2d791d6ce7248a)
* r6731: add a useful function for getting a guid with all bits to 0Stefan Metzmacher2007-10-101-0/+10
| | | | | metze (This used to be commit 161ecce7441649629b97ce1ca903b9704e06f66b)
* r6720: added support for the remaining 2 types of CLDAP netlogonAndrew Tridgell2007-10-103-17/+95
| | | | | | | | | | response. To work around the fact that the type of the returned data is not encoded in the packet, this required adding ndr_pull_union_blob() which allows us to pull a blob into a union with a specified switch value, in this case the switch value comes from the calling NtVer field. (This used to be commit bd27e626c27be72913d1a1569ee6e2e2711df84e)
* r6719: pidl need to be told that the external type netr_SchannelType is an ↵Andrew Tridgell2007-10-101-0/+2
| | | | | | | enum, otherwise it will assume its a struct (This used to be commit 9a8f3e3c4cc3bad804b4fab3a7248e6fd88f3749)
* r6693: first version of cldap client library, with async interfaceAndrew Tridgell2007-10-101-0/+46
| | | | (This used to be commit cbeffe830b2d3aee2ba346034548fa273a08f409)
* r6690: added ndr_pull_struct_blob_all(), which is like ↵Andrew Tridgell2007-10-101-0/+21
| | | | | | | ndr_pull_struct_blob() but checks that all bytes are consumed (This used to be commit 7951e9bd647b35d2f92d7ba4dbbc2ac05f31491a)
* r6620: the type 23 schannel bind uses a workstation name, not an account nameAndrew Tridgell2007-10-101-3/+3
| | | | (This used to be commit 250f1f69dd719a7981ec4c1698942b31826888d2)
* r6577: Make test works without installation now.Jelmer Vernooij2007-10-102-2/+2
| | | | | | Running as a non-root user using socket_wrapper is possible by simple export SOCKET_WRAPPER_DIR before running 'make test' (This used to be commit 6d93fcc407cfd98e42045c65456cfb0c45f0ff1a)
* r6574: send a value for embedded ref pointers,Stefan Metzmacher2007-10-101-1/+1
| | | | | | | | | | (this fixes the doublepointer test against w2k3) but we accept zero pointers on the receive side, because it's used in DRSUAPI metze (This used to be commit 748ab5449bcc5b47f5ceaa83277bf8084c44ec56)
* r6572: add "string_array" as new scalar type for handling SPOOLSS string array'sStefan Metzmacher2007-10-103-5/+82
| | | | | metze (This used to be commit 23b529ee090e1858fc18794b949f7e466fa82b0e)
* r6565: Cludge, cludge, cludge...Andrew Bartlett2007-10-105-34/+19
| | | | | | | | | | We need to pass the 'secure channel type' to the NETLOGON layer, which must match the account type. (Yes, jelmer objects to this inclusion of the kitchen sink ;-) Andrew Bartlett (This used to be commit 8ee208a926d2b15fdc42753b1f9ee586564c6248)
* r6557: make srvsvc available on ncalrpc and ncacn_ip_tcp so we can do eachAndrew Tridgell2007-10-101-0/+1
| | | | | comparitive benchmarks (This used to be commit d4e702da77be0e96198fc1585fa7858717d236a6)
* r6544: Use common structures between SAMR, NETLGON and the Krb5 PAC.Andrew Bartlett2007-10-103-13/+11
| | | | | | | | Fill out the group list for the SamLogon reply, so clients get the supplementary groups. Andrew Bartlett (This used to be commit d9c31e60a72c345e3a23a7eb742906bcfc18721c)
* r6526: Rename this RPC fault. Everybody else calls this ACCESS_DENIED, andAndrew Bartlett2007-10-102-2/+2
| | | | | | | it certainly doesn't make sense as LOGON_FAILURE. Andrew Bartlett (This used to be commit 4bec3d3f378ed8b988e00441c9bb5718b8548ba6)
* r6519: move string handling functions to a seperate fileStefan Metzmacher2007-10-104-476/+501
| | | | | metze (This used to be commit a29d52817ce943c15f6896b74273df739867c8f7)
* r6518: fix formattingStefan Metzmacher2007-10-101-13/+13
| | | | | metze (This used to be commit 44f943f88111c5bb913a97e652041c701a78849a)
* r6504: Fix incorrect value for SERVICE_STATE_ALL found by Karl Melcher.Tim Potter2007-10-101-1/+1
| | | | (This used to be commit f7051365584f536e4b4df20157019272c26d0e33)
* r6341: fixed the schannel idl to handle dotted names correctlyAndrew Tridgell2007-10-101-2/+2
| | | | (This used to be commit 2873c0e917e172f8f3186ad93c154f51198c352b)
* r6338: ADS style GETDC response now works well enough that WinXP can joinAndrew Tridgell2007-10-101-7/+21
| | | | | Samba4 without Samba3 nmbd (This used to be commit f4d07d7d3b6973b503d8c98f177471dd6cebfa92)
* r6331: added IDL and test suite for the ADS style response to a datagram ↵Andrew Tridgell2007-10-101-5/+44
| | | | | | | | netlogon query. Note that this response is almost identical to the CLDAP netlogon response, so adding that will now be quite easy. (This used to be commit 1ea4ed4ad1d9336f8288283688fa2d7bebfa533c)
* r6325: Rename aliasname -> alias_name in CreateDomAlias function.Tim Potter2007-10-101-1/+1
| | | | (This used to be commit 63dfa9b80649928baf72687381fcfb6dd4d20032)
* r6323: added server side support for dgram NTLOGON requests. NT4 ↵Andrew Tridgell2007-10-101-2/+1
| | | | | | | workstations can now login to a Samba4 domain. (This used to be commit df146d64ebce6b462c08a1f30919390fcf8196cb)
* r6321: added IDL and test suite for NBT dgram 'sam logon' request (sent byAndrew Tridgell2007-10-101-1/+44
| | | | | clients when a user tries to login) (This used to be commit 08ded62156b387457bc56b5910e1ddc813b375bd)
* r6320: some minor netlogon datagram fixes - NT4 can now join a Samba4 domain ↵Andrew Tridgell2007-10-101-2/+1
| | | | | | | without Samba3 nmbd (This used to be commit 4507bdc339505e91118d403948946f4a98a4f562)
* r6295: - add idl for EcDoRpc from the exchange_emsmdb interfaceStefan Metzmacher2007-10-101-1/+14
| | | | | | | | | this one uses a obfuscation(0xA5) subcontext this is taken from the openchange.org project metze (This used to be commit 4632b37d0c35c02875264db07f9c4477b3b8e040)
* r6294: - add obfuscate support, which is used in MAPI rpc's, (the ^= 0xA5 ↵Stefan Metzmacher2007-10-102-0/+53
| | | | | | | | | | | stuff), based on a patch from j.kerihuel@openchange.org - remove unused $ndr_flags argument for the ParseCompression*Start() function's metze (This used to be commit 27ccdd61822ba1a24244086522b9f8fe97fe0a78)
* r6293: fix formatingStefan Metzmacher2007-10-101-49/+49
| | | | | metze (This used to be commit f5424d2dad00abbb11262a2b4b9468497c1f81a7)
* r6287: sorted out a small but surprisingly tricky dependency problem with theAndrew Tridgell2007-10-103-80/+137
| | | | | | ndr code for handling sids and security descriptors now that we have a sid in the nbt IDL (This used to be commit f8e77fcdeac704aed5e501aa9108f3ed0ab26ca4)
* r6272: For 'programmed' use of an anonymous account, we should useAndrew Bartlett2007-10-101-2/+9
| | | | | | | | | | cli_credentials_set_conf(), not cli_credentials_guess(). Also, clarify why for particular flags, we don't do a DCERPC-level authentication. Andrew Bartlett (This used to be commit 838925761d004a1426107f4c5c84d0276fddb2c0)
* r6248: added parsing of type 10 UAS announce netlogon packetsAndrew Tridgell2007-10-101-1/+36
| | | | (This used to be commit d7e6e395cedef47dc182094c91f764e248b9b149)
* r6247: added the server side code for receiving mailslot requests, andAndrew Tridgell2007-10-101-1/+7
| | | | | parsing incoming netlogon requests. No replies are sent yet. (This used to be commit 3b34df6a674cd2aeddc354cdadae3f0e1c000d45)
* r6245: receive and parse the GETDC response in the NBT-DGRAM test. The testAndrew Tridgell2007-10-101-1/+13
| | | | | | now tries to bind to port 138 if possible, so if you run it as root and smbd/nmbd is not running then it works against windows servers (This used to be commit 52ccdb79bc922be52c24dd393323dbbee83a2aea)
* r6229: Back out these changes ...Richard Sharpe2007-10-101-15/+1
| | | | (This used to be commit 321fbae51267153102e47845736f2c3a5abfe0be)
* r6223: added a bit more datagram infrastructure and the beginnings of a testAndrew Tridgell2007-10-101-6/+32
| | | | | | | | suite. The NBT-DGRAM test does a UDP/138 netlogon request, to which a windows server sends a reply, but the windows server sends the reply to the wrong port (it always sends to 138), so the test suite doesn't see it. (This used to be commit a7634625dbc944dd8256a822be290010f341a571)
* r6219: This change allows us to fall back to authenticating withoutRichard Sharpe2007-10-101-1/+15
| | | | | | DCERPC_SCHANNEL_128 if we fail. Thus, it allows us to work with Windows NT DCs ... (This used to be commit 3034b226705c4736d57c9bf4e9470c4d44c72e8e)
* r6209: started added code to support mailslot requests over UDP/138Andrew Tridgell2007-10-101-7/+79
| | | | | | | | datagrams. This adds the IDL to parse mailslot packets, plus mailslot dispatch and listener registration code. mailslots are used for UDP/138 browse and netlogon packets (This used to be commit f20e7e5200de736b3451d748ed716be638f93502)
* r6194: - fix some spoolss_*Form names and typesStefan Metzmacher2007-10-101-27/+73
| | | | | | | | | | - fix GetPrinterData(), look inside the datablob - add idl for RemoteFindFirstChangeNotify(), without meaning yet, just to not return a DCERPC_FAULT when receiving this request metze (This used to be commit 92f3d5bd9c700032612ac20dc7635730c555c4da)
* r6191: fix spoolss_Enum* push codeStefan Metzmacher2007-10-101-3/+9
| | | | | metze (This used to be commit e66aa87f148d04f4c44b08555345600b8a6278d4)
* r6189: move function to the right placeStefan Metzmacher2007-10-101-8/+5
| | | | | metze (This used to be commit 08d22a07cfa84fe959320058e8574c8983e1d71f)