summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2008-05-21Move some python files into the samba package.Jelmer Vernooij2-3/+3
(This used to be commit ed38c668cdbe10966e46bad97301122eea8001d0)
2008-05-21Move CFLAGS overrides for SWIG modules to Makefile.Jelmer Vernooij2-0/+7
(This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)
2008-05-21Remove support for .py files from smb_build - deal with it only in the ↵Jelmer Vernooij2-0/+6
makefiles. (This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3)
2008-05-21Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into nosmbpythonJelmer Vernooij3-24/+40
(This used to be commit f29e9009310e4a6d575651dd9ba41ffc90bfb386)
2008-05-21fixed SMB2 flush call, and added flush to gentest_smb2Andrew Tridgell2-3/+9
(This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
2008-05-21Regenerate with newer version of swig.Jelmer Vernooij2-24/+51
(This used to be commit 034c68bea934db87bce13a750c17fb1bd2bbe3b6)
2008-05-21fixed SMB2 lockingAndrew Tridgell2-21/+31
- SMB2 locking is different in several ways from SMB locking. To fix it properly we will need a new generic mapping structure for locking, but for now do a best effort mapping - added locking to gentest_smb2 (This used to be commit ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)
2008-05-21Manually handle the NETLOGON_SAM_LOGON_REQUEST too.Andrew Bartlett4-94/+240
With the sid structure being both optional and aligned, it was too hard to do this in just IDL. This requried moving some things around, as otherwise we would have a dependency loop. Andrew Bartlett (This used to be commit e28790ba4884277f310be1b8bd3fba4fd47dbbdb)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell2-2/+1
(This used to be commit e360be0b99b638afdfa789e217bf08f99d09be7a)
2008-05-20added smb2_util_setatrAndrew Tridgell1-0/+22
(This used to be commit d4f41db964ce82c8889017d0f932d60100b3cd32)
2008-05-20added SMB2 setpathinfo composite wrapperAndrew Tridgell1-0/+105
(This used to be commit e90c7587385598a1dd976c2420798f9bd682b43d)
2008-05-20added some SMB2 utility functionsAndrew Tridgell2-1/+179
(This used to be commit 6a3b1cd6698faa460c6258bb41b4936e363f4387)
2008-05-20remember the server time fields on negotiate. Needed for gentestAndrew Tridgell2-0/+5
(This used to be commit 7989ca861dcc700b52be3a47ea5ae8b03fbb9330)
2008-05-20Revert addition of 'mailslot' parameter.Andrew Bartlett2-2/+1
It turns out that the mailslot name (and a useful private prointer) is provided in the struct dgram_mailslot_handler. Andrew Bartlett (This used to be commit e17804b8857fdb3c182c5e886323b9d6c194c2ff)
2008-05-20Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell9-193/+437
(This used to be commit ffbd222d651dcddb19cacdc50cdbfeaefa816940)
2008-05-20Fix prototype generation in new syntax for netlogon.cAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit b6f91ce75ae401bed515012fa3019a6241e7ff6d)
2008-05-20Add the core of the new CLDAP/NBT 'netlogon' parsing library.Andrew Bartlett2-0/+364
This uses some hand-adjusted PIDL output to cope with some 'oddities' in the parsing of the _EX varient of the netlogon packet. Andrew Bartlett (This used to be commit 6e357d00474de65395ca51524d3b85d00691baf2)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett6-44/+56
Fix config.mk due to changing syntax. Conflicts: source/libcli/config.mk source/nbt_server/config.mk (This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf)
2008-05-19added SMB2 proxying of rmdirAndrew Tridgell1-1/+73
(This used to be commit 1e0c24b2760f2a632333b51710cd9581f0cee851)
2008-05-19Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell6-43/+54
(This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)
2008-05-19added mkdir to SMB2 proxyAndrew Tridgell1-0/+72
(This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)
2008-05-18Fix a bunch of dependencies.Jelmer Vernooij2-2/+2
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij5-15/+15
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij5-15/+26
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij6-28/+28
(This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
2008-05-17Ensure we don't send a reply if we couldn't push the CLDAP blobAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit a8ec36eba79f96940f314520f97d23181bc9cfc5)
2008-05-17Show that the NTLOGON and NETLOGON mailslots are *very* similar.Andrew Bartlett2-1/+2
Rework the mailslot infrustructure to cope, passing down the mailslot name so that we can implement both in the same callback function. Andrew Bartlett (This used to be commit 89fdd77891529aa74bb920994b8b5959aae8ac2d)
2008-05-17Put back the old netlogn parsing code - for the request onlyAndrew Bartlett2-15/+41
This gives us seperate parsing functions for requests and replies. Andrew Bartlett (This used to be commit d2d3d15a8edd58cda7543feebdeb52178400615b)
2008-05-16private -> private_data for struct smb2_requestAndrew Tridgell5-15/+30
(This used to be commit 67290e0ad69df2f2fe651249c6550b8e32dd641b)
2008-05-16build the smb2 composite callsAndrew Tridgell1-1/+2
(This used to be commit ac10e3ad15dd17b96424987d1a2b7a0e4dc67cd0)
2008-05-16declare composite_wait_free()Andrew Tridgell1-0/+1
(This used to be commit 5b6f80aba30fc8ade26f73b0a1336c22e40b66a9)
2008-05-16- added a composite_wait_free() callAndrew Tridgell1-1/+18
- allow composite_error() to take NT_STATUS_OK (This used to be commit 5240e1e25655af1f9b92da99e85d845bf30c4e9e)
2008-05-16started adding SMB2 composite functions that emulate common SMB callsAndrew Tridgell1-0/+122
(such as unlink) (This used to be commit 433038f3fea60087bdca07dcc856d0be4a4753f3)
2008-05-16Rework the CLDAP and NBT netlogon requests and responses.Andrew Bartlett6-187/+39
This now matches section 7.3.3 of the MS-ATDS specification, and all our current tests pass against windows. There is still more testing to do, and the server implementation to complete. Andrew Bartlett (This used to be commit 431d0c03965cbee85691cd0dc1e2a509c1a2b717)
2008-05-15update some SMB2 find flagsAndrew Tridgell2-4/+5
(This used to be commit b7560afd4bab984c0083e9687b69bc42970ad932)
2008-05-15use a newer fsinfo level in smbclient, to support larger disksAndrew Tridgell1-5/+6
(This used to be commit 1acc8077fb86c1e78724b010d149db166d98238d)
2008-05-14Fix an uninitialized variable introduced by 3045d391Volker Lendecke1-2/+1
Simo, please check! Volker (This used to be commit 0c09d28acf42400d26cc27675e37226060de26d3)
2008-05-05Reorder this function in the file, so it reads bottom-up.Andrew Bartlett1-19/+18
The rest of this file reads bottom-up, but this function (connect_send_negprot()) was out of place. Andrew Bartlett (This used to be commit f0c95cd74fb6fea57cef89b59e5d2f10ea25c138)
2008-04-25Revert to using the old CIFS connection API.Andrew Bartlett2-17/+8
Rather than add a new 'out' member to the API, simply fill in the 'tree' early enough that we can access the server challenge there. Andrew Bartlett (This used to be commit 6dbbcf8aaf9b93af970d1701dfb185460d4dc788)
2008-04-25Make the composite 'connect to server' code useful for security=serverAndrew Bartlett3-14/+35
The ability to short-circuit the connection code to only do a negprot allows us to do the rest once we have the user's password. We return the 8 byte challenge so we can pass it to the client. Andrew Bartlett (This used to be commit 40fe386b0374df8b390b995c332d048dbbc08f1b)
2008-04-24Add comment explaining why io.in.workgroup isn't important.Andrew Bartlett1-0/+5
This protocol feild isn't used by servers (apparently), so we might be able to get rid of it. Andrew Bartlett (This used to be commit 58935acc7c8e97323d5d5979234ef26ef8a100a4)
2008-04-22fix an extrasemi compile warningBjörn Jacke1-1/+1
(This used to be commit 47e8ef4f6aa91ed0b069a1890cb1f853b4e9b879)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce15-70/+33
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-19libcli/smb2: make it possible to handle incoming oplock requestsStefan Metzmacher2-0/+54
metze (This used to be commit 58189b87eade62b717c2c17c679e482786bf2098)
2008-04-19libcli/smb2: add smb2_break() callsStefan Metzmacher2-1/+75
metze (This used to be commit 7f545dbbf0186fe552e4c49a3f618862cb4771e7)
2008-04-19libcli: define structure for SMB2 BreakStefan Metzmacher1-1/+16
metze (This used to be commit 5ffea702c3a1c92a797afab1a3cadf2f2a18729f)
2008-04-17fix the overflow/wrap checks in Samba4 for new gcc optimisation behaviorAndrew Tridgell3-10/+10
The approach I have used is as set out in https://www.securecoding.cert.org/confluence/display/seccode/ARR38-C.+Do+not+add+or+subtract+an+integer+to+a+pointer+if+the+resulting+value+does+not+refer+to+an+element+within+the+array (This used to be commit 92d5fb531db39be655f0cbd2d75b5f675a0a4cfa)
2008-04-17libcli/smb2: make it possible to pass additional extra blobs in smb2_create()Stefan Metzmacher2-23/+79
This also fixes the alignment from 8 to 4 byte bounderies. metze (This used to be commit e0a0d8e36acd735b587cd7870625af52c5dc3431)
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-15Fix warnings.Jelmer Vernooij1-0/+2
(This used to be commit 88013ca9775a6ff5e5a393f9d8238dbcd197f26f)