summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-libsmb: fix build warning of cli_qfilename().Günther Deschner2011-05-311-1/+1
| | | | Guenther
* libcli/security: move secdesc.c to the top level libcli/securityAndrew Bartlett2011-05-311-0/+1
| | | | | | | This code does not rely on lp_ or other source3 only functions, so can be part of the common library. Andrew Bartlett
* s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner2011-05-302-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
* s3: Remove unused cli_session_requestVolker Lendecke2011-05-292-131/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 22:25:55 CEST 2011 on sn-devel-104
* s3: Remove unused cli_connectVolker Lendecke2011-05-292-180/+0
|
* s3: Use cli_connect_nb in SMBC_server_internalVolker Lendecke2011-05-291-81/+20
|
* s3: Add set_socket_options to cli_connect_sock()Volker Lendecke2011-05-291-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
* s3: Remove unused attempt_netbios_session_requestVolker Lendecke2011-05-292-67/+0
|
* s3: Use cli_connect_nb in do_connectVolker Lendecke2011-05-291-45/+6
|
* s3: Extract the guest_login field in sesssetupVolker Lendecke2011-05-291-4/+17
|
* s3: Fix wct check in cli_sesssetup_blob_doneVolker Lendecke2011-05-291-1/+1
|
* s3: Use cli_connect_nb in remote_password_changeVolker Lendecke2011-05-281-31/+2
|
* s3: Add called name_type param to cli_connect_nbVolker Lendecke2011-05-282-4/+3
|
* s3: Fix a type-punned warningVolker Lendecke2011-05-281-1/+2
|
* s3: Fix some nonemtpy blank linesVolker Lendecke2011-05-281-3/+3
|
* s3: Fix smbsock_connectVolker Lendecke2011-05-281-1/+1
| | | | If all connection attempts fail, return immediately. Plain bug.
* s3: Use cli_connect_nb in cli_start_connectionVolker Lendecke2011-05-281-47/+4
|
* s3: Add cli_connect_nbVolker Lendecke2011-05-282-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.
* s3: Remove unused cli_get_nt_errorVolker Lendecke2011-05-232-18/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 23 16:54:21 CEST 2011 on sn-devel-104
* s3: Remove unused cli_set_nt_errorVolker Lendecke2011-05-232-10/+0
|
* s3: Remove unused cli_reset_errorVolker Lendecke2011-05-232-13/+0
|
* s3: Remove a reference to cli->inbufVolker Lendecke2011-05-231-1/+1
| | | | | This is only used for utf16 alignment calculations, "rdata" is aligned the same way as cli->inbuf is.
* s3: Remove two false references to cli->inbufVolker Lendecke2011-05-231-2/+2
|
* s3: Fix a leftover from fstring removal in cli_stateVolker Lendecke2011-05-231-4/+7
| | | | Jeremy, please check!
* s3: Remove unused cli_[en|de]crypt_messageVolker Lendecke2011-05-232-45/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 23 12:15:33 CEST 2011 on sn-devel-104
* s3: Directly call common_encrypt_buffer in cli_smb_req_iov_sendVolker Lendecke2011-05-231-2/+2
|
* s3: Remove cli_send/receive_smbVolker Lendecke2011-05-222-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
* s3: Remove clistr_align_outVolker Lendecke2011-05-212-6/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 21 23:31:12 CEST 2011 on sn-devel-104
* s3: Remove unused cli_setup_bccVolker Lendecke2011-05-212-10/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 21 21:24:13 CEST 2011 on sn-devel-104
* Patch for bug #8156 - net ads join fails to use the user's kerberos ticket.Jeremy Allison2011-05-211-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
* The "workgroup" parameter is not used at all in ↵Jeremy Allison2011-05-201-7/+4
| | | | cli_session_setup_kerberos(). Remove it.
* s3: Remove unused cli_setup_packet()Volker Lendecke2011-05-202-6/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 10:51:36 CEST 2011 on sn-devel-104
* s3: Do central cli_set_errorVolker Lendecke2011-05-199-189/+2
|
* s3: Remove the use of cli->inbuf/outbuf from cli_session_requestVolker Lendecke2011-05-191-45/+53
|
* s3: Add sync read_smbVolker Lendecke2011-05-192-0/+25
|
* s3: Make read_smb_send/recv publicVolker Lendecke2011-05-193-87/+144
|
* s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett2011-05-181-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
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-181-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
* s3-libsmb/passchange.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-8/+9
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb convert user-specified domain to uppercaseChristian Ambach2011-05-161-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
* s3: Make&use set_socket_addr_v4Volker Lendecke2011-05-141-12/+14
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 18:57:57 CEST 2011 on sn-devel-104
* s3: Paranoia in smbsock_connect_state_destructorVolker Lendecke2011-05-141-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 14:19:01 CEST 2011 on sn-devel-104
* s3: Use tevent_req_ntstatus properly in a few placesVolker Lendecke2011-05-101-58/+29
|
* async_smb.c: convert cli->timeout properlyRusty Russell2011-05-101-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
* gencache: don't use CLEAR_IF_FIRST as fallback.Rusty Russell2011-04-191-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>
* s3: Fix including libsmb/proto.h without prior ads.hVolker Lendecke2011-05-071-0/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 7 11:38:11 CEST 2011 on sn-devel-104
* s3-includes: no need to globally include libads/ads_status.h.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-063-0/+4
| | | | Guenther
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-0635-0/+889
| | | | Guenther
* s3: only include tdb headers where needed.Günther Deschner2011-05-062-0/+2
| | | | Guenther