mirror of
https://github.com/samba-team/samba.git
synced 2025-11-15 16:23:49 +03:00
r4769: added a smb_composite_connect() function that provides a simple async
interface to a complete SMB connection setup. Internally it does: - socket connection - session request (if needed) - negprot - session setup - tcon This is the first example of a composite function that builds on other composite components (the socket connection is a composite function, which is used as a building block for this function). I think this will be quite common in composite functions in the future, building up ever more complex composite functions from smaller building blocks, while hiding the details from the caller. There are two things missing from this now. The first is async name resolution routines (wins, bcast, DNS etc), and the second is that this code currently only does a NT1 style session setup. I'll work on adding spnego and old style session setup support next.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
3d3063b1f6
commit
6bc9e17f5c
@@ -141,3 +141,4 @@ struct ldb_val;
|
||||
struct smbcli_composite;
|
||||
struct smb_composite_loadfile;
|
||||
struct smb_composite_savefile;
|
||||
struct smb_composite_connect;
|
||||
|
||||
Reference in New Issue
Block a user