1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

5741 Commits

Author SHA1 Message Date
Andrew Tridgell
ec85f2e53d - revert to old idle dir code (marty pointed out a problem with the
new code)

- handle server level security in the new "detect NT password length
stuffups" code
(This used to be commit 7c135d499409d4ddedb978f681559dae90ac4288)
1996-10-07 15:04:48 +00:00
Samba Release Account
426d930adb preparing for release of 1.9.16p4
(This used to be commit 13c3a05093ab49908f8357017051d680dbc633eb)
1996-10-07 11:14:29 +00:00
Andrew Tridgell
dfa2b456c7 - continue when failing to load config file in nmblookup and smbclient
- fix important bug in nmbd where it set the return code for a
negative name response to 0 (which means success!)
(This used to be commit bfa816cc8f30d9a629b4fe9f71bf0707aa6c4502)
1996-10-07 11:06:34 +00:00
Andrew Tridgell
8781e4d787 - changed the default nmbd loop timout to 10 seconds (2 seconds was much
too short)

- got rid of many unnecessary calls to time(NULL) in nmbd. They were
causing it to chew too much CPU time when idle. Now we pass a time
value in from the top level.
(This used to be commit 3cd7303dbc2118db7084a6d8872403d825c52323)
1996-10-07 01:56:21 +00:00
Andrew Tridgell
21cdd72c33 - added an entry to the MIRRORS list
- minor fixes in man page
(This used to be commit 733c7186576c752edb07e9768f7902edc1cc5a42)
1996-10-07 01:53:25 +00:00
Samba Release Account
799172e830 preparing for release of 1.9.16p3
(This used to be commit 47212791c2e71ddd57018a4bc01c2c8931d32cd8)
1996-10-05 14:28:39 +00:00
Andrew Tridgell
e8b17deb5a add DEBUGLEVEL to replace.c
(This used to be commit b215a902062e82d0e05f48c3a7246514143af94d)
1996-10-05 14:27:00 +00:00
Andrew Tridgell
f6c9fed7ac - use waitpid for ultrix
- don't use wait4
(This used to be commit 2aa612d676e634a892fdc50349f5b72732f0e91f)
1996-10-05 13:38:29 +00:00
Andrew Tridgell
f3c79936d7 - replace the base36 function with one that works on more systems
(compiler bugs were the problem)

- minor password cleanups (catch WfWG bug where it sets the password
to a space instead of a NULL)

- fix printing problem for kanji users

- minor cleanups
(This used to be commit 92566ecc315c29da6e9aaa67ddae33e64f5bcc67)
1996-10-05 13:13:31 +00:00
Andrew Tridgell
f615329360 - added a mirror entry and added a new Support.txt entry
(This used to be commit 975ddfd3099b9625d674ee862d4174d03ba7386e)
1996-10-05 13:10:13 +00:00
Andrew Tridgell
e5893bdfbe I have fixed quite a few important bugs in this commit.
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)
1996-10-05 10:41:13 +00:00
Andrew Tridgell
c33d98d573 - added docs on the new "fake oplocks" option.
(This used to be commit 1303132113b24a3e84dd76efe1c664e0dffe5013)
1996-10-05 10:26:31 +00:00
Andrew Tridgell
38087ccb40 - use workgroup from smb.conf in smbclient
- 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)
1996-10-05 02:54:37 +00:00
Andrew Tridgell
32e9d441af - added a new support entry
- added THANKS entry for NEC
(This used to be commit dff891e69d1fd0175f806e00d10ddbcbb9fc7b0b)
1996-10-05 02:47:05 +00:00
Andrew Tridgell
e23f2b9cef - changed the umask handling. We now set the umask to 0 and explicitly
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)
1996-10-04 09:31:07 +00:00
Samba Release Account
f60dec78f9 Added a version of tridge's comments on numbering to the faq.
Dan
(This used to be commit 53a4b8769e25c65fa6ab0f532e30630adf6f2056)
1996-10-03 03:40:32 +00:00
Andrew Tridgell
986edc0146 - fix the EALREADY bug so connections to slow hosts with smbclient get
through

- add workarounds to handle the win95 and WinNT bugs in handling
password lengths in sessionsetup
(This used to be commit 671b3a3a770c824ae77fcb83dc551054a880edad)
1996-10-02 16:16:16 +00:00
Andrew Tridgell
afd08462ad backout all the changes to nmbd.
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)
1996-10-02 15:41:30 +00:00
Andrew Tridgell
5a2f52b79e - a huge pile of changes from Luke which implement the browse.conf
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)
1996-10-02 14:09:22 +00:00
Andrew Tridgell
11d9539d75 - accept either NT or lanman passwords in tconX
(This used to be commit b6c1c60d72e1625ca172b8f8eb07078413611468)
1996-10-02 14:06:17 +00:00
Samba Release Account
70c07c22b4 Dan
(This used to be commit 203f49a4e2b868c4afb7dbd96a83598d2f6d480d)
1996-10-02 04:03:49 +00:00
Samba Release Account
0a9cb73466 Tyop.
Dan
(This used to be commit 55d7b0679300ab2f7d4bd27c320de5768eb62758)
1996-10-02 03:13:16 +00:00
Samba Release Account
a787988e48 Edited doc directory to remove anything that pointed to Karl Auer, since he
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)
1996-10-02 02:57:59 +00:00
Samba Release Account
83cc885479 Updated to add the Windows NT password mechanism explaination.
Jeremy (jra@cygnus.com)
(This used to be commit fd428da77059ba722d29a07aec4a9b2aacff33a9)
1996-09-06 04:52:57 +00:00
Andrew Tridgell
908771bb0f added debug info
(This used to be commit 4a988021a2aceaa5fc0d4e5ba2802392a7141ad8)
1996-08-24 01:46:47 +00:00
Samba Release Account
9ad5a3fe36 removed all of lukes recent changes. I need to do a p2 release but
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)
1996-08-24 01:41:46 +00:00
Samba Release Account
8c41ad5614 fixed dircahe bug
(This used to be commit 050f941e21aeb57ab47ac9d29fb4acfceab45087)
1996-08-24 01:32:51 +00:00
Samba Release Account
1c1d83dde7 Doc updates
Dan
(This used to be commit e039a506e76eaa9fdc6fb8b4cfd555a3c7f55a83)
1996-08-23 15:20:54 +00:00
Samba Release Account
5945be9718 - fixed bugs in nmb response packet checking.
- added multiple workgroup code - samba can register under different
  (unique) NetBIOS aliases, one per workgroup it joins.

lkcl
(This used to be commit f24e341e7e4d8726b98d3a0f83b24f61817fe536)
1996-08-23 10:17:30 +00:00
Samba Release Account
ea1a09af13 preparing for release of 1.9.16p1
(This used to be commit 6df471f6636694bcd741b61df8615858c5445f81)
1996-08-22 16:10:42 +00:00
Andrew Tridgell
69a458ba2c - fix client for pathworks 4 access
- fix "connection already connected" bug in open_socket_out()
(This used to be commit fcce452557a6f5cfc46972617ed6932bb7fbeb95)
1996-08-22 16:09:27 +00:00
Andrew Tridgell
86c72d5e88 minor doc fix
(This used to be commit 0e37688745f00787fab0c10e257d0526395456a2)
1996-08-22 16:08:25 +00:00
Samba Release Account
135d4f5739 preparing for release of 1.9.16
(This used to be commit 7e26006cc38594373d6baee41d3e20c30babe9c0)
1996-08-22 06:35:29 +00:00
Andrew Tridgell
9155889092 - add timeouts to connect() for password server connections. This
makes multiple password servers practical.
(This used to be commit 5c3e8326cc45d3cbd076475e445ce461a2bf7560)
1996-08-22 06:32:03 +00:00
Andrew Tridgell
cebbbffcae minor fixes to docs
(This used to be commit ef3f5e57ae5091a66e73cfad2d0da2684cfac3db)
1996-08-22 06:30:24 +00:00
Samba Release Account
59a43c49ff Updated attribution list.
JHT
(This used to be commit 751596cc21e56db5962a8cac7dfbd8c229cd3d8a)
1996-08-22 03:48:01 +00:00
Samba Release Account
a9d440b41a Added descriptions of Windows NT Domain Control.
JHT
(This used to be commit c73965a1b8558211a58ee36768fca2c3579bed38)
1996-08-22 03:45:05 +00:00
Samba Release Account
b189955d08 Updated Aquasoft Entry.
(This used to be commit 461cbecdc9395bfa7051d7d78734348cc711a6d5)
1996-08-22 03:42:38 +00:00
Samba Release Account
27b2510f15 preparing for release of 1.9.16alpha26
(This used to be commit 03aaf9a705d190ac040aca82ffcd37d58b9b5bc3)
1996-08-21 14:16:34 +00:00
Andrew Tridgell
3d088fd65e - fix a bug handling readraw packets that caused the timeout to be 30
milliseconds instead of 30 seconds as was intended. Thanks to Paul
Nelson for finding this bug.
(This used to be commit 78f62c83be5df6b66aa0b5e83b2d290f97ce53c2)
1996-08-21 14:15:09 +00:00
Andrew Tridgell
5d39d23f04 update the docs ready for a new release
(This used to be commit 1c62aa14cc5e43d47c9932d5c965ba834729e2f9)
1996-08-21 12:36:31 +00:00
Andrew Tridgell
a782ffb5ed handle sigpipe better for server security
(This used to be commit d87fdb3ee95b6640d5deef823f22e8d98350ca33)
1996-08-21 12:36:01 +00:00
Samba Release Account
4e67124eaa preparing for release of 1.9.16alpha25
(This used to be commit eece931f6753b1a6506c67657c3c24459c7cab1e)
1996-08-21 08:53:53 +00:00
Andrew Tridgell
66a13075a4 fix compiler warning
(This used to be commit 5a6425c3cb6181c202f4575733db1c642eadb4bc)
1996-08-21 08:33:47 +00:00
Andrew Tridgell
044b403a9a - bit a bit manipulation bug in find_name_search()
- add the * and __SAMBA__ names to all subnets

- sort the name status reply list and remove duplicate entries.
(This used to be commit 04353a9479c01322e34b2f59330fd74a759f6869)
1996-08-21 08:30:29 +00:00
Andrew Tridgell
ac1f8b11dc - remove the date markers from the man pages. I never keep them uptodate
anyway :-)
(This used to be commit 07b0cf29d345d2f880a45d8bcbfec8355f1f83ef)
1996-08-21 08:27:58 +00:00
Samba Release Account
da0761ac0d JHT ==> Upgraded Samba to Windows NT Server version 4.1
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)
1996-08-21 08:11:03 +00:00
Samba Release Account
dd7aec877a preparing for release of 1.9.16alpha24
(This used to be commit feca8d27ec8c63d7daa8e7e9cf13594c55086e28)
1996-08-21 06:10:24 +00:00
Andrew Tridgell
b5a64bb740 - new handling of ST_TYPE bits, they are now consolidated much more in
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)
1996-08-21 06:09:00 +00:00
Andrew Tridgell
a2fa290188 - new faxing doc from Gerhard Zuber <zuber@berlin.snafu.de
(This used to be commit 48e623e2ea8101009586f09e8ee56d4529dc477f)
1996-08-21 05:47:56 +00:00