summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/transport.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-02s4:smb2: s/private/private_dataStefan Metzmacher1-2/+2
metze
2009-02-02s4:libcli/smb2: s/private/private_dataStefan Metzmacher1-13/+13
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-5/+5
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-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-08-14libcli/smb2: async replies with STATUS_PENDING are not signedStefan Metzmacher1-13/+11
metze (This used to be commit 3f6cbece4a199a42ad6583ea4bd4302629399625)
2008-07-28libcli/smb2: fix per session signing stateStefan Metzmacher1-4/+2
metze (This used to be commit 8bc12dc77a59e792830d96e84a4e8d1b2c651505)
2008-06-07make signing per session in the SMB2 client libraryAndrew Tridgell1-6/+6
Thanks to Metze for spotting this (This used to be commit e9fd9b821c04d1cb7b574f539dd8169611e662aa)
2008-06-06added server side SMB2 signingAndrew Tridgell1-11/+21
(This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)
2008-05-30implemented client side SMB2 signingAndrew Tridgell1-18/+31
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-04-19libcli/smb2: make it possible to handle incoming oplock requestsStefan Metzmacher1-0/+43
metze (This used to be commit 58189b87eade62b717c2c17c679e482786bf2098)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-14Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell1-0/+2
This converts our SMB and SMB2 code to use a common structure "struct request_bufinfo" for information on the buffer bounds of a packet, alignment information and string handling. This allows us to use a common backend for SMB and SMB2 code, while still using all the same string and blob handling functions. Up to now we had been passing a NULL req handle into these common routines from the SMB2 side of the server, which meant that we failed any operation which did a bounds checked string extraction (such as a RenameInformation setinfo call, which is what Vista uses for renaming files) There is still some more work to be done on this - for example we can now remove many of the SMB2 specific buffer handling functions that we had, and use the SMB ones. (This used to be commit ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)
2008-02-12updated SMB2 header defines to match WSPP docsAndrew Tridgell1-1/+1
(This used to be commit d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-1/+1
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
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-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* 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-10r17083: - implement SMB2 Cancel in the clientStefan Metzmacher1-3/+11
- the 0xffffffffffffffff seqnum is reserved for SMB2 Break (oplock breaks) so don't use it in a request. we should someday try to test this... metze (This used to be commit 730cdc4475822e28cb400116641294a7f98ad0b5)
2007-10-10r17081: add idle handler support to the smb2 client lib tooStefan Metzmacher1-0/+36
metze (This used to be commit 1f48e7dca6a06078f3655a7f7a8f109bd6c0cb8e)
2007-10-10r17020: pass the real error to the failing requestsStefan Metzmacher1-4/+8
metze (This used to be commit 49b96ac44a883c020c69df7a12df154dc4faa4d5)
2007-10-10r16705: fix a bug found by valgrind...Stefan Metzmacher1-2/+3
as we setup the 1 padding byte for non present dynamic part, we need to overwrite it when we're getting a real dynamic part, so we need to remove the buf->size +=1 when we do the first push to the dynamic part (when buf->dynamic is still but->body + buf->body_fixed) metze (This used to be commit f309209629ad1b63a76fc06163a3eeb07dce4c86)
2007-10-10r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell1-4/+2
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10r12725: some minor updatesStefan Metzmacher1-1/+1
metze (This used to be commit f2e97983f278211c6d70400ce1f43d6a69df0d8a)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-0/+1
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r11967: Fix more 64-bit warnings.Tim Potter1-3/+3
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
2007-10-10r11891: - added pipe_flags field in smb2_transAndrew Tridgell1-0/+7
- while running dcerpc over SMB2, the server will occasionally send us a oh-so-useful STATUS_PENDING result meaning "I don't have a result for you yet, but I'm working on it". These can be discarded :-) (This used to be commit 24588a9c499536299d7aaf5b56ff73fb255290ca)
2007-10-10r11752: setup the dynamic pointer for incoming packets tooAndrew Tridgell1-0/+14
(This used to be commit 583f3c415ea33ddf5f4065a66f6fae49ab48455e)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher1-1/+0
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-10r11737: use _smb_setlen2() to allow for 24 bit lengths in SMB2 packetsAndrew Tridgell1-1/+1
(This used to be commit 54fda24379ca1a20d6de2edf64dd79b3fe80a37d)
2007-10-10r11713: separate out the setting of the fde in the packet context from theAndrew Tridgell1-1/+2
enabling of packet serialisation (This used to be commit 6a47cd65a8b588f9ddd375c57caaba08281e7cbb)
2007-10-10r11697: - added a generic SMB2 getinfo callAndrew Tridgell1-3/+3
- added a SMB2-SCANGETINFO test for scanning for available info levels - added names for the info levels I recognise to smb2.h (This used to be commit fe5986067e2aaca039d70393ccc8761434f18fe6)
2007-10-10r11671: - make sure req is initializedStefan Metzmacher1-4/+8
- only free the buffer when there's no request - call async callback on error metze (This used to be commit 2084d62dd54c230c6494e482cb346b3ea959e6fb)
2007-10-10r11668: yay! we get a successful session setup with SMB2, and get back a ↵Andrew Tridgell1-2/+6
64bit uid (This used to be commit 72b34a7c1b66af6be02f66639efc55a19c73e387)
2007-10-10r11665: started to put some meat on the structure used for the SMB2 libraryAndrew Tridgell1-0/+2
the call definitions will be in smb2_calls.h, which will play a similar role that smb_interfaces.h plays for the old SMB protocol (This used to be commit 4ef3902a8a99a0b8caa81a07ba07830d7cbbc32c)
2007-10-10r11662: the beginnings of a SMB2 client library. Very hackish, meant for ↵Andrew Tridgell1-0/+274
experimentation (This used to be commit 68422dc73f6ea51bf906f3db223ae8abf077aba1)