summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11771: - split out the setinfo blob construction in the libcli/raw codeAndrew Tridgell6-85/+328
- added a smb2_setinfo call - added smb2_setinfo_file*() calls (This used to be commit da0b6fb93683331134ef2f4abd8707e0c3fc6d9d)
2007-10-10r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo callsAndrew Tridgell3-339/+126
(This used to be commit ba897e537b9a1544dc214e9d5504c87fee6fced2)
2007-10-10r11756: split out the parsers for the pass-through levels of QFSINFO andAndrew Tridgell3-143/+277
QFILEINFO levels in trans2, so they can be shared with SMB2 (This used to be commit 5ca2d609e6a3766ebd07763f850ecc62209a7db7)
2007-10-10r11755: added names for all of the SMB2 qfs info levels (they all map exactlyAndrew Tridgell2-8/+9
to equivalent SMB qfs levels) (This used to be commit 4ce48d02aa12d6fa699bf8b250b14851870f0096)
2007-10-10r11754: make the SMB2 blob push routines take offsets, so they fit better withAndrew Tridgell5-85/+97
the rest of the packet construction code (This used to be commit 387ec2b17ff30a1c040b460b498c8fa7d8770593)
2007-10-10r11752: setup the dynamic pointer for incoming packets tooAndrew Tridgell2-1/+15
(This used to be commit 583f3c415ea33ddf5f4065a66f6fae49ab48455e)
2007-10-10r11751: fixed the req->out.size calculation (it needs to be the completeAndrew Tridgell1-2/+4
request size, including dynamic portion) (This used to be commit 1b5cdf92cc7793b08d7c46ef00d4ff696b31c15e)
2007-10-10r11743: - push the length at the correct offsetStefan Metzmacher1-2/+9
- let us push empty strings metze (This used to be commit 17c4b6298d757f2e53fe764608504bf737005cbe)
2007-10-10r11742: fix pushing of 0 length blobsStefan Metzmacher1-0/+18
metze (This used to be commit e985ab117c6afb2ea575b55bfaa97b0795ec5745)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher13-226/+449
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-10r11740: add some EA error codesStefan Metzmacher1-0/+3
metze (This used to be commit b1afcced395812477365befad1ed37a7cdafa275)
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-10r11735: fixed the ALL_EAS smb2 level parsingAndrew Tridgell2-7/+5
(This used to be commit dd24c0e80cf07bda700a0abb84a7a053d817f903)
2007-10-10r11731: fixed typo noticed by metzeAndrew Tridgell1-2/+2
(This used to be commit e51fb2b44ad524620451807cccb186dd4be704c7)
2007-10-10r11730: added parsing and tests for a bunch more SMB2 getinfo levelsAndrew Tridgell3-70/+176
(This used to be commit ca65bf0235cbfab451e5d5ceac9f714acc0cd46c)
2007-10-10r11722: make the smb2_push/pull functions take a smb2_request_bufferStefan Metzmacher7-46/+39
and the pull ones also a TALLOC_CTX, then we can reuse this functions in the server later metze (This used to be commit 9b616516cae269f0870e9b9a9cecd8ee3f0a9095)
2007-10-10r11721: Fix warningsVolker Lendecke5-7/+7
(This used to be commit d760583e388157ff25e317da06c57e5a42f171bd)
2007-10-10r11715: added SMB2 read and write requestsAndrew Tridgell7-19/+386
(This used to be commit d3556cbfa38447d2d385b697c1855b3c13d42744)
2007-10-10r11714: put in a workaround for a winbind problem volker asked me about. TheAndrew Tridgell1-1/+4
problem is that winbind currently relies on being able to receive on a smb connection from within the same connections receive routine. This means it relies on a non-serialised connection, so disable the serialisation until winbind is fixed. The correct fix will be to get rid of full_request() in dcerpc.c so that bind requests can be fully async. (This used to be commit c4115293d83a4a6d103e049c5832d4bcdc0a9dbc)
2007-10-10r11713: separate out the setting of the fde in the packet context from theAndrew Tridgell3-3/+6
enabling of packet serialisation (This used to be commit 6a47cd65a8b588f9ddd375c57caaba08281e7cbb)
2007-10-10r11700: added structure definitions for many of the getinfo structuresAndrew Tridgell1-1/+100
(This used to be commit 2919d4228636f1d61d930a37cddd5b1700bf2233)
2007-10-10r11698: added some more level namesAndrew Tridgell1-3/+4
(This used to be commit 845bbef8038b776b32da0c9c55ae9375feee4961)
2007-10-10r11697: - added a generic SMB2 getinfo callAndrew Tridgell8-10/+148
- 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-10r11696: added a few more opcode namesAndrew Tridgell1-0/+3
(This used to be commit 2a45476e94a248733333df29da57513bd114f213)
2007-10-10r11694: fixed 2 valgrind errorsAndrew Tridgell2-2/+2
(This used to be commit 6381fe72417a5cd231b63a87a6a0ba9c65030ce6)
2007-10-10r11693: added a full async composite function for SMB2 that does:Andrew Tridgell2-1/+282
- name resolution - socket connect - negprot - multi-stage session setup - tcon (This used to be commit c1a8e866fe6a0544b7b26da451ea093cdcacdd8f)
2007-10-10r11692: added a full composite (async) spnego session setup for SMB2. ThisAndrew Tridgell4-2/+154
simplies the torture code a lot. (This used to be commit 7bf1046fbb7fd83fecb2fa645628ba9a17aab037)
2007-10-10r11691: added reply buffer code checks and oplock flags for create request/replyAndrew Tridgell7-30/+71
(This used to be commit 26ed781375c03958241d8c93324e04e948944d01)
2007-10-10r11687: filled in 3 more fields in the close replyAndrew Tridgell2-10/+6
(This used to be commit 3a0abb3ff0b532179780ed95f8fcb4bca6e040b1)
2007-10-10r11683: fixed create callAndrew Tridgell1-2/+2
(This used to be commit 02d733190340fbb611443b0cc484813ba026eafe)
2007-10-10r11682: filled in access_mask in tcon replyAndrew Tridgell2-5/+5
(This used to be commit 173a213f915aa929cc2a6bfef06954e665b3d694)
2007-10-10r11681: filled in a few more smb2_create() fieldsAndrew Tridgell2-18/+12
(This used to be commit a95413568f1e45691524dfd8e9159a3bafe358ea)
2007-10-10r11680: added smb2_close(). This also demonstrates that file handles are 16Andrew Tridgell4-10/+120
bytes, not 20 bytes (metze, you were right!) (This used to be commit d3bcc6628cde9ddedf0fd408cbee573f133ce582)
2007-10-10r11679: opening/creating files in SMB2 now works. Lots of unknown parametersAndrew Tridgell6-5/+192
in the call tho. (This used to be commit 548fbd86b3b114493943b50669bdcba2f4ed87f2)
2007-10-10r11675: a more general way of getting rid of compiler warnings and errorsStefan Metzmacher1-1/+1
metze (This used to be commit 653f5ccd61f2555bbd49b81c5cc660962b31aa68)
2007-10-10r11674: SMB2 tree connect now works. We do 2 session setups and 2 treeAndrew Tridgell5-1/+174
connects, giving the following output: Running SMB2-CONNECT Negprot reply: current_time = Fri Nov 11 20:10:42 2005 EST boot_time = Sat Nov 12 10:34:33 2005 EST Session setup gave UID 0x40000000071 Session setup gave UID 0x140000000075 Tree connect gave tid = 0x7500000001 Tree connect gave tid = 0x7500000005 SMB2-CONNECT took 0.049024 secs (This used to be commit a24a4c311005dec4c5638e9c7c10e5e2f9872f4d)
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-10r11670: fix the buildStefan Metzmacher1-2/+1
metze (This used to be commit c0eebe293f341dcf35229c2cbbc3029f6f853abb)
2007-10-10r11669: - make sure req is initializedStefan Metzmacher1-1/+4
- call async callback on error metze (This used to be commit 43aa5cffd3fd8bf07b236a039f5146e1e44296c6)
2007-10-10r11668: yay! we get a successful session setup with SMB2, and get back a ↵Andrew Tridgell6-20/+84
64bit uid (This used to be commit 72b34a7c1b66af6be02f66639efc55a19c73e387)
2007-10-10r11666: filled in the basic session setup. Vista happily accepts the firstAndrew Tridgell2-0/+71
stage of the session setup, and waits for more. (This used to be commit 804c229c3ba7f866a7f3d66684e268d5ddc820ce)
2007-10-10r11665: started to put some meat on the structure used for the SMB2 libraryAndrew Tridgell7-39/+153
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 Tridgell6-0/+689
experimentation (This used to be commit 68422dc73f6ea51bf906f3db223ae8abf077aba1)
2007-10-10r11660: - the libcli/raw/ lib no longer uses the SMBCLI_REQUEST_SEND state, orAndrew Tridgell2-10/+0
the associated send queue - fixed negnowait to not watch for the SMBCLI_REQUEST_SEND state (This used to be commit d19235ede5d352d0b0373d204f4357dddde5946f)
2007-10-10r11649: - add support for ntcancel replies (they only happen in error cases,Stefan Metzmacher3-0/+49
e.g when you supply an invalid TID or VUID) - as we don't yet understand how to check the smb_signing of this replies, we just ignore the whole packet abartlet,jra,tridge: can someone try to find out how to create and verify the signatures for this replies. what I noticed is that still use the increment by one for the request, and later requests are still generated fine, only the generating and verifying of the ntcancel replies make problems metze (This used to be commit e6eb0fd2c2f45d6f612d74c6b527c7b17094c907)
2007-10-10r11647: add smbcli_ prefixStefan Metzmacher2-2/+2
metze (This used to be commit 356e7d037cf3fc24844b2efa5071917ea03e6163)
2007-10-10r11644: free the buffer when it's not usedStefan Metzmacher1-0/+2
metze (This used to be commit 16f2d92618a55188d260cadd144281b325cdacda)
2007-10-10r11636: a bit neater solution to the nt_cancel problemAndrew Tridgell1-10/+1
(This used to be commit ba7864b07eebecd4d4eb2ce515412a49964ae179)
2007-10-10r11635: fix a handling of packet_send in the smb client libStefan Metzmacher1-1/+10
this was cause of the PANIC on the build farm on metze01 as we use req->out.buffer from the old request in the smb_raw_ntcancel() and send a 0 TID, that causes our server code to crash (a fix for the server code will follow) metze (This used to be commit 97cd824e44b03178706b108c7a78753faf412e8f)
2007-10-10r11632: removed 2 unused functionsAndrew Tridgell1-33/+0
(This used to be commit fa904afed93a350dd0dcd3cddc1521a4a1ad6711)