summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r16734: the 2 bytes after the opcode and before the flags,Stefan Metzmacher2-15/+15
is no padding... the following patch is needed for vista beta2 to connect to samba4 metze (This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)
2007-10-10r16708: the packet format of SMB2 SessionSetup has changed,Stefan Metzmacher2-9/+16
there're 8 more unknown bytes... Note: - vista-CTP also support this as a server, but uses the old format as client - but vista-beta2 only uses and accept the new format metze (This used to be commit b3bdd4afdefc9ad3550f86a0aa6e6c90bf8ab416)
2007-10-10r16705: fix a bug found by valgrind...Stefan Metzmacher3-10/+29
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-10r16699: the layout of SMB2 Read and Write is identical...Stefan Metzmacher3-7/+3
so we know that the 9th bytes is just uninitialized padding metze (This used to be commit f97a21b970ed23973cced2c67b5bc9ecd7afee88)
2007-10-10r16669: this calls don't expect any valid error codes than NT_STATUS_OKStefan Metzmacher6-6/+6
metze (This used to be commit 429215113bd999466141df0a2e3b3097d677df1f)
2007-10-10r16667: - use ndr_pull_struct_blob() to make the RAW_FILEINFO_SEC_DESC pull codeStefan Metzmacher2-13/+22
simpler - use ndr_push_struct_blob() for RAW_SFILEINFO_SEC_DESC metze (This used to be commit 79e51f033e680303431e56e818346b66a836d044)
2007-10-10r16569: - use push_string()Stefan Metzmacher1-3/+3
metze (This used to be commit f099fcb6e3a38d6df22cb3a0c7c666333e41f11b)
2007-10-10r16566: add pull function for a site32/offset32 blobStefan Metzmacher1-0/+24
metze (This used to be commit 81702c36c28e9e32860c5d91887d2ad2121ce306)
2007-10-10r16464: split client and server min/max protocol settingsStefan Metzmacher2-2/+2
metze (This used to be commit 6164d1e22e0545f558315591d49f862de06ea945)
2007-10-10r16406: use the generic smb_handle in smb2_getinfo/smb2_setinfoStefan Metzmacher3-7/+7
metze (This used to be commit dcc02df8297162a7fd913560194d9e821798dbe0)
2007-10-10r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for ↵Gerald Carter1-2/+2
correct grammar (This used to be commit 26a2fa97e4c819e630bc9b50e11c8d5328c7b8c8)
2007-10-10r16091: Without this patch Samba3 will not accept this, and simply setting ↵Volker Lendecke1-2/+3
the "92" to "100" will give funny permissions... Volker (This used to be commit b76a3d4f590963d48eae8a9899d17ae3833c3dfa)
2007-10-10r16073: On an incoming wildcard search, it is critical that the size beAndrew Bartlett1-2/+2
correct, or we try and do a memcmp on the trailing '\0'. This happens because we now use memcmp for the prefix matching. I just wish I had a test other than a particular invocation of the OSX client. (I've tried and failed so far) Andrew Bartlett (This used to be commit 36aa8390807581442c68ac3ee9dd6eb05d89b86d)
2007-10-10r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell8-29/+13
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10r15835: fixed locking in the client libraryAndrew Tridgell1-0/+1
(This used to be commit 7ea51fb624ded55f69f235a6791de871f754e8fa)
2007-10-10r15834: fixed a memory leak in the session codeAndrew Tridgell1-1/+1
(This used to be commit 8a7047c102cdbcf746dcdf8a52554816b7770026)
2007-10-10r15820: this line was just for testingStefan Metzmacher1-2/+0
metze (This used to be commit 1a9bfa2ac96d09d34d3c974ec5d89dc23bf3e153)
2007-10-10r15815: add SMB2 Lock client codeStefan Metzmacher2-0/+78
metze (This used to be commit 4a307d7185862675fee23f55d3f85950a76f551d)
2007-10-10r15814: add SMB2 Lock interface structureStefan Metzmacher2-1/+35
metze (This used to be commit 8f1850ef65dc8c860912639d787d82399d015f13)
2007-10-10r15794: fixed a problem with DOS status codes - found by kukks (thanks!)Andrew Tridgell1-0/+5
(This used to be commit 1a57b16715bf8b82e8f9118c3ab401acf081d02c)
2007-10-10r15775: add some privilege related WERROR codesStefan Metzmacher2-0/+4
metze (This used to be commit 4e8c9bbd768a0d3f8719d8f2005d9b1b527c44fd)
2007-10-10r15770: when there's a dynamic body, we need to send the first byte even if theStefan Metzmacher1-0/+1
dynamic size if 0 metze (This used to be commit c7e8e79d75fd53fa37e9220e5bc9cac7ab574ff6)
2007-10-10r15756: handle RAW_OPEN_SMB2Stefan Metzmacher1-0/+3
metze (This used to be commit 8aebd7adc9a0288ebf6b8d84fc376d699054a520)
2007-10-10r15744: convert_string_talloc() handles src_len == 0 as errorStefan Metzmacher1-0/+8
but it's valid in this case metze (This used to be commit 92c19b1ba4e89bd1e973e084b254087c98ceac18)
2007-10-10r15741: move smb2 request structures into the main smb request structsStefan Metzmacher16-291/+403
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
2007-10-10r15740: add TODO, that we should check if the server supportsStefan Metzmacher1-0/+4
large offsets, before sending large offset requests metze (This used to be commit b9ba2b8c5a314ba9e559e50bea4deb692dc0f3ec)
2007-10-10r15737: fix a typos and commentStefan Metzmacher2-3/+3
metze (This used to be commit 1f50b2e0534ee25861b6812b64d91f63cbb118ad)
2007-10-10r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different ↵Stefan Metzmacher2-1/+18
level metze (This used to be commit 95bf41b4d4ec96349802955e364fe44ef85f9077)
2007-10-10r15688: windows sends 4 as max_setup count on NT IOCTLStefan Metzmacher1-1/+1
metze (This used to be commit 0d983fa46fff588cf94e58732e36e324e2f0478a)
2007-10-10r15661: add NT_STATUS_OBJECTID_NOT_FOUNDStefan Metzmacher2-0/+2
metze (This used to be commit 2c9db9429106094b8ee9fa45e6f9a89af7c3725f)
2007-10-10r15656: for NT IOCTL's we need to control the max_data field for some callsStefan Metzmacher2-1/+2
metze (This used to be commit 3cab02f6f513cf7eb3d8863e62952766bb4d908f)
2007-10-10r15643: add some FSCTL_ codesStefan Metzmacher1-5/+32
metze (This used to be commit 47dc1ed25323e76b93d9cef2a389726734d2e735)
2007-10-10r15640: - NT IOCTL calls also have an 'in' data_blobStefan Metzmacher2-7/+17
- fix the receive code of NT IOCTL's we only need the NTTRANS data payload not the SMB payload here metze (This used to be commit 358d03143f0a78344c1af720e33ebe2619df09df)
2007-10-10r15638: add a usefull macro to get a pointer the smb_handle unionStefan Metzmacher1-1/+43
of smb_open, as it's not nicely alligned for all levels, If someone has an idea for a better solution where we can access it via op->generic.out.file.* please let me know:-) metze (This used to be commit d0a7408280c35dc4a5a21cbbded895c6c83819e6)
2007-10-10r15573: Fix build of systems that have iconv headers in non-standard locationsJelmer Vernooij4-4/+2
Split of system/locale.h header from system/iconv.h Previously, iconv wasn't being used on these systems (This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0Stefan Metzmacher16-18/+29
also if the dynamic flag should be set metze (This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)
2007-10-10r15505: - add 'generic' alias to smb_seek and smb_flushStefan Metzmacher1-8/+14
- add struct ntvfs_handle pointer to smb_file, this will later be used by the ntvfs backends metze (This used to be commit 8322fc70adbb951ad72b97dfcc91467c1d906afe)
2007-10-10r15457: Get rid of more usages of uint_tJelmer Vernooij1-1/+1
(This used to be commit 849818dcdeb8eaf2eb22fea3896a4f7c777d8c5f)
2007-10-10r15416: Point out that this doesn't work, but for servers this old, I justAndrew Bartlett1-0/+2
don't care... Andrew Bartlett (This used to be commit 8abe7ba619a9499229937435b66005e278bcbf38)
2007-10-10r15415: Use Jelmer's new credentials 'wrong password' code to give the user 3Andrew Bartlett1-1/+52
attempts for the password, when talking to a remote CIFS server. Andrew Bartlett (This used to be commit 3a4ddc8f5978210ab3ad79f0332cee80a0d6e6c9)
2007-10-10r15400: Move the TLS code behind the socket interface.Andrew Bartlett3-20/+22
This reduces caller complexity, because the TLS code is now called just like any other socket. (A new socket context is returned by the tls_init_server and tls_init_client routines). When TLS is not available, the original socket is returned. Andrew Bartlett (This used to be commit 09b2f30dfa7a640f5187b4933204e9680be61497)
2007-10-10r15397: Fix typo.Tim Potter1-1/+1
(This used to be commit 74bd8170fc9d53403899721bc4b620121946e4d2)
2007-10-10r15395: Fix build by adding another copy of the Python detection m4 fragment.Tim Potter1-0/+31
This stuff should be common somewhere. (This used to be commit e906781cbd7a9d782e028fb0497de739ac6fb797)
2007-10-10r15391: Wrap up the nbt_name_query() function as a bit of an experiment. ItTim Potter2-0/+141
seemed to work quite well and this technique might be good for generating an interface to use for automated testing. Tested by doing a nbt lookup against smbd. (This used to be commit 11150b3140c91459f17c767adf07a54524338c18)
2007-10-10r15387: Fix installation of dcerpc headers, remove more instances of uint_tJelmer Vernooij1-1/+1
(This used to be commit 9e9bfd04c6db013453b900e201df9c09e8777a22)
2007-10-10r15384: Improve naming of socket library, disable Requires(.private)? fields ↵Jelmer Vernooij2-5/+5
in pkg-config files for now as they break external projects. (This used to be commit f919fd6655f00361691e676d260bd40e0b8ddcc7)
2007-10-10r15379: Fix shared library build's unresolved dependenciesJelmer Vernooij1-1/+1
(This used to be commit 0fafa2e59566f8f892d7dfd7dd33d0100b96a780)
2007-10-10r15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with ↵Jelmer Vernooij2-5/+5
-lsocket on SUN boxes. (This used to be commit c95ad11307dc89384c10bd5919817bf12d9c1ed9)
2007-10-10r15365: Fix error in my previous commit, caught by metze.Jelmer Vernooij1-3/+3
(This used to be commit 0d99397007960e555f562f1498a202407e235f36)
2007-10-10r15358: Fix some compiler warnings / type safety. Found by tccJelmer Vernooij1-2/+6
(This used to be commit 12ba42de5886f9f4f9b1698476557e0c217d06f3)