Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libcli/smb: move smb2_create_blob code to libcli/smb/ | Stefan Metzmacher | 2009-08-12 | 1 | -7/+1 |
| | | | | | | I want to use this in source3/smbd/ metze | ||||
* | libcli: move some common SMB and SMB2 stuff into libcli/smb/ | Stefan Metzmacher | 2009-08-12 | 1 | -1/+1 |
| | | | | | | This will hold code that's shared between source3 and source4. metze | ||||
* | s4:libcli: move SMB2 Find constants to smb2_constants.h | Stefan Metzmacher | 2009-08-07 | 1 | -16/+0 |
| | | | | metze | ||||
* | s4:libcli/raw: we don't need to include "smb.h" explicit | Stefan Metzmacher | 2009-08-07 | 4 | -4/+0 |
| | | | | metze | ||||
* | s4:libcli/raw: also include smb2_constants.h into interfaces.h | Stefan Metzmacher | 2009-08-07 | 1 | -1/+2 |
| | | | | metze | ||||
* | fixed several places that unnecessarily take a reference to the event context | Andrew Tridgell | 2009-08-07 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent. | ||||
* | s4:libcli: move SMB2 lock flags to smb2_constants.h | Stefan Metzmacher | 2009-07-02 | 1 | -7/+0 |
| | | | | metze | ||||
* | s4: smbcli_transport_send hit the socket right away if possible | Sam Liddicott | 2009-06-09 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | [Metze; "make test" on git master outputs exactly the same test summary with our without this patch (apart from the "using seed" lines)] If the transport socket is writable, then push the queue along rather than wait until the caller returns back to the tevent loop. This strategy keeps the sockets piping hot, and is particularly good for cases where reading requests from one socket causes lots of writes on another socket, or where lots of writes are made in a batch. It doesn't matter if the socket is not writeable yet, packet_queue_run will return quite cheaply in such a case. Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s4:libcli/raw: initialy read the first 4 bytes only | Stefan Metzmacher | 2009-05-20 | 1 | -0/+1 |
| | | | | metze | ||||
* | s4:libcli: remember operating system and lan manager strings from session setup | Stefan Metzmacher | 2009-05-01 | 1 | -0/+3 |
| | | | | metze | ||||
* | s4:libcli/raw: write can return STATUS_BUFFER_OVERFLOW as a real error | Stefan Metzmacher | 2009-05-01 | 1 | -1/+1 |
| | | | | | | We should not try to parse the result if the status is not NT_STATUS_OK. metze | ||||
* | libcli: fix a "not handled in switch" compile warning | Björn Jacke | 2009-04-22 | 1 | -0/+1 |
| | | | | return NULL also for RAW_CLOSE_GENERIC | ||||
* | s4:smb2: Add lease break support for SMB2.1 | Zach Loafman | 2009-04-01 | 1 | -1/+22 |
| | | | | | Add the structures and marshalling for the lease break variants of the oplock break / oplock break ack messages. | ||||
* | s4:smb2: Add rudimentary SMB2.1 lease support to libcli | Zach Loafman | 2009-03-28 | 1 | -0/+12 |
| | | | | Add the structures, constants, and marshalling for SMB2.1 leases. | ||||
* | s4: Use same function signature for convert_* as s3. | Jelmer Vernooij | 2009-03-01 | 2 | -18/+22 |
| | |||||
* | Add allow_badcharcnv argument to all conversion function, for | Jelmer Vernooij | 2009-03-01 | 2 | -5/+5 |
| | | | | consistency with Samba 3. | ||||
* | s4:libcli/raw: s/class/eclass | Stefan Metzmacher | 2009-02-02 | 1 | -3/+3 |
| | | | | metze | ||||
* | s4:libcliraw: s/private/private_data | Stefan Metzmacher | 2009-02-02 | 4 | -7/+7 |
| | | | | metze | ||||
* | s4:libcli/raw: s/private/private_data | Stefan Metzmacher | 2009-02-02 | 5 | -34/+34 |
| | | | | metze | ||||
* | util_str: setup the correct talloc name for strings | Stefan Metzmacher | 2009-01-19 | 1 | -0/+2 |
| | | | | | metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb) | ||||
* | s4:lib/tevent: rename structs | Stefan Metzmacher | 2008-12-29 | 4 | -13/+13 |
| | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Remove another use of global_loadparm. | Jelmer Vernooij | 2008-11-02 | 2 | -1/+4 |
| | | | | | | Eventually, we should move some of these parameters into a separate struct (perhaps into smb_transport_options?), to avoid the long lists of parameters. | ||||
* | Remove another use of global_loadparm. | Jelmer Vernooij | 2008-11-02 | 1 | -0/+2 |
| | |||||
* | Move lp_*() calls a bit higher up the calls tack. | Jelmer Vernooij | 2008-11-01 | 2 | -6/+11 |
| | |||||
* | Fix prototype for attrib_string(). | Jelmer Vernooij | 2008-11-01 | 1 | -1/+1 |
| | |||||
* | Remove unused include param/param.h. | Jelmer Vernooij | 2008-10-24 | 8 | -8/+0 |
| | |||||
* | Remove iconv_convenience argument from convert_string{,talloc}() but | Jelmer Vernooij | 2008-10-24 | 2 | -5/+4 |
| | | | | make them wrappers around convert_string{,talloc}_convenience(). | ||||
* | Remove a few more usages of global_loadparm. | Jelmer Vernooij | 2008-10-24 | 1 | -3/+2 |
| | |||||
* | Eliminate another instance of global_loadparm. | Jelmer Vernooij | 2008-10-24 | 3 | -2/+9 |
| | |||||
* | Just hardcode workgroup to empty string, to avoid use of | Jelmer Vernooij | 2008-10-24 | 1 | -4/+3 |
| | | | | global_loadparm. | ||||
* | Remove iconv_convenience parameter from simple string push/pull | Jelmer Vernooij | 2008-10-24 | 1 | -2/+2 |
| | | | | functions. | ||||
* | Make sure prototypes are always included, make some functions static and | Jelmer Vernooij | 2008-10-20 | 5 | -0/+5 |
| | | | | remove some unused functions. | ||||
* | Move SMB-specific attribute function to SMB client library. | Jelmer Vernooij | 2008-10-19 | 1 | -0/+44 |
| | |||||
* | Fix include paths to new location of libutil. | Jelmer Vernooij | 2008-10-11 | 4 | -4/+4 |
| | |||||
* | Pass session options around; saves another use of global_loadparm. | Jelmer Vernooij | 2008-09-30 | 1 | -1/+3 |
| | |||||
* | Pass options struct into session initialization functions rather than | Jelmer Vernooij | 2008-09-30 | 1 | -4/+3 |
| | | | | using global_loadparm. | ||||
* | added the structure for LINK_INFORMATION setfileinfo call | Andrew Tridgell | 2008-09-24 | 1 | -0/+13 |
| | |||||
* | Move source4/lib/crypto to lib/crypto. | Jelmer Vernooij | 2008-09-24 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Andrew Tridgell | 2008-09-23 | 4 | -2/+22 |
|\ | |||||
| * | libcli/raw: real signing starts at seqnumber 2 | Stefan Metzmacher | 2008-09-23 | 1 | -0/+1 |
| | | | | | | | | metze | ||||
| * | libcli/raw: in SMB_SIGNING_ENGINE_BSRSPYL state it's ok to accept any signature | Stefan Metzmacher | 2008-09-23 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even if signing is mandatory. With NTLMSSP this happens for the session setup: request1 => BSRSPYL response1 => BSRSPYL request2 => BSRSPYL response2 => <SIGNATURE> and with krb5: request1 => BSRSPYL response1 => <SIGNATURE> metze | ||||
| * | libcli/raw: give the caller the chance to do the signing checks on its own. | Stefan Metzmacher | 2008-09-23 | 2 | -0/+10 |
| | | | | | | | | metze | ||||
| * | libcli/raw: give the caller the chance to prevent the talloc_free(req) in ↵ | Stefan Metzmacher | 2008-09-23 | 2 | -1/+8 |
| | | | | | | | | | | | | the _recv functions metze | ||||
| * | s4-nbt: use ../libcli/nbt | Günther Deschner | 2008-09-23 | 1 | -1/+1 |
| | | | | | | | | Guenther | ||||
* | | added FULL_EA_INFORMATION setea call | Andrew Tridgell | 2008-09-23 | 2 | -1/+20 |
|/ | |||||
* | Make SMB signing work with Windows 2008 and kerberos. | Andrew Bartlett | 2008-09-06 | 1 | -4/+1 |
| | | | | | | | Pinched from b53e6387e30010509034835acf88b91b380ff44a by metze. Andrew Bartlett (This used to be commit d55602e23e7947462cb402b20b2d354b96aa7ba3) | ||||
* | libcli/raw: fix the special NTCREATE_OPTIONS_*_MASK values | Stefan Metzmacher | 2008-08-14 | 1 | -7/+20 |
| | | | | | | | We now reuse ignored values for the ntvfs backend private flags. metze (This used to be commit 14eda93aeface307e1ffd1ea012d8f236fa78290) | ||||
* | More 'must be ignored' options from the MS-SMB doc. | Andrew Bartlett | 2008-07-18 | 1 | -20/+26 |
| | | | | | | | | | | | Also in particular the 'sync' flags (which Samba has traditionally ignored). Thanks to Olivier Salamin <olivier.salamin@gmail.com> for pointing out more flags that needed to be handled. Andrew Bartlett (This used to be commit 370bb39cd79fe49efd36a1ceb3e896d386e6d3ce) | ||||
* | Ignore and handle more NT Create & X options. | Andrew Bartlett | 2008-07-16 | 1 | -3/+8 |
| | | | | | | | | | | | | | | The MS-SMB document explains that some of these options should be ignored. The test proves it. /* Must be ignored by the server, per MS-SMB 2.2.8 */ /* Must be ignored by the server, per MS-SMB 2.2.8 */ If we implement HSM in samba4 (likely) we should honour this bit. /* Don't pull this file off tape in a HSM system */ Andrew Bartlett (This used to be commit 502739ff90d56d2c9aabe8e224317f6ceb175c17) | ||||
* | libcli/raw: remove unused smb_raw_max_trans_data() function | Stefan Metzmacher | 2008-07-07 | 1 | -12/+0 |
| | | | | | metze (This used to be commit d235ce673705641e06b4ad5f5679e146b59a19e1) |