Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-10 | s3:libsmb/async_smb: add helpers to get and set the seqnum for signing | Stefan Metzmacher | 1 | -0/+14 | |
This will be used for correct signing in [nt]trans[2][s] requests. metze | |||||
2011-06-10 | s3:libsmb/async_smb: don't remove pending requests if the mid is set | Stefan Metzmacher | 1 | -0/+15 | |
If the mid was set explicitly, it means the request expects more than one reply, so leave it in the pending array. metze | |||||
2011-06-10 | s3:libsmb/async_smb: call cli_smb_req_unset_pending() instead of destructor ↵ | Stefan Metzmacher | 1 | -2/+2 | |
directly metze | |||||
2011-06-10 | s3:libsmb/async_smb: let cli_smb_recv() initialize output values for one way ↵ | Stefan Metzmacher | 1 | -0/+18 | |
requests metze | |||||
2011-06-10 | source3/libsmb/proto.h: fix licence/copyright | Günther Deschner | 1 | -0/+8 | |
Guenther | |||||
2011-06-10 | source3/libsmb/nmblib.h: fix licence/copyright | Günther Deschner | 1 | -0/+27 | |
Guenther | |||||
2011-06-10 | source3/libsmb/libsmb.h: fix licence/copyright | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2011-06-10 | source3/libsmb/errormap_wbc.h: fix licence/copyright | Günther Deschner | 1 | -0/+26 | |
Guenther | |||||
2011-06-10 | source3/libsmb/clidgram.h: fix licence/copyright | Günther Deschner | 1 | -0/+26 | |
Guenther | |||||
2011-06-09 | s3-param Remove special case for global_myname(), rename to lp_netbios_name() | Andrew Bartlett | 8 | -12/+12 | |
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett | |||||
2011-06-09 | s3-param Remove special case for global_scope() | Andrew Bartlett | 1 | -5/+5 | |
There is no reason this can't be a normal constant string in the loadparm system. (Past reasons were that we didn't have lp_set_cmdline()) Andrew Bartlett | |||||
2011-06-09 | s3-libsmbclient Use workgroup from libsmbclient caller for domain in credentials | Andrew Bartlett | 1 | -1/+1 | |
This previously set the workgroup, which is a different thing, but would have been the default if no domain was specified). This more clearly sets the information from the credentials file into the matching field in the credentials structure. Andrew Bartlett | |||||
2011-06-09 | s3-talloc Change TALLOC_MEMDUP() to talloc_memdup() | Andrew Bartlett | 1 | -2/+2 | |
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array() | Andrew Bartlett | 4 | -7/+7 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ZERO_P() to talloc_zero() | Andrew Bartlett | 6 | -14/+14 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_P() to talloc() | Andrew Bartlett | 3 | -3/+3 | |
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 7 | -10/+10 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() | Andrew Bartlett | 5 | -13/+13 | |
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett | |||||
2011-06-08 | s3:libsmb/cli_np_tstream: s/TSTREAM_CLI_NP_BUF_SIZE/TSTREAM_CLI_NP_MAX_BUF_SIZE | Stefan Metzmacher | 1 | -6/+6 | |
This isn't the fixed buffer size anymore, as we use dynamic beffer it's just the maximum size. metze | |||||
2011-06-08 | s3:libsmb:cli_np_tstream: use dynamic talloc buffers | Stefan Metzmacher | 1 | -9/+30 | |
Having 8192 bytes on an idle connection is a bit to much, so we better use dynamic buffers using talloc, which also avoids a memcpy in the common SMBtrans readv codepath. metze | |||||
2011-06-07 | s3:libsmb/cli_np_tstream: use larger buffers to avoid a bug NT4 servers (bug ↵ | Stefan Metzmacher | 1 | -2/+17 | |
#8195) NT4 servers return NT_STATUS_PIPE_BUSY if we try a SMBtrans and the SMBwriteX before hasn't transmited the whole DCERPC fragment. W2K and above is happy with that. As a result we try to match the behavior of Windows and older Samba clients, they use write and read buffers of 4280 bytes instead of 1024 bytes. On Windows only the SMBtrans based read uses 1024 (while we also use 4280 there). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 7 20:25:32 CEST 2011 on sn-devel-104 | |||||
2011-06-07 | s3: Remove unused variables | Volker Lendecke | 1 | -2/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jun 7 00:42:51 CEST 2011 on sn-devel-104 | |||||
2011-06-06 | s3: Remove a pointless if-statement | Volker Lendecke | 1 | -3/+1 | |
We are here only if we have more than one num_pending Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jun 6 18:21:17 CEST 2011 on sn-devel-104 | |||||
2011-06-05 | s3: Make name_resolve_bcast do parallel lookups to all interfaces | Volker Lendecke | 1 | -21/+19 | |
2011-06-05 | s3: Add name_queries_send/recv | Volker Lendecke | 1 | -0/+231 | |
2011-06-01 | lib/util/time.c: timeval_current_ofs_msec | Rusty Russell | 1 | -2/+1 | |
Several places want "milliseconds from current time", and several were simply doing "msec * 1000" which can (and does in one place) result in a usec value over 1 a million. Using a helper to do this is safer and more readable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-05-31 | s3-libsmb remove ldap_err2string() as common nterrs[] has the constants | Andrew Bartlett | 1 | -6/+0 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 31 08:58:00 CEST 2011 on sn-devel-104 | |||||
2011-05-31 | s3-libsmb: fix build warning of cli_qfilename(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-05-31 | libcli/security: move secdesc.c to the top level libcli/security | Andrew Bartlett | 1 | -0/+1 | |
This code does not rely on lp_ or other source3 only functions, so can be part of the common library. Andrew Bartlett | |||||
2011-05-30 | s3: fix some -Wunused-but-set-variable build warnings. | Günther Deschner | 2 | -6/+2 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 17:41:18 CEST 2011 on sn-devel-104 | |||||
2011-05-29 | s3: Remove unused cli_session_request | Volker Lendecke | 2 | -131/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 22:25:55 CEST 2011 on sn-devel-104 | |||||
2011-05-29 | s3: Remove unused cli_connect | Volker Lendecke | 2 | -180/+0 | |
2011-05-29 | s3: Use cli_connect_nb in SMBC_server_internal | Volker Lendecke | 1 | -81/+20 | |
2011-05-29 | s3: Add set_socket_options to cli_connect_sock() | Volker Lendecke | 1 | -0/+1 | |
A leftover of stuff that cli_connect() does Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 15:47:17 CEST 2011 on sn-devel-104 | |||||
2011-05-29 | s3: Remove unused attempt_netbios_session_request | Volker Lendecke | 2 | -67/+0 | |
2011-05-29 | s3: Use cli_connect_nb in do_connect | Volker Lendecke | 1 | -45/+6 | |
2011-05-29 | s3: Extract the guest_login field in sesssetup | Volker Lendecke | 1 | -4/+17 | |
2011-05-29 | s3: Fix wct check in cli_sesssetup_blob_done | Volker Lendecke | 1 | -1/+1 | |
2011-05-28 | s3: Use cli_connect_nb in remote_password_change | Volker Lendecke | 1 | -31/+2 | |
2011-05-28 | s3: Add called name_type param to cli_connect_nb | Volker Lendecke | 2 | -4/+3 | |
2011-05-28 | s3: Fix a type-punned warning | Volker Lendecke | 1 | -1/+2 | |
2011-05-28 | s3: Fix some nonemtpy blank lines | Volker Lendecke | 1 | -3/+3 | |
2011-05-28 | s3: Fix smbsock_connect | Volker Lendecke | 1 | -1/+1 | |
If all connection attempts fail, return immediately. Plain bug. | |||||
2011-05-28 | s3: Use cli_connect_nb in cli_start_connection | Volker Lendecke | 1 | -47/+4 | |
2011-05-28 | s3: Add cli_connect_nb | Volker Lendecke | 2 | -0/+136 | |
This builds up a cli_state until after the netbios session setup. It makes use of smbsock_connect, so it connects to 139 and 445 simultaneously. This improves the connection to Windows 2008 which does not listen on *SMBSERVER anymore. | |||||
2011-05-23 | s3: Remove unused cli_get_nt_error | Volker Lendecke | 2 | -18/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 23 16:54:21 CEST 2011 on sn-devel-104 | |||||
2011-05-23 | s3: Remove unused cli_set_nt_error | Volker Lendecke | 2 | -10/+0 | |
2011-05-23 | s3: Remove unused cli_reset_error | Volker Lendecke | 2 | -13/+0 | |
2011-05-23 | s3: Remove a reference to cli->inbuf | Volker Lendecke | 1 | -1/+1 | |
This is only used for utf16 alignment calculations, "rdata" is aligned the same way as cli->inbuf is. | |||||
2011-05-23 | s3: Remove two false references to cli->inbuf | Volker Lendecke | 1 | -2/+2 | |