1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/libsmb
Jeremy Allison 52f2520648 Fix the unexpected.tdb database problem. Change nmbd to store the
transaction id of packets it was requested to send via a client, and
only store replies that match these ids. On the client side change
clients to always attempt to ask nmbd first for name_query and
node_status calls, and then fall back to doing socket calls if
we can't talk to nmbd (either nmbd is not running, or we're not
root and cannot open the messaging tdb's). Fix readers of unexpected.tdb
to delete packets they've successfully read.

This should fix a long standing problem of unexpected.tdb
growing out of control in noisy NetBIOS envioronments with
lots of bradcasts, yet still allow unprivileged client apps
to work mostly as well as they already did (nmblookup for
example) in an environment when nmbd isn't running.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sun Nov 14 05:22:45 UTC 2010 on sn-devel-104
2010-11-14 05:22:45 +00:00
..
async_smb.c s3-build: only include async headers where needed. 2010-09-20 13:54:42 -07:00
cliconnect.c Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request. 2010-09-26 03:01:03 -07:00
clidfs.c s3: Convert cli_dfs_get_referral to cli_trans 2010-11-11 16:16:24 +00:00
clidgram.c Fix the unexpected.tdb database problem. Change nmbd to store the 2010-11-14 05:22:45 +00:00
clidgram.h Fix the unexpected.tdb database problem. Change nmbd to store the 2010-11-14 05:22:45 +00:00
clientgen.c s3-build: only include async headers where needed. 2010-09-20 13:54:42 -07:00
clierror.c
clifile.c s3: Well... Fix a stupid error 2010-11-11 18:54:00 +00:00
clifsinfo.c s3: Remove the use of cli_send_trans from cli_get_fs_full_size_info 2010-11-04 22:08:52 +00:00
clikrb5.c s3: Remove two talloc_autofree_context() calls 2010-09-26 03:29:28 +02:00
clilist.c Fix bug #7700 - Improvement of return code of smbclient 2010-10-29 19:40:16 +00:00
climessage.c s3-build: only include async headers where needed. 2010-09-20 13:54:42 -07:00
clioplock.c s3-build: only include async headers where needed. 2010-09-20 13:54:42 -07:00
cliprint.c
cliquota.c libcli/security Provide a common, top level libcli/security/security.h 2010-10-12 05:54:10 +00:00
clirap2.c
clirap.c s3: Replace cli_qfileinfo_test with a call to cli_qfileinfo 2010-10-24 11:39:30 +02:00
clireadwrite.c Fix bug #7791 - gvfsd-smb (Gnome vfs) fails to copy files from a SMB share using SMB signing. 2010-11-11 02:50:08 +00:00
clisecdesc.c
clisigning.c s3-build: only include smb_signing.h where needed. 2010-08-18 09:20:13 +02:00
clispnego.c s3-dcerpc: add spnego server helpers 2010-09-23 10:54:23 -07:00
clistr.c
clitrans.c s3-build: only include async headers where needed. 2010-09-20 13:54:42 -07:00
conncache.c s3: Remove a superfluous ; 2010-09-08 02:05:14 +02:00
dsgetdcname.c Fix the unexpected.tdb database problem. Change nmbd to store the 2010-11-14 05:22:45 +00:00
errormap.c s3-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETED 2010-09-10 17:21:32 +02:00
libsmb_cache.c
libsmb_compat.c
libsmb_context.c s3-libsmbclient Don't store 'debug_stderr' on the libsmbclient context 2010-11-02 04:36:05 +00:00
libsmb_dir.c Fix bug #7700 - Improvement of return code of smbclient 2010-10-29 19:40:16 +00:00
libsmb_file.c s3: Convert cli_qfileinfo_basic to cli_qfileinfo 2010-10-24 11:39:30 +02:00
libsmb_misc.c
libsmb_path.c
libsmb_printjob.c
libsmb_server.c libcli/security Provide a common, top level libcli/security/security.h 2010-10-12 05:54:10 +00:00
libsmb_setget.c s3-libsmbclient Don't store 'debug_stderr' on the libsmbclient context 2010-11-02 04:36:05 +00:00
libsmb_stat.c s3: Remove the use of cli_send_trans from cli_get_fs_full_size_info 2010-11-04 22:08:52 +00:00
libsmb_thread_impl.c
libsmb_thread_posix.c
libsmb_xattr.c libcli/security Provide a common, top level libcli/security/security.h 2010-10-12 05:54:10 +00:00
namecache.c
namequery_dc.c s3-libsmb: include nbt.h in namequery_dc code. 2010-08-06 15:43:37 +02:00
namequery.c Fix the unexpected.tdb database problem. Change nmbd to store the 2010-11-14 05:22:45 +00:00
nmblib.c samba: share select wrappers. 2010-10-01 22:30:22 +02:00
nterr.c s3:libsmb: add pipe related NT_STATUS_RPC_* codes 2010-10-18 14:50:21 +02:00
ntlmssp_wrap.c
ntlmssp.c s3: Fix an uninitialized variable 2010-08-14 10:08:45 +02:00
passchange.c
samlogon_cache.c libcli/security Provide a common, top level libcli/security/security.h 2010-10-12 05:54:10 +00:00
smb_seal.c
smb_share_modes.c Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on all 2010-09-27 17:18:54 -07:00
smb_signing.c s3-build: only include smb_signing.h where needed. 2010-08-18 09:20:13 +02:00
smberr.c
trustdom_cache.c libcli/security Provide a common, top level libcli/security/security.h 2010-10-12 05:54:10 +00:00
trusts_util.c
unexpected.c Fix the unexpected.tdb database problem. Change nmbd to store the 2010-11-14 05:22:45 +00:00