summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17993: as metze pointed out, the composite_error() already calls the asyncAndrew Tridgell1-2/+0
handler, so don't call composite_done() (This used to be commit d70ec77b00e542cc4b8c2bd7d27fe5940623abc5)
2007-10-10r17990: added timeout checking on dcerpc connection establishment. This shouldAndrew Tridgell1-2/+17
fix the problem on some build farm hosts where we were waiting forever for a connection to DRSUAPI to be made, so the next test will start. Next is to try and work out why the connection is timing out on some hosts. That is probably a server bug, but at least with this change we can see it. (This used to be commit 45fccc6d229168058a2a02fe5fe6f0bc259d6afe)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij3-3/+2
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17337: make better usage of the composite apiStefan Metzmacher1-26/+28
and create an event context explicit metze (This used to be commit 02ec14e55390d7e21073d2c41a0c76b128b8b4e9)
2007-10-10r17336: make the logic a bit more easier to understand...Stefan Metzmacher1-55/+51
metze (This used to be commit 60afb466831da7a6946079ef0683cb6bff5edeb9)
2007-10-10r17329: - after a composite_continue() we need to call return;Stefan Metzmacher1-12/+11
- add some comments metze (This used to be commit adb4ba9db2d22277e24fa56bdd781f9628f1a076)
2007-10-10r17328: make better usage of the composite apiStefan Metzmacher1-111/+32
metze (This used to be commit ae0834c8ca6d7049261eb9843dfd519594235d59)
2007-10-10r17327: when the connect with the ipv6 socket was ok,Stefan Metzmacher1-1/+4
we need to inform the caller... metze (This used to be commit 40f10dfd60a6d572539c85cb2637ca920e5f1bca)
2007-10-10r17326: make better usage of the composite apiStefan Metzmacher2-23/+8
metze (This used to be commit 097c9f09f3b9b45f7b0386dfb02173c1515ed45c)
2007-10-10r17325: make better usage of the composite apiStefan Metzmacher1-90/+38
metze (This used to be commit 26a62458cd9da2579c1f607dc13189769b4724da)
2007-10-10r17324: make better usage of the composite apiStefan Metzmacher1-20/+19
metze (This used to be commit 0fa97777107f5f65f8b48976b90f1ae52f1fe2a5)
2007-10-10r17323: make better use of the composite api and fix the memoryStefan Metzmacher1-52/+24
hierachy metze (This used to be commit a0aa61a8d583ef626d082c47377c87008874e235)
2007-10-10r17322: make better use of the composite apiStefan Metzmacher1-47/+22
metze (This used to be commit 5e66bf463b0998b2981380f1250b60b723595ac4)
2007-10-10r17321: give better error codesStefan Metzmacher1-2/+2
metze (This used to be commit 8e87b79ce73931376b5852bc734f982f57aad4f3)
2007-10-10r17320: - print the debug message before the composite context get received ↵Stefan Metzmacher1-7/+6
by the caller - steal pipe2 to the state structure so we don't need to take about freeing is later metze (This used to be commit 4ba50fc29ec1949bb1b035ae3f2dc5f877ce581f)
2007-10-10r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell1-4/+2
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10r15812: Explicitly cast to unsigned int.Jelmer Vernooij1-3/+3
(This used to be commit c910a3f9c8c657b290bc03a47a6b4cba20f02a55)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher1-11/+11
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r15524: fix a problem with rpc faults from bind and alter contextAndrew Tridgell2-91/+96
requests. The fix involves using the same packet queue mechanism for these requests as normal requests, which also simplifies the code somewhat (This used to be commit 2e7f5add13da3061d2f2e2869d10df06b3a98f40)
2007-10-10r15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my headAndrew Bartlett3-83/+113
around the mess that is composite functions... Async might be all the rage, but it's bloody painful to debug. Andrew Bartlett (This used to be commit 756e1dad7ce54b83f8170db3434bfcfc4afe7e65)
2007-10-10r15503: I may shortly have to revert all of this, but be clearer about how weAndrew Bartlett1-14/+13
handle the NTLMSSP and wrong password fallbacks. Andrew Bartlett (This used to be commit dbf51ea985e0b300631e2070e91d4d901c784c44)
2007-10-10r15500: Add support for interactive prompting on bad passwords to the RPC ↵Andrew Bartlett3-107/+78
libraries. This support requires that the bind_ack and alter_ack recv functions also be send the DCE/RPC fault. This would be best done by having the ack run as a normal RPC reply callback, but this isn't easily possible for now. Andrew Bartlett (This used to be commit be6dde22fe728d64d47875699d3421c6d8d872a4)
2007-10-10r15482: Don't shadow the global function pipe() with a local variable name.Andrew Bartlett1-10/+8
Andrew Bartlett (This used to be commit ed4ab63c2dd811d07594ba397ed22f9d02eeb63a)
2007-10-10r15440: Formatting.Rafal Szczesniak1-3/+2
rafal (This used to be commit b4c378302bd56e7bbdce6a20b5623d8949d3ecef)
2007-10-10r15426: Implement SPNEGO as the default RPC authentication mechanism. WhereAndrew Bartlett3-38/+178
this isn't supported, fallback to NTLM. Also, where we get a failure as 'logon failure', try and do a '3 tries' for the password, like we already do for CIFS. (Incomplete: needs a mapping between RPC errors and the logon failure NTSTATUS). Because we don't yet support Kerberos sign/seal to win2k3 SP1 for DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos isn't demanded. Andrew Bartlett (This used to be commit b3212d1fb91b26c1d326a289560106dffe1d2e80)
2007-10-10r15021: Couple more comments and fixes in spirit of utility functionsRafal Szczesniak1-32/+49
for composite interface. rafal (This used to be commit 905ca5a3ecd1c4ed5b9f206cdc855d0ddb92a07a)
2007-10-10r14962: fixed a valgrind errorAndrew Tridgell1-2/+4
(This used to be commit 5a8d13c4e67974d198d71823774950483ec42088)
2007-10-10r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhereJelmer Vernooij4-38/+32
(This used to be commit a316b33057f3ec8532677980e093cd327d33f257)
2007-10-10r14715: Correct the definition of the DCE/RPC bind_nak, per the OpenGroup spec.Andrew Bartlett1-0/+7
This allows us to correctly parse the bind_nak from NT4, when we use an invalid auth type (the unsupported SPNEGO).. Andrew Bartlett (This used to be commit ce0c7f86fd5eeeacad885d732b66c65ac9103ace)
2007-10-10r14714: On DCE/RPC, we need the name of the remote server used on the socket,Andrew Bartlett5-18/+51
for Kerberos. It must be the full name contacted, not the 'called name' we might want to use for \\server things, so add another function. Andrew Bartlett (This used to be commit 6d57d1dbb76e7d1ca2fd4f1a6c0bacfa7a189e2b)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij9-1/+10
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14488: Install more headers.Jelmer Vernooij1-0/+1
Generate different #include lines in pidl depending on whether we're building inside or outside of the Samba tree (useful for 3rd-party projects). (This used to be commit 0c188833154c1fe565cb1735909e408a4a1a6049)
2007-10-10r14470: Remove some unnecessary headers.Jelmer Vernooij1-1/+0
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-0/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij2-0/+2
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14381: Kill structs.hJelmer Vernooij1-0/+4
(This used to be commit 1ffb82a7596f989c90df69573083a2c2e28f8808)
2007-10-10r14380: Reduce the size of structs.hJelmer Vernooij1-1/+1
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
2007-10-10r14363: Remove credentials.h from the global includes.Jelmer Vernooij2-0/+2
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
2007-10-10r14362: Only include ndr_compression.h when necessary.Jelmer Vernooij1-0/+2
(This used to be commit 4fced6dbbdc06233e5cf69f90c099fafee9baa34)
2007-10-10r14311: canon needs to be initialisedAndrew Tridgell1-1/+1
(This used to be commit d1d94d69e1b1496fc26204f699e038bb1e36e68f)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher1-4/+4
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14238: This is not needed anymore, as the state structure is zeroedRafal Szczesniak1-3/+0
right after allocation. rafal (This used to be commit 87b31c51bbd1e8cb3616eb9d7dd2b7fc1a7f9c46)
2007-10-10r14211: More comments.Rafal Szczesniak1-2/+29
rafal (This used to be commit 9035de56a801f04436777b7faacf2f3b518b6942)
2007-10-10r14210: 1) Fix an issue with composite context when null event contextRafal Szczesniak1-103/+13
is passed to dcerpc_epm_map_binding_send. 2) Replace old dcerpc_epm_map_binding with the new function based on async code, as the above problem is fixed. rafal (This used to be commit 85ecb07ab595073dd44c213075d33da07aa19277)
2007-10-10r14208: removed use of req->flags2 inside the ntvfs layer. This should helpAndrew Tridgell1-0/+1
metze on his quest to unify the ntvfs strucures for the smb and smb2 servers. The only place we needed flags2 inside ntvfs was for the FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a readx.in.read_for_execute flag instead. (This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)
2007-10-10r14205: move smb specific stuff out of includes.h (finally!!!:-)Stefan Metzmacher1-0/+1
all this changes really help ccache to speed up the samba4 build:-) metze (This used to be commit 180a79d1036e54fc0c50572b820818e9aafa28e9)
2007-10-10r14175: More comments and my copyright.Rafal Szczesniak1-11/+74
rafal (This used to be commit 384d97e0b2e3c5980e2023cd511d7f84e64d6ffb)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher1-4/+4
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r14172: composite_is_ok(c) destroys c, when the status isn't ok.Stefan Metzmacher1-46/+8
so we need to return directly. metze (This used to be commit fba4229e56dce867a7c9daf9a3523a4dc3e454ba)
2007-10-10r14165: More comments and my copyright.Rafal Szczesniak1-1/+19
rafal (This used to be commit 6b94e81e5a31bb413149d9328746b1fed65c7f3d)