Age | Commit message (Collapse) | Author | Files | Lines |
|
Luke, can you take special note of the bug fixes to nmbd so you can
propogate them to your new code.
- rewrote the code that used to use fromhost(). We now call
gethostbyaddr() only if necessary and a maximum of once per
connection. Calling gethostbyaddr() causes problems on some systems so
avoiding it if possible is a good thing :-)
- added the "fake oplocks" option. See the docs in smb.conf(5) and
Speed.txt
- fixed a serious bug in nmbd where it would try a DNS lookup on
FIND_SELF queries. This caused a lot of unnecessary (and incorrect)
DNS lookups to happen. FIND_SELF queries should only go to the
internal name tables.
- don't set FIND_SELF for name queries if we are a wins proxy, as we
are supposed to be answering queries for other hosts.
- fixed a bug in nmbd which had "if (search | FIND_LOCAL)" instead of
"if (search & FIND_LOCAL)". Luke, this was in nameservreply.c
- the above 3 bugs together meant that DNS queries were being cached,
but the cache wasn't being used, so every query was going to DNS, no
wonder nmbd has been chewing so much CPU time! Another side effect was
that queries on names in lmhosts weren't being answered for bcast
queries with "wins proxy" set.
- ignore the maxxmit for seconday session setups (see CIFS spec)
- close user opened files in a uLogoffX for user level security (see
CIFS spec)
- added uid into the files struct to support the above change
(This used to be commit ea472b7217b7693627a13a7b1e428a0a6a3d8755)
|
|
(This used to be commit 1303132113b24a3e84dd76efe1c664e0dffe5013)
|
|
- change debug level on clitar stuff
- define MAP_FILE if not defined
- ensure we never set authoritative on queries in nmbd
- fake a positive response to SMBioctl, apparently this is needed for
some WfWg printer drivers
- deny file access for non-fcbopen queries when (access_allowed == AREAD && flags == O_RDWR)
- add sys_waitpid()
(This used to be commit 61e3116e573637d6b5a878eeb8db72831e3c5bd1)
|
|
- added THANKS entry for NEC
(This used to be commit dff891e69d1fd0175f806e00d10ddbcbb9fc7b0b)
|
|
set the mode on all created files. I think this is a better policy.
- change the debug levels on some items
- fix a charset handling bug which affected foreign and extended
charset users
- no longer switch back to the original directory when idle, instead
switch to / as the original directory may not be readable by ordinary
users.
- fix some bugs where the create mode of files was not being
explicitly set (it was relying on the umask and using fopen). Not a
big bug as it only affected obscure commands like the messaging ops.
- got rid of the lock code in the lpq cache as its no longer needed
- rewrote smbrun to be faster and to remove the security hole. We now
don't actually need a external smbrun binary, its all done by smbd.
- add a more explicit warning about uids and gids of -1 or 65535
(This used to be commit 5aa735c940ccdb6acae5f28449d484181c912e49)
|
|
Dan
(This used to be commit 53a4b8769e25c65fa6ab0f532e30630adf6f2056)
|
|
through
- add workarounds to handle the win95 and WinNT bugs in handling
password lengths in sessionsetup
(This used to be commit 671b3a3a770c824ae77fcb83dc551054a880edad)
|
|
The 1.9.16 tree is now back to 1.9.16p2 as far as nmbd is concerned
apart from a small change that fixes the announce type in two places.
(This used to be commit 45e66a69d320024877c8b13f12b21bf895e04410)
|
|
stuff and also fix a pile of nmbd bugs. Unfortunately I found it very
hard to disentangle the new features from the bug fixes so I am
putting in the new code. I hope this is the last big pile of changes
to the 1.9.16 series!
(This used to be commit 20b6203dac4bbb43e4e7bea0b214496d76d679d9)
|
|
(This used to be commit b6c1c60d72e1625ca172b8f8eb07078413611468)
|
|
(This used to be commit 203f49a4e2b868c4afb7dbd96a83598d2f6d480d)
|
|
Dan
(This used to be commit 55d7b0679300ab2f7d4bd27c320de5768eb62758)
|
|
is still getting lots of email. Also updated some of the PROJECTS file. Luke,
you should do a quick paragraph or two there.
(This used to be commit 5a50e3416940d93e3da981ac75c1feed89231847)
|
|
Jeremy (jra@cygnus.com)
(This used to be commit fd428da77059ba722d29a07aec4a9b2aacff33a9)
|
|
(This used to be commit 4a988021a2aceaa5fc0d4e5ba2802392a7141ad8)
|
|
can't test the multi group changes.
I also found that some of lukes changes wiped out some recent bug
fixes. Is your CVS tree ok luke?
(This used to be commit 8b7fe224bce64803d55ae279fa61ef3ebbbb0241)
|
|
(This used to be commit 050f941e21aeb57ab47ac9d29fb4acfceab45087)
|
|
Dan
(This used to be commit e039a506e76eaa9fdc6fb8b4cfd555a3c7f55a83)
|
|
- added multiple workgroup code - samba can register under different
(unique) NetBIOS aliases, one per workgroup it joins.
lkcl
(This used to be commit f24e341e7e4d8726b98d3a0f83b24f61817fe536)
|
|
(This used to be commit 6df471f6636694bcd741b61df8615858c5445f81)
|
|
- fix "connection already connected" bug in open_socket_out()
(This used to be commit fcce452557a6f5cfc46972617ed6932bb7fbeb95)
|
|
(This used to be commit 0e37688745f00787fab0c10e257d0526395456a2)
|
|
(This used to be commit 7e26006cc38594373d6baee41d3e20c30babe9c0)
|
|
makes multiple password servers practical.
(This used to be commit 5c3e8326cc45d3cbd076475e445ce461a2bf7560)
|
|
(This used to be commit ef3f5e57ae5091a66e73cfad2d0da2684cfac3db)
|
|
JHT
(This used to be commit 751596cc21e56db5962a8cac7dfbd8c229cd3d8a)
|
|
JHT
(This used to be commit c73965a1b8558211a58ee36768fca2c3579bed38)
|
|
(This used to be commit 461cbecdc9395bfa7051d7d78734348cc711a6d5)
|
|
(This used to be commit 03aaf9a705d190ac040aca82ffcd37d58b9b5bc3)
|
|
milliseconds instead of 30 seconds as was intended. Thanks to Paul
Nelson for finding this bug.
(This used to be commit 78f62c83be5df6b66aa0b5e83b2d290f97ce53c2)
|
|
(This used to be commit 1c62aa14cc5e43d47c9932d5c965ba834729e2f9)
|
|
(This used to be commit d87fdb3ee95b6640d5deef823f22e8d98350ca33)
|
|
(This used to be commit eece931f6753b1a6506c67657c3c24459c7cab1e)
|
|
(This used to be commit 5a6425c3cb6181c202f4575733db1c642eadb4bc)
|
|
- add the * and __SAMBA__ names to all subnets
- sort the name status reply list and remove duplicate entries.
(This used to be commit 04353a9479c01322e34b2f59330fd74a759f6869)
|
|
anyway :-)
(This used to be commit 07b0cf29d345d2f880a45d8bcbfec8355f1f83ef)
|
|
Just to keep ahead of the pack.
Note: Really only done to differntiate our version ID from
existing SMB Servers.
(This used to be commit 6636c7b5b8e8a4ccf7f39450011ed864049a7cd1)
|
|
(This used to be commit feca8d27ec8c63d7daa8e7e9cf13594c55086e28)
|
|
DFLT_SERVER_TYPE in nameserv.h
- got rid of a lot of spurious domain controller stuff. Samba is not a
domain controller yet, but it can be a domain master. We were claiming
to be a domain controller in some packets which may have caused
problems
- don't do preferred master startups on the WINS pseudo-net
- don't do election requests on the WINS pseudo-net
- fix a nasty bug in become_non_master() which wiped out the bits in
remove_type before using them. The result was that samba didn't like
losing its master status.
- changed the logic in the election packet handling to enable us to
become a non-master whenever we receive a winning election frame, even
if we aren't expecting it
- get another packet from the socket in nmbd when we reject one of our
own packets, this stops us from going into the packet reading code too
often and makes nmbd much snappier
- always remove a name immediately when we try to release it, don't
wait for the lack of response from the network, otherwise we will end
up replying to name that we don't really own. We still send the dereg
packets, we just don't wait for them to time out.
(This used to be commit eb84f2f342375439d94481a0ccf47c9593544e32)
|
|
(This used to be commit 48e623e2ea8101009586f09e8ee56d4529dc477f)
|
|
(This used to be commit 50eb07559f750c458dcdf04a4068cd19c40a757d)
|
|
(This used to be commit ee7d8f7570ab9154b5f7d39dedf47232062c14d7)
|
|
(This used to be commit e1d5205595eec8dcfe2b32e0e31722a902e0ed05)
|
|
(This used to be commit f496a4131ef0e9aacdd675805da93b4eb9542db7)
|
|
using the "server string" option. This replaces the -C option to nmbd
(This used to be commit 9e0fab2ee6c89155e6ba6b2401a25de37cb89333)
|
|
this is why SELF names were getting expired.
(This used to be commit 2d0ec53c508aca53a5049c98339a15dff5b8e239)
|
|
correctly if there were multiple instances of a name. This led to the
infamous "not enough memory" error when browsing (but this isn't the
only cause of that message)
- fix a triple-chaining bug which affected OpenX following a TconX
- fix a serious nmbd bug that meant nmdb would answer packets that it
wasn't supposed to, causing havoc with browse lists.
- never time out SELF packets. This is an interim fix until I find out
why nmbd thought they should be timed out.
(This used to be commit 2960c3908c2c3b01a1f2b77def60350018d298e1)
|
|
(This used to be commit 52af2b38fe91e4a993395bfc20a8ab81e6da04c1)
|
|
(This used to be commit 07be656d3ed46dd4cd9cfaefff90300242984301)
|
|
(This used to be commit 50ed940451e9d009f19e735074f8fcdb503f5c25)
|