summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_connect.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+1
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25316: Remove last few instances of old BOOL type in librpc/.Jelmer Vernooij1-2/+2
(This used to be commit 80d1dd41d4b224c46ad545f0afd97a847b99860b)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24992: Remove some uses of lp_*().Jelmer Vernooij1-2/+2
(This used to be commit a5a1a5540510cdb1bfbb3e89b84f4ba5b2812c55)
2007-10-10r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij1-1/+4
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
2007-10-10r24763: Allow users to leave out the transport in DCE/RPC binding strings. ↵Jelmer Vernooij1-0/+8
If the transport is not specified, it will be retrieved from the remote endpoint mapper or the IDL file. This means that 'smbtorture localhost RPC-WINREG' works now. (This used to be commit b7fa0859d2e4236112075604281410ba037b1076)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher1-5/+5
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r23890: Allow wbinfo -a to work against Samba4's winbind.Andrew Bartlett1-184/+1
Add a test for wbinfo -a to test_member.sh Reimplement the server-side 'pam_auth' and 'pam_auth_crap' calls to use the same SamLogon code as auth_winbind uses. In my previous code, we did not bind to the LSA and SAMR pipes, before attempting operations. We now do this (how we passed any tests before is beyond me). This required some rework, particularly to make it easier to setup secondary connections. The new rpc_secondary_auth_connection() function also performs the bind. The dcerpc_connect.c file was getting to big, so things have been merged into dcerpc_secondary.c. Andrew Bartlett (This used to be commit 365778a993b7d76af6d53ba2a598b7e271741dc5)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22515: only steal pipe on successStefan Metzmacher1-3/+4
metze (This used to be commit acfaba06f51184df5f1e99f0acd6fd0bd5f34afc)
2007-10-10r22386: another unused includeStefan Metzmacher1-1/+0
metze (This used to be commit 3561258866c4844b0223cd28a5073953e48aa7e5)
2007-10-10r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is createdAndrew Tridgell1-3/+3
using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test (This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett1-0/+1
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r19478: Remove unused functions, and make static functions used only in thisAndrew Bartlett1-74/+16
file. Everybody calls this via the dcerpc_pipe_connect() or dcerpc_pipe_connect_b() functions. Andrew Bartlett (This used to be commit 5ee0fc035179c76f1362547ccc500f8677c8fa1f)
2007-10-10r19266: Add a target_hostname element to the binding struct. This allows usAndrew Bartlett1-14/+17
to perform a lookup once, resolve the name to an IP, while still communicating the full name to the lower layers, for kerberos etc. This fixes 'net samdump', which was failing due to the schannel target name being *smbserver. Andrew Bartlett (This used to be commit 0546f487f4cc99b5549dc1e457ea243d4bd66333)
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 Vernooij1-1/+0
* 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-10r17325: make better usage of the composite apiStefan Metzmacher1-90/+38
metze (This used to be commit 26a62458cd9da2579c1f607dc13189769b4724da)
2007-10-10r15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my headAndrew Bartlett1-3/+2
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-10r15500: Add support for interactive prompting on bad passwords to the RPC ↵Andrew Bartlett1-2/+3
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-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 Bartlett1-22/+29
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-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-0/+1
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14363: Remove credentials.h from the global includes.Jelmer Vernooij1-0/+1
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
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-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-10r14164: More comments.Rafal Szczesniak1-5/+95
rafal (This used to be commit 8582d6dfc5c8ad59a2eb64cb81a703c13b7eeed4)
2007-10-10r14137: move **p2 to the _recv function for setup the second pipeStefan Metzmacher1-41/+27
metze (This used to be commit 8b8d92beedd8848aa2c7f1443fa8e66e09c2e0bf)
2007-10-10r14123: Huge lump of code making all of our dcerpc connect codeRafal Szczesniak1-80/+610
asynchronous. Build is ok, and so are the tests. More comments to follow. rafal (This used to be commit a74fb6c5a2f968c56aff8ce39ce2ce9375d19b81)
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 Szczesniak1-0/+243
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-10r12865: Upgrade the librpc and libnet code.Andrew Bartlett1-17/+7
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)
2007-10-10r12800: Replace tmp_ctx with mem_ctx to make variables name moreRafal Szczesniak1-6/+6
consistent along the file. rafal (This used to be commit aaccb91cca5da8a869878326da298d22a3b8b2ae)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-0/+1
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-5/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+1
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12162: More comments.Rafal Szczesniak1-5/+30
rafal (This used to be commit 2d69e4b13e547768a36e293a9164923e35da7334)
2007-10-10r12135: Move named pipe connect on smb2 function to async implementation.Rafal Szczesniak1-0/+118
Completely untested, it's a bit difficult without having vista around (yet), so - Andrew, please test it and let me know what's wrong. rafal (This used to be commit b9e7522bd4b626402c51a69695bea0928f5baef7)
2007-10-10r12103: Comments and a bit of formatting.Rafal Szczesniak1-6/+28
rafal (This used to be commit 4a12711c310f3dc228ea7be539703fc3fc77444a)
2007-10-10r12101: revert my last commit, I breaks the build and I don't know why...Stefan Metzmacher1-17/+19
metze (This used to be commit dc664df873c208c57752e8288a82cef77bc61338)
2007-10-10r12090: use the _trigger_error() function in the functionStefan Metzmacher1-19/+17
that allocated the composite_context metze (This used to be commit 998a7f8572bb90b5d478f03f09fba9867a6d8bfa)
2007-10-10r12089: Couple of fixes in cases of memory outage before we sortRafal Szczesniak1-12/+21
out how and when to use composite_error() and composite_trigger_error(). Spotted by Metze. rafal (This used to be commit 218db3ebc06f2d3e906f23a36bad088861b8e720)
2007-10-10r12087: Split dcerpc pipe connection functions into separate file.Rafal Szczesniak1-0/+165
It's going to contain async functions and ncacn_np is the first. rafal (This used to be commit 3fe2df5fe3165972536c937620d770e763b0d5bb)