summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_connect.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-15/+0
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-5/+6
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-01-03r26654: libcli/smb_composite: Rather than specifying each of the gazillion ↵Jelmer Vernooij1-7/+1
options for SMB individually, just specify the smbcli_options struct. (This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-03r26651: libsmb: Allow specifying signing policy from higher up.Jelmer Vernooij1-0/+1
The number of arguments is getting a bit excessive now, so it probably makes sense to pass in the smbcli_options struct rather than all members individually and add a convenience function for obtaining a smbcli_options struct from a loadparm context. (This used to be commit 9f64213463b5bf3bcbf36913139e9a5042e967a2)
2008-01-02r26646: libcli/smb_composite: Allow specifying SMB parameters in ↵Jelmer Vernooij1-0/+7
smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections. (This used to be commit 0ef75e4e3cb0e1bd10e367a00f5e9b725587c40a)
2008-01-02r26644: Janitorial: Pass resolve_context explicitly to various SMB ↵Jelmer Vernooij1-1/+3
functions, should help fix the build for OpenChange. (This used to be commit 385ffe4f4cc9a21a760c0f00410f56e2592fd507)
2008-01-02r26643: librpc: Remove uses of global_loadparm.Jelmer Vernooij1-12/+12
(This used to be commit 924c0890904266af8f50f69a25f89d36f971d710)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-1/+1
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij1-1/+1
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij1-3/+4
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26334: Avoid loadparm_context.Jelmer Vernooij1-1/+1
(This used to be commit 332dff80cc0f1dc80383f185409610cfb9f1d856)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-11/+17
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21r26313: Fix more uses of static loadparm.Jelmer Vernooij1-1/+2
(This used to be commit 6fd0d9d3b75546d08c24c513e05b1843d5777608)
2007-12-21r26277: Move loadparm context higher up the stack.Jelmer Vernooij1-3/+5
(This used to be commit 38fa08310ce573e9b46e76c840ddda6f18863573)
2007-12-21r26271: Remove some more uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
2007-12-21r26270: Require specifying the loadparm_context or NULL to ↵Jelmer Vernooij1-2/+1
cli_credentials_guess(). (This used to be commit e52710d6794a25ba697f8c26b43784226964f9cb)
2007-12-21r26266: Remove more global_loadparm uses.Jelmer Vernooij1-1/+3
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
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)