summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r14164: More comments.Rafal Szczesniak1-5/+95
rafal (This used to be commit 8582d6dfc5c8ad59a2eb64cb81a703c13b7eeed4)
2007-10-10r14143: Replace old function with equivalent based on new async code.Rafal Szczesniak1-67/+4
rafal (This used to be commit 036d35ff175b26dc1f55e6813f9a014a444d9af4)
2007-10-10r14137: move **p2 to the _recv function for setup the second pipeStefan Metzmacher2-43/+29
metze (This used to be commit 8b8d92beedd8848aa2c7f1443fa8e66e09c2e0bf)
2007-10-10r14136: Fix bug causing segfaults in certain circumstances (gcc3.x amongRafal Szczesniak1-7/+7
others, probably). Funny thing, it didn't segfault on my laptop and gcc4... rafal (This used to be commit 9e3321130e57daccd9649afc3af581a03655090e)
2007-10-10r14125: Fix incorrect declaration caught on build farm.Rafal Szczesniak1-1/+2
rafal (This used to be commit 93358e7d9e08bb77641c1b9a47448eb0a4dac587)
2007-10-10r14123: Huge lump of code making all of our dcerpc connect codeRafal Szczesniak3-381/+1233
asynchronous. Build is ok, and so are the tests. More comments to follow. rafal (This used to be commit a74fb6c5a2f968c56aff8ce39ce2ce9375d19b81)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij2-2/+1
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13726: Fix indentation.Rafal Szczesniak1-1/+1
rafal (This used to be commit cedaf08170fddc8e4a3f9e4aea0f2c7f08759061)
2007-10-10r13658: More moving around of files:Jelmer Vernooij1-1/+1
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10r13582: IndentAndrew Bartlett1-3/+3
(This used to be commit 06ddac2bb1899937b79e3bf89cb84c750c3ce4c5)
2007-10-10r13572: Comments to async pipe open functions and copyright note.Rafal Szczesniak1-10/+57
rafal (This used to be commit 7dde77942bfcb73dfdd7a9840d3ba2a984c05064)
2007-10-10r13568: Comments to async rpc connect functions.Rafal Szczesniak1-6/+55
rafal (This used to be commit 9ef2275f6179869f2683e96c6f91d9569a6360c8)
2007-10-10r13561: Turn all dcerpc connect and socket functions to async version.Rafal Szczesniak3-109/+517
Now, each rpc interface (named pipe, tcp/ip, lrpc and unix socket) works asynchronously. Comments to follow. rafal (This used to be commit 789f9d43db7ea59e79d5aa498e2e9fd077448825)
2007-10-10r13334: Add comments describing what these functions do.Andrew Bartlett1-2/+21
We still need many more, but it is a start... Andrew Bartlett (This used to be commit b2bda127f681dc1e2003c86159a85fa613373f16)
2007-10-10r13210: Revert my named pipes patch until it passes not just 'make ↵Jelmer Vernooij1-1/+1
quicktest' but also 'make test' (This used to be commit e3d0676aee84e96e5c87bed4cd0cde75a4191953)
2007-10-10r13208: Clearly separate named pipes from the IPC$ NTVFS type.Jelmer Vernooij1-1/+1
This allows the easy addition of additional named pipes and removes the circular dependencies between the CIFS, RPC and RAP servers. Simple tests for a custom named pipe included. (This used to be commit 898d15acbd18e3b302a856c847e08c22c5024792)
2007-10-10r13002: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 3365ad950b1ffdbcff9e6c7fc8525988d1621938)
2007-10-10r12865: Upgrade the librpc and libnet code.Andrew Bartlett5-34/+37
In librpc, always try SMB level authentication, even if trying schannel, but allow fallback to anonymous. This should better function with servers that set restrict anonymous. There are too many parts of Samba that get, parse and modify the binding parameters. Avoid the extra work, and add a binding element to the struct dcerpc_pipe The libnet vampire code has been refactored, to reduce extra layers and to better conform with the standard argument pattern. Also, take advantage of the new libnet_Lookup code, so we don't require the silly 'password server' smb.conf parameter. To better support forcing traffic to be sealed for the vampire operation, the dcerpc_bind_auth() function now takes an auth level parameter. Andrew Bartlett (This used to be commit d65b354959842326fdd4bd7eb7fbeea0390f4afa)