1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/nmbd
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
..
asyncdns.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_become_dmb.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_become_lmb.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_browserdb.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_browsesync.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_elections.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_incomingdgrams.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_incomingrequests.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_lmhosts.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_logonnames.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_mynames.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_namelistdb.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_namequery.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_nameregister.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_namerelease.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_nodestatus.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_packets.c Fix the unexpected.tdb database problem. Change nmbd to store the 2010-11-14 05:22:45 +00:00
nmbd_processlogon.c libcli/security Provide a common, top level libcli/security/security.h 2010-10-12 05:54:10 +00:00
nmbd_proto.h s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_responserecordsdb.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_sendannounce.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_serverlistdb.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_subnetdb.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_synclists.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_winsproxy.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd_winsserver.c Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on all 2010-09-27 17:18:54 -07:00
nmbd_workgroupdb.c s3-nmbd: move nmbd proto out of main proto.h 2010-08-26 00:20:28 +02:00
nmbd.c Fix the unexpected.tdb database problem. Change nmbd to store the 2010-11-14 05:22:45 +00:00
nmbd.h s3-nmbd: move SYNC_DNS to nmbd.h 2010-09-20 14:10:34 -07:00