summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Convert cli_dfs_get_referral to cli_transVolker Lendecke2010-11-111-31/+30
|
* s3: cli_dfs_check_error does not need to depend on cli->inbufVolker Lendecke2010-11-111-10/+13
|
* s3: Make split_dfs_path return boolVolker Lendecke2010-11-111-11/+27
|
* s3: Remove some dead codeVolker Lendecke2010-11-111-3/+0
|
* s3: Untangle an if-expressionVolker Lendecke2010-11-111-1/+2
|
* Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share ↵Jeremy Allison2010-11-111-5/+2
| | | | | | | | | | | | | | using SMB signing. The underlying problem is that the old code invoked by cli_write() increments cli->mid directly when issuing outstanding writes. This should now be done only in libsmb/clientgen.c to make metze's new signing engine works correctly. Just deleting this code fixes the problem. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Nov 11 02:50:08 UTC 2010 on sn-devel-104
* s3: Remove the use of cli_send_trans from cli_get_fs_full_size_infoVolker Lendecke2010-11-042-49/+35
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 4 22:08:53 UTC 2010 on sn-devel-104
* s3-libsmbclient Don't store 'debug_stderr' on the libsmbclient contextAndrew Bartlett2010-11-022-12/+10
| | | | | | | | Following the review of this patch series by Derrell Lipman, remove the seperate storage of the debug_stderr variable from the libsmbclient SMBC_internal_data context. Andrew Bartlett
* s3-libsmbclient Add comments to describe the behaviour of DEBUG()Andrew Bartlett2010-11-022-5/+15
| | | | | | | | | | | | | This isn't quite what you would expect from this interface, but actually avoids some really nasty situations if you ever have more than one libsmbclient context in a process. In the real world, if you have asked for DEBUG() to stderr in one part of the code, you will want it globally, even in a different thread (which in the past would have rest everything to stdout again, at least while starting up). Andrew Bartlett
* s3-debug Remove last direct assignements to DEBUGLEVELAndrew Bartlett2010-11-021-1/+3
| | | | | | | | All future assignments of the debug level should go via lp_set_cmdline("log level", "x") because this will ensure the value is not overwritten in an smb.conf load. Andrew Bartlett
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-021-3/+2
| | | | | | | | This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
* Fix bug #7700 - Improvement of return code of smbclientJeremy Allison2010-10-292-17/+25
| | | | | | | | | | Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp>. Convert cli_list and associated functions to take calls that return NTSTATUS. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
* Fix for bug 7755 - SMBC_getdents_ctx() ignores struct alignment rulesJeremy Allison2010-10-271-6/+13
| | | | | | | Based on a fix from Sven Neumann <s.neumann@raumfeld.com>. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 27 22:02:11 UTC 2010 on sn-devel-104
* s3: Use cli_setpathinfo in cli_posix_unlink_internalVolker Lendecke2010-10-241-47/+15
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Oct 24 21:28:08 UTC 2010 on sn-devel-104
* s3: Avoid passing down a boolean to cli_posix_unlink_internal_sendVolker Lendecke2010-10-241-5/+7
|
* s3: Use cli_setpathinfo in cli_posix_chown_chmod_internalVolker Lendecke2010-10-241-54/+16
|
* s3: Use cli_setpathinfo in cli_posix_link_internalVolker Lendecke2010-10-241-49/+16
|
* s3: Use tevent_req_simple_recv_ntstatus where appropriateVolker Lendecke2010-10-241-66/+11
|
* s3: Pass down a level instead of a flag to cli_posix_link_internalVolker Lendecke2010-10-241-7/+7
|
* s3: Add async cli_setpathinfoVolker Lendecke2010-10-241-0/+78
|
* s3: Initialize output vars in parse_ea_blobVolker Lendecke2010-10-241-0/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Oct 24 12:22:22 UTC 2010 on sn-devel-104
* s3: Remove unused cli_get_ea_list_fnumVolker Lendecke2010-10-241-62/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Oct 24 10:23:29 UTC 2010 on sn-devel-104
* s3: Replace cli_qfileinfo_test with a call to cli_qfileinfoVolker Lendecke2010-10-241-55/+0
|
* s3: Convert cli_qfileinfo_basic to cli_qfileinfoVolker Lendecke2010-10-243-40/+31
|
* s3: Convert cli_qfilename to cli_qfileinfoVolker Lendecke2010-10-241-35/+13
|
* s3: Add async cli_qfileinfoVolker Lendecke2010-10-241-0/+133
|
* s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke2010-10-243-15/+15
|
* s3:libsmb: add pipe related NT_STATUS_RPC_* codesStefan Metzmacher2010-10-181-0/+6
| | | | metze
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-125-2/+5
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3: Remove talloc_autofree_context() from unexpected.cVolker Lendecke2010-10-031-2/+1
| | | | | Same argument as in 997a64f6fb11e19d78c: If tdb_close() was needed at exit time, we'd have more severe problems by now.
* samba: share select wrappers.Günther Deschner2010-10-011-0/+1
| | | | Guenther
* s3: Remove talloc_autofree_context() from receive_unexpected()Volker Lendecke2010-09-281-2/+2
| | | | This is freed in this routine a few lines down
* Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison2010-09-273-4/+4
| | | | | | | | | | TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt this is still safe to use as if opening an existing tdb the new hash will be ignored - it's only used on creating a new tdb not opening an old one. Jeremy.
* Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.Jeremy Allison2010-09-262-33/+68
| | | | | | | | | | | | | | Found by the CodeNomicon test suites at the SNIA plugfest. http://www.codenomicon.com/ If an invalid NetBIOS session request is received the code in name_len() in libsmb/nmblib.c can hit an assert. Re-write name_len() and name_extract() to use "buf/len" pairs and always limit reads. Jeremy.
* s3: Remove two talloc_autofree_context() callsVolker Lendecke2010-09-261-2/+2
| | | | Both allocated blobs are freed in their routines
* Fix bug 7694 - Crash bug with invalid SPNEGO token.Jeremy Allison2010-09-231-1/+2
| | | | | | | | | | | Found by the CodeNomicon test suites at the SNIA plugfest. http://www.codenomicon.com/ If an invalid SPNEGO packet contains no OIDs we crash in the SMB1/SMB2 server as we indirect the first returned value OIDs[0], which is returned as NULL. Jeremy.
* s3-dcerpc: add spnego server helpersSimo Sorce2010-09-231-4/+75
| | | | | | squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dsgetdcname: always pass in messaging context.Günther Deschner2010-09-231-26/+2
| | | | | | Volker, please check. Guenther
* s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner2010-09-201-3/+4
| | | | Guenther
* s3-build: only include async headers where needed.Günther Deschner2010-09-2011-1/+12
| | | | Guenther
* s3: fix order of arguments in nsec_time_diff callBjörn Jacke2010-09-171-2/+2
|
* Fix array size of a memmber of struct cli_ulogoff_stateSumit Bose2010-09-171-1/+1
| | | | | | | The too small array makes UID-REGRESSION-FIX fail on 32bit architectures. Signed-off-by: Günther Deschner <gd@samba.org>
* s3: use nsec_time_diff instead of TspecDiffBjörn Jacke2010-09-161-2/+2
|
* Fix all sid_parse returns to be checked. Tidy up some checks and errorJeremy Allison2010-09-151-1/+3
| | | | | | messages. Jeremy.
* s3-krb5 Fix Kerberos on FreeBSD with Samba4 DCsAndrew Bartlett2010-09-111-3/+1
| | | | | | | | | | | | | The idea of this patch is: Don't support a mix of different kerberos features. Either we should prepare a GSSAPI (8003) checksum and mark the request as such, or we should use the old behaviour (a normal kerberos checksum of 0 data). Sending the GSSAPI checksum data, but without marking it as GSSAPI broke Samba4, and seems well outside the expected behaviour, even if Windows accepts it. Andrew Bartlett
* s3-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETEDStefan Metzmacher2010-09-101-0/+2
| | | | metze
* s3-dsgetdcname: cleanup receive_getdc_response a little.Günther Deschner2010-09-101-14/+18
| | | | Guenther
* Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder ↵Jeremy Allison2010-09-091-0/+5
| | | | | | <andreas.moroder@gmx.net>". Jeremy.
* s3: Remove a superfluous ;Volker Lendecke2010-09-081-1/+1
|
* s3: Print the IP of the server that stopped respondingVolker Lendecke2010-09-011-1/+5
|