summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/connect.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-02-14updated SMB2 code for getinfo according to WSPP docsAndrew Tridgell1-1/+1
- Updated getinfo structures and field names - also updated the protocol revision number handling to reflect new docs (This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
2008-02-13updated SMB2 tcon as per WSPP docsAndrew Tridgell1-1/+1
(This used to be commit 5913e3e549e71affc66c28cacb6563331fb0c790)
2008-02-12fixed up the .in side of SMB2 negprotAndrew Tridgell1-1/+7
fixed the input side of the SMB2 negprot structure and parsers according to the documentation (This used to be commit 55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)
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)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij1-2/+3
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij1-4/+4
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26337: Move global_loadparm to a higher caller.Jelmer Vernooij1-1/+1
(This used to be commit baa5bcd303c72431dfa638edde72cded4265c612)
2007-12-21r26266: Remove more global_loadparm uses.Jelmer Vernooij1-2/+4
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-2/+2
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-1/+2
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)