summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
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
2011-05-19s3: Make read_smb_send/recv publicVolker Lendecke3-87/+144
2011-05-18s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett1-37/+37
strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-60/+60
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-18s3-libsmb/passchange.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-8/+9
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-16s3:libsmb convert user-specified domain to uppercaseChristian Ambach1-0/+1
with client ntlmv2 auth = yes, there is a small difference between using smbclient -U user\domain and smbclient -U user -W domain if domain is provided in lowercase using -W will uppercase the given parameter, while picking the domain name from -U will not convert it to uppercase and this leads to failing NTLMv2 authentication with this patch, there is no difference between smbclient -U domain\user and smbclient -U user -W domain any more Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon May 16 11:42:55 CEST 2011 on sn-devel-104
2011-05-14s3: Make&use set_socket_addr_v4Volker Lendecke1-12/+14
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 18:57:57 CEST 2011 on sn-devel-104
2011-05-14s3: Paranoia in smbsock_connect_state_destructorVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 14:19:01 CEST 2011 on sn-devel-104
2011-05-10s3: Use tevent_req_ntstatus properly in a few placesVolker Lendecke1-58/+29
2011-05-10async_smb.c: convert cli->timeout properlyRusty Russell1-1/+2
I have a test failure on my 32-bit Ubuntu system, in that samba3.smbtorture_s3.plain(s3dc).LOCK9 immediately times out (rather than waiting 5 seconds for the child). Debugging revealed this code: timeout is in ms and is set to > 1000 in various places. The code dates from 2002, and other perturbations didn't reveal why it breaks now, but fix it anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue May 10 12:09:07 CEST 2011 on sn-devel-104
2011-04-19gencache: don't use CLEAR_IF_FIRST as fallback.Rusty Russell1-10/+3
CLEAR_IF_FIRST only works if *all* openers use that flag. So just truncate the file: it's racy, but that's what we're doing anyway. We'd really need a TDB_OPENCHECK_OR_CLEAR flag to do this properly (or in TDB2, a open hook at the right point). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-07s3: Fix including libsmb/proto.h without prior ads.hVolker Lendecke1-0/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 7 11:38:11 CEST 2011 on sn-devel-104
2011-05-06s3-includes: no need to globally include libads/ads_status.h.Günther Deschner1-0/+1
Guenther
2011-05-06s3-includes: finally only include client.h when libsmb is used.Günther Deschner3-0/+4
Guenther
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner35-0/+889
Guenther
2011-05-06s3: only include tdb headers where needed.Günther Deschner2-0/+2
Guenther
2011-05-06libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett1-94/+0
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
2011-05-06libcli/util Move NTSTATUS table to the top levelAndrew Bartlett1-725/+4
2011-05-06nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett1-4/+4
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
2011-05-06libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett1-1214/+0
This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett
2011-05-06errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett1-8/+9
They are now identical Andrew Bartlett
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison1-1/+1
2011-05-05More simple const fixes.Jeremy Allison4-14/+14
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison10-77/+85
2011-05-05Fix many const compiler warnings.Jeremy Allison2-4/+4
2011-05-05s3-libsmb: run minimal_includes.pl.Günther Deschner2-2/+0
Guenther
2011-05-04Add in bufflen limit when storing NetBIOS names. Remove safe_strcpy.Jeremy Allison1-16/+32
2011-05-04Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵Jeremy Allison1-6/+6
as the original macro auto-added the -1.
2011-05-04s3: Filter out duplicates in name_query()Volker Lendecke1-2/+18
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 00:03:47 CEST 2011 on sn-devel-104
2011-05-03s3: Tune broadcast namequeries for unique namesVolker Lendecke1-3/+9
If we get a unique name via a broadcast query, there's no point in waiting the full timeout. A unique name is just what its name says: unique. No point in waiting longer. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 00:57:24 CEST 2011 on sn-devel-104
2011-05-02s3:libsmb/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILUREStefan Metzmacher1-0/+2
metze
2011-04-30s3: Make name_resolve_bcast return sockaddr_storageVolker Lendecke3-26/+35
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 20:40:46 CEST 2011 on sn-devel-104
2011-04-30s3: Remove ip_sevice from get_ipc_connect_master_ipVolker Lendecke2-6/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 18:16:28 CEST 2011 on sn-devel-104
2011-04-30Add POSIX O_RDONLY test of a directory for bug #8112 - POSIX extension opens ↵Jeremy Allison1-2/+0
of a directory are denied with EISDIR. Don't strip access bits from wire flags when opening a directory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 02:21:24 CEST 2011 on sn-devel-104