summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/connect.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+1
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
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-10r17318: make better usage of the composite apiStefan Metzmacher1-18/+4
metze (This used to be commit 683fc25f6524a3821ba70529251aabe97bad9370)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+1
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r12116: got rid of composite_trigger_done() and composite_trigger_error(), andAndrew Tridgell1-1/+1
instead make the normal composite_done() and composite_error() functions automatically trigger a delayed callback if the caller has had no opportunity to setup a async callback this removes one of the common mistakes in writing a composite function (This used to be commit f9413ce792ded682e05134b66d433eeec293e6f1)
2007-10-10r11796: Two more uses of !composite_is_okVolker Lendecke1-20/+5
(This used to be commit 7256157d01ff47d33706dadd45851cf2fbbce3a6)
2007-10-10r11795: used a couple more of volkers composite helper functions. TheyAndrew Tridgell1-39/+9
certainly make the code more compact. (This used to be commit 872e2a49d8a1ad1f9a6e2f2d323b3471aeb9cba6)
2007-10-10r11791: simplify the SMB2 connect code following some suggestions from volkerAndrew Tridgell1-22/+24
(This used to be commit 71e3e61941621f72f45708340f5d03b2b79580b4)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher1-2/+2
of the fixed body part, and +1 if there's a dynamic part - there're 3 types of dynamic blobs with uint16_t offset/uint16_t size with uint16_t offset/uint32_t size with uint32_t offset/uint32_t size /* aligned to 8 bytes */ - strings are transmitted in UTF-16 with no termination and packet into a uint16/uint16 blob metze (This used to be commit 79103c51e5c752fbdb4d25a0047b65002828df89)
2007-10-10r11693: added a full async composite function for SMB2 that does:Andrew Tridgell1-0/+280
- name resolution - socket connect - negprot - multi-stage session setup - tcon (This used to be commit c1a8e866fe6a0544b7b26da451ea093cdcacdd8f)