summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/connect.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-05s4:libcli:smb2: make smbcli_options argument to smb2_connect_(send|ext) constMichael Adam1-2/+2
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2012-07-25libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher1-0/+1
metze
2012-07-25s4:libcli/smb2: remove unused elements from smb2_treeStefan Metzmacher1-3/+0
metze
2012-07-24s4:libcli/smb2: setup a smbXcli_tcon for each smb2_treeStefan Metzmacher1-0/+7
metze
2012-05-06s4:libcli/smb2: use PROTOCOL_LATESTStefan Metzmacher1-1/+1
metze
2012-03-03s4:libcli:smb2: store the share capabilites in the smb2_tree objectMichael Adam1-0/+1
2012-03-03s4:libcli:smb2: allow max protocol 0x0224Michael Adam1-1/+1
2012-02-28s4:libcli:smb2: add a smb2_connect_ext variant of smb2_connect that takes a ↵Michael Adam1-12/+36
previous_session argument
2012-02-28s4:libcli:smb2: add a previous session argument to smb2_connect_send()Michael Adam1-1/+5
2012-02-28s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()Michael Adam1-1/+2
So that we can do a session reconnect.
2012-02-03s4:libcli:smb2: don't allocate the smb2_tree struct earlier than necessary ↵Michael Adam1-5/+5
in smb2_connect() Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-03s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session ↵Michael Adam1-1/+1
instead of smb2_tree arguement. Only the tree->session is needed. This way it is less confusing. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2011-11-30s4:libcli: do the nbss session request within smbcli_sock_connect_*()Stefan Metzmacher1-39/+17
metze
2011-11-24s4:libcli/smb2: implement on top of smbXcli_conn/reqStefan Metzmacher1-70/+20
metze
2011-11-03s4:libcli/smb2: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/Stefan Metzmacher1-2/+2
metze
2011-11-03s4:libcli/smb2: remove unused SMB_SIGNING_AUTO handlingStefan Metzmacher1-2/+0
metze
2011-11-03s4:libcli/smb2: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the ↵Stefan Metzmacher1-0/+2
client for now metze
2011-11-03s4:libcli/smb2: let SMB_SIGNING_AUTO behave like SMB_SIGNING_SUPPORTEDStefan Metzmacher1-7/+1
This matches the smb1 behavior. metze
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett1-1/+1
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2011-04-28s4:libcli/smb2: let smb2_session_setup_spnego_* use tevent_reqStefan Metzmacher1-9/+11
metze
2011-04-28s4:libcli/smb2: move smb2_connect_tcon_done()Stefan Metzmacher1-20/+22
It should be after smb2_connect_session_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_session_done()Stefan Metzmacher1-36/+38
It should be after smb2_connect_negprot_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_negprot_done()Stefan Metzmacher1-69/+71
It should be after smb2_connect_socket_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_socket_done()Stefan Metzmacher1-55/+57
It should be after smb2_connect_resolve_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_resolve_done()Stefan Metzmacher1-36/+35
It should be after smb2_connect_send(). metze
2011-04-28s4:libcli/smb2: rename step functions of smb2_connect_*()Stefan Metzmacher1-26/+10
They should all start with a smb2_connect_ prefix. metze
2011-04-28s4:libcli/smb2: convert smb2_connect_*() to tevent_reqStefan Metzmacher1-107/+196
metze
2009-09-19s4-resolve: fixed a crash bug on timeoutAndrew Tridgell1-1/+1
We were creating the name resolution context as a child of lp_ctx, which meant when we gave up on a connection the timer on name resolution kept running, and when it timed out the callback crashed as the socket was already removed.
2009-05-26s4:libcli/smb2: use new SMB2_DIVELECT_REVISION constantsStefan Metzmacher1-2/+5
Also send them in the order a windows client would send them (the lowest first). metze
2009-05-20s4:libcli/smb2: fill in transport->negotiate.secblob with the correct dataStefan Metzmacher1-0/+2
metze
2009-03-18s4 libcli: Add back Longhorn beta dialect as a constantZach Loafman1-4/+3
Also tweak how the dialect array and count is initialized.
2009-03-17s4 libcli: Add SMB2.1 dialect to libcliZach Loafman1-1/+2
Negotiate 2.1 if possible, leave negotiate results in transport->negotiate.dialect_revision.
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-2/+2
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-11-02Remove use of global_loadparm for SMB2 client connections.Jelmer Vernooij1-5/+9
2008-11-02Fix the build.Jelmer Vernooij1-2/+0
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij1-1/+2
should in the future only contain some settings required for gensec.
2008-11-01Remove another use of global_loadparm.Jelmer Vernooij1-4/+7
2008-11-01Remove another use of global_loadparm.Jelmer Vernooij1-7/+7
2008-11-01Move calls to lp_* higher up in the call stack.Jelmer Vernooij1-6/+15
2008-11-01Move lp_*() calls a bit higher up the calls tack.Jelmer Vernooij1-2/+1
2008-09-29s4:libcli/smb2: remove unused headerStefan Metzmacher1-1/+0
This hopefully fixes the build with internal popt. metze
2008-09-24for use in python we need to use global_loadparmAndrew Tridgell1-1/+1
2008-09-24- use the current dialect first, for servers that only look at theAndrew Tridgell1-3/+10
first dialect - allow override of SMB2 port in client code
2008-08-14libcli/smb2: use smb2 signing in auto mode if the server supports itStefan Metzmacher1-1/+7
metze (This used to be commit fe74faf13dc64eaa58d757de156aedcb24abed1f)
2008-07-28libcli/smb2: fix per session signing stateStefan Metzmacher1-4/+4
metze (This used to be commit 8bc12dc77a59e792830d96e84a4e8d1b2c651505)
2008-05-30implemented client side SMB2 signingAndrew Tridgell1-5/+49
This doessn't work against Windows yet, and I've submitted a WSPP request for clarification of the docs to try and find out why. Meanwhile this is no worse than what we had, as it only gets used when the server demands signing, and we didn't work then anyway. (This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
2008-05-20remember the server time fields on negotiate. Needed for gentestAndrew Tridgell1-0/+3
(This used to be commit 7989ca861dcc700b52be3a47ea5ae8b03fbb9330)
2008-05-16private -> private_data for struct smb2_requestAndrew Tridgell1-4/+4
(This used to be commit 67290e0ad69df2f2fe651249c6550b8e32dd641b)
2008-04-17libcli/smb2: also offer the SMB2 dialect that what used in longhorn beta3Stefan Metzmacher1-3/+4
With this smbtorture works against longhorn beta3 again, hopefully it still works with new versions... metze (This used to be commit 874924a85a862e38b7d1a6199276e998cf3697d8)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)