summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-06-09s3-talloc Change TALLOC_MEMDUP() to talloc_memdup()Andrew Bartlett1-2/+2
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett4-7/+7
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett6-14/+14
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett3-3/+3
Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett7-10/+10
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett5-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-08s3:libsmb/cli_np_tstream: s/TSTREAM_CLI_NP_BUF_SIZE/TSTREAM_CLI_NP_MAX_BUF_SIZEStefan Metzmacher1-6/+6
This isn't the fixed buffer size anymore, as we use dynamic beffer it's just the maximum size. metze
2011-06-08s3:libsmb:cli_np_tstream: use dynamic talloc buffersStefan Metzmacher1-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-07s3:libsmb/cli_np_tstream: use larger buffers to avoid a bug NT4 servers (bug ↵Stefan Metzmacher1-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-07s3: Remove unused variablesVolker Lendecke1-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-06s3: Remove a pointless if-statementVolker Lendecke1-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-05s3: Make name_resolve_bcast do parallel lookups to all interfacesVolker Lendecke1-21/+19
2011-06-05s3: Add name_queries_send/recvVolker Lendecke1-0/+231
2011-06-01lib/util/time.c: timeval_current_ofs_msecRusty Russell1-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-31s3-libsmb remove ldap_err2string() as common nterrs[] has the constantsAndrew Bartlett1-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-31s3-libsmb: fix build warning of cli_qfilename().Günther Deschner1-1/+1
Guenther
2011-05-31libcli/security: move secdesc.c to the top level libcli/securityAndrew Bartlett1-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-30s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner2-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-29s3: Remove unused cli_session_requestVolker Lendecke2-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-29s3: Remove unused cli_connectVolker Lendecke2-180/+0
2011-05-29s3: Use cli_connect_nb in SMBC_server_internalVolker Lendecke1-81/+20
2011-05-29s3: Add set_socket_options to cli_connect_sock()Volker Lendecke1-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-29s3: Remove unused attempt_netbios_session_requestVolker Lendecke2-67/+0
2011-05-29s3: Use cli_connect_nb in do_connectVolker Lendecke1-45/+6
2011-05-29s3: Extract the guest_login field in sesssetupVolker Lendecke1-4/+17
2011-05-29s3: Fix wct check in cli_sesssetup_blob_doneVolker Lendecke1-1/+1
2011-05-28s3: Use cli_connect_nb in remote_password_changeVolker Lendecke1-31/+2
2011-05-28s3: Add called name_type param to cli_connect_nbVolker Lendecke2-4/+3
2011-05-28s3: Fix a type-punned warningVolker Lendecke1-1/+2
2011-05-28s3: Fix some nonemtpy blank linesVolker Lendecke1-3/+3
2011-05-28s3: Fix smbsock_connectVolker Lendecke1-1/+1
If all connection attempts fail, return immediately. Plain bug.
2011-05-28s3: Use cli_connect_nb in cli_start_connectionVolker Lendecke1-47/+4
2011-05-28s3: Add cli_connect_nbVolker Lendecke2-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-23s3: Remove unused cli_get_nt_errorVolker Lendecke2-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-23s3: Remove unused cli_set_nt_errorVolker Lendecke2-10/+0
2011-05-23s3: Remove unused cli_reset_errorVolker Lendecke2-13/+0
2011-05-23s3: Remove a reference to cli->inbufVolker Lendecke1-1/+1
This is only used for utf16 alignment calculations, "rdata" is aligned the same way as cli->inbuf is.
2011-05-23s3: Remove two false references to cli->inbufVolker Lendecke1-2/+2
2011-05-23s3: Fix a leftover from fstring removal in cli_stateVolker Lendecke1-4/+7
Jeremy, please check!
2011-05-23s3: Remove unused cli_[en|de]crypt_messageVolker Lendecke2-45/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 23 12:15:33 CEST 2011 on sn-devel-104
2011-05-23s3: Directly call common_encrypt_buffer in cli_smb_req_iov_sendVolker Lendecke1-2/+2
2011-05-22s3: Remove cli_send/receive_smbVolker Lendecke2-284/+0
A moment of silence is due here, R.I.P. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 22 22:17:12 CEST 2011 on sn-devel-104
2011-05-21s3: Remove clistr_align_outVolker Lendecke2-6/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 21 23:31:12 CEST 2011 on sn-devel-104
2011-05-21s3: Remove unused cli_setup_bccVolker Lendecke2-10/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 21 21:24:13 CEST 2011 on sn-devel-104
2011-05-21Patch for bug #8156 - net ads join fails to use the user's kerberos ticket.Jeremy Allison1-10/+27
If kerberos_get_realm_from_hostname() or kerberos_get_default_realm_from_ccache() fails due to a misconfigured krb5.conf, try the "realm =" from smb.conf as a fallcback before going back to NTLMSSP (which we'll do anyway). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 21 00:58:09 CEST 2011 on sn-devel-104
2011-05-20The "workgroup" parameter is not used at all in ↵Jeremy Allison1-7/+4
cli_session_setup_kerberos(). Remove it.
2011-05-20s3: Remove unused cli_setup_packet()Volker Lendecke2-6/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 10:51:36 CEST 2011 on sn-devel-104
2011-05-19s3: Do central cli_set_errorVolker Lendecke9-189/+2
2011-05-19s3: Remove the use of cli->inbuf/outbuf from cli_session_requestVolker Lendecke1-45/+53
2011-05-19s3: Add sync read_smbVolker Lendecke2-0/+25