cvs2svn Import User [Wed, 23 Oct 1996 18:44:20 +0000 (18:44 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-1-9-16p8'.
Samba Release Account [Wed, 23 Oct 1996 18:44:19 +0000 (18:44 +0000)]
preparing for release of 1.9.16p8
Samba Release Account [Wed, 23 Oct 1996 18:38:05 +0000 (18:38 +0000)]
wrong answer response resource record type expected, so the response packet
was being abandoned. oops.
lkcl
Samba Release Account [Wed, 23 Oct 1996 18:28:52 +0000 (18:28 +0000)]
code was added to stop samba from replying to queries for its own names (?! :-)
lkcl
Samba Release Account [Fri, 18 Oct 1996 14:50:39 +0000 (14:50 +0000)]
Did some editing, got frustrated, started converting to linuxdoc-sgml
Samba Release Account [Sun, 13 Oct 1996 13:47:02 +0000 (13:47 +0000)]
the response packets are being received (fix to process_nmb() worked)
however dead_netbios_entry() is still thinking that no response has
been received when the response_record times out for the registration
with the WINS server. only print a debug message when no registration
response is _really_ received from the WINS server.
lkcl
Samba Release Account [Fri, 11 Oct 1996 17:56:42 +0000 (17:56 +0000)]
preparing for release of 1.9.16p7
Samba Release Account [Fri, 11 Oct 1996 17:55:16 +0000 (17:55 +0000)]
netbios registration and release response packets were being junked. a
BAD idea.
lkcl
Andrew Tridgell [Fri, 11 Oct 1996 05:49:42 +0000 (05:49 +0000)]
- set default printer driver string to "NULL"
- fixed debug levels for name status parsing
Samba Release Account [Wed, 9 Oct 1996 15:10:16 +0000 (15:10 +0000)]
preparing for release of 1.9.16p6
Andrew Tridgell [Wed, 9 Oct 1996 15:08:29 +0000 (15:08 +0000)]
- correctly handle non-encrypted share mode session-setup. We were
losing the username due to the recent "handle broken password lengths"
patch.
Andrew Tridgell [Wed, 9 Oct 1996 15:06:53 +0000 (15:06 +0000)]
- updated the ENCRYPTION.txt stuff to point to the newer des
libraries.
- updated the MIRRORS list
Samba Release Account [Mon, 7 Oct 1996 15:06:26 +0000 (15:06 +0000)]
preparing for release of 1.9.16p5
Andrew Tridgell [Mon, 7 Oct 1996 15:04:48 +0000 (15:04 +0000)]
- 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
Samba Release Account [Mon, 7 Oct 1996 11:14:29 +0000 (11:14 +0000)]
preparing for release of 1.9.16p4
Andrew Tridgell [Mon, 7 Oct 1996 11:06:34 +0000 (11:06 +0000)]
- 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!)
Andrew Tridgell [Mon, 7 Oct 1996 01:56:21 +0000 (01:56 +0000)]
- 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.
Andrew Tridgell [Mon, 7 Oct 1996 01:53:25 +0000 (01:53 +0000)]
- added an entry to the MIRRORS list
- minor fixes in man page
Samba Release Account [Sat, 5 Oct 1996 14:28:39 +0000 (14:28 +0000)]
preparing for release of 1.9.16p3
Andrew Tridgell [Sat, 5 Oct 1996 14:27:00 +0000 (14:27 +0000)]
add DEBUGLEVEL to replace.c
Andrew Tridgell [Sat, 5 Oct 1996 13:38:29 +0000 (13:38 +0000)]
- use waitpid for ultrix
- don't use wait4
Andrew Tridgell [Sat, 5 Oct 1996 13:13:31 +0000 (13:13 +0000)]
- 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
Andrew Tridgell [Sat, 5 Oct 1996 13:10:13 +0000 (13:10 +0000)]
- added a mirror entry and added a new Support.txt entry
Andrew Tridgell [Sat, 5 Oct 1996 10:41:13 +0000 (10:41 +0000)]
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
Andrew Tridgell [Sat, 5 Oct 1996 10:26:31 +0000 (10:26 +0000)]
- added docs on the new "fake oplocks" option.
Andrew Tridgell [Sat, 5 Oct 1996 02:54:37 +0000 (02:54 +0000)]
- 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()
Andrew Tridgell [Sat, 5 Oct 1996 02:47:05 +0000 (02:47 +0000)]
- added a new support entry
- added THANKS entry for NEC
Andrew Tridgell [Fri, 4 Oct 1996 09:31:07 +0000 (09:31 +0000)]
- 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
Samba Release Account [Thu, 3 Oct 1996 03:40:32 +0000 (03:40 +0000)]
Added a version of tridge's comments on numbering to the faq.
Dan
Andrew Tridgell [Wed, 2 Oct 1996 16:16:16 +0000 (16:16 +0000)]
- 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
Andrew Tridgell [Wed, 2 Oct 1996 15:41:30 +0000 (15:41 +0000)]
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.
Andrew Tridgell [Wed, 2 Oct 1996 14:09:22 +0000 (14:09 +0000)]
- 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!
Andrew Tridgell [Wed, 2 Oct 1996 14:06:17 +0000 (14:06 +0000)]
- accept either NT or lanman passwords in tconX
Samba Release Account [Wed, 2 Oct 1996 04:03:49 +0000 (04:03 +0000)]
Dan
Samba Release Account [Wed, 2 Oct 1996 03:13:16 +0000 (03:13 +0000)]
Tyop.
Dan
Samba Release Account [Wed, 2 Oct 1996 02:57:59 +0000 (02:57 +0000)]
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.
Samba Release Account [Fri, 6 Sep 1996 04:52:57 +0000 (04:52 +0000)]
Updated to add the Windows NT password mechanism explaination.
Jeremy (jra@cygnus.com)
Andrew Tridgell [Sat, 24 Aug 1996 01:46:47 +0000 (01:46 +0000)]
added debug info
Samba Release Account [Sat, 24 Aug 1996 01:41:46 +0000 (01:41 +0000)]
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?
Samba Release Account [Sat, 24 Aug 1996 01:32:51 +0000 (01:32 +0000)]
fixed dircahe bug
Samba Release Account [Fri, 23 Aug 1996 15:20:54 +0000 (15:20 +0000)]
Doc updates
Dan
Samba Release Account [Fri, 23 Aug 1996 10:17:30 +0000 (10:17 +0000)]
- 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
Samba Release Account [Thu, 22 Aug 1996 16:10:42 +0000 (16:10 +0000)]
preparing for release of 1.9.16p1
Andrew Tridgell [Thu, 22 Aug 1996 16:09:27 +0000 (16:09 +0000)]
- fix client for pathworks 4 access
- fix "connection already connected" bug in open_socket_out()
Andrew Tridgell [Thu, 22 Aug 1996 16:08:25 +0000 (16:08 +0000)]
minor doc fix
Samba Release Account [Thu, 22 Aug 1996 06:35:29 +0000 (06:35 +0000)]
preparing for release of 1.9.16
Andrew Tridgell [Thu, 22 Aug 1996 06:32:03 +0000 (06:32 +0000)]
- add timeouts to connect() for password server connections. This
makes multiple password servers practical.
Andrew Tridgell [Thu, 22 Aug 1996 06:30:24 +0000 (06:30 +0000)]
minor fixes to docs
Samba Release Account [Thu, 22 Aug 1996 03:48:01 +0000 (03:48 +0000)]
Updated attribution list.
JHT
Samba Release Account [Thu, 22 Aug 1996 03:45:05 +0000 (03:45 +0000)]
Added descriptions of Windows NT Domain Control.
JHT
Samba Release Account [Thu, 22 Aug 1996 03:42:38 +0000 (03:42 +0000)]
Updated Aquasoft Entry.
Samba Release Account [Wed, 21 Aug 1996 14:16:34 +0000 (14:16 +0000)]
preparing for release of 1.9.16alpha26
Andrew Tridgell [Wed, 21 Aug 1996 14:15:09 +0000 (14:15 +0000)]
- 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.
Andrew Tridgell [Wed, 21 Aug 1996 12:36:31 +0000 (12:36 +0000)]
update the docs ready for a new release
Andrew Tridgell [Wed, 21 Aug 1996 12:36:01 +0000 (12:36 +0000)]
handle sigpipe better for server security
Samba Release Account [Wed, 21 Aug 1996 08:53:53 +0000 (08:53 +0000)]
preparing for release of 1.9.16alpha25
Andrew Tridgell [Wed, 21 Aug 1996 08:33:47 +0000 (08:33 +0000)]
fix compiler warning
Andrew Tridgell [Wed, 21 Aug 1996 08:30:29 +0000 (08:30 +0000)]
- 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.
Andrew Tridgell [Wed, 21 Aug 1996 08:27:58 +0000 (08:27 +0000)]
- remove the date markers from the man pages. I never keep them uptodate
anyway :-)
Samba Release Account [Wed, 21 Aug 1996 08:11:03 +0000 (08:11 +0000)]
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.
Samba Release Account [Wed, 21 Aug 1996 06:10:24 +0000 (06:10 +0000)]
preparing for release of 1.9.16alpha24
Andrew Tridgell [Wed, 21 Aug 1996 06:09:00 +0000 (06:09 +0000)]
- 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.
Andrew Tridgell [Wed, 21 Aug 1996 05:47:56 +0000 (05:47 +0000)]
- new faxing doc from Gerhard Zuber <zuber@berlin.snafu.de
Samba Release Account [Tue, 20 Aug 1996 16:43:59 +0000 (16:43 +0000)]
preparing for release of 1.9.16alpha23
Andrew Tridgell [Tue, 20 Aug 1996 16:43:11 +0000 (16:43 +0000)]
give names more time when refreshing
Samba Release Account [Tue, 20 Aug 1996 16:13:58 +0000 (16:13 +0000)]
preparing for release of 1.9.16alpha22
Andrew Tridgell [Tue, 20 Aug 1996 16:12:54 +0000 (16:12 +0000)]
update "server string" docs
Andrew Tridgell [Tue, 20 Aug 1996 16:09:41 +0000 (16:09 +0000)]
- removed ServerComment and instead set the comment string in nmbd
using the "server string" option. This replaces the -C option to nmbd
Andrew Tridgell [Tue, 20 Aug 1996 15:58:31 +0000 (15:58 +0000)]
- add NMB_REG_REFRESH capability to initiate_netbios_packet(). I think
this is why SELF names were getting expired.
Andrew Tridgell [Tue, 20 Aug 1996 15:45:16 +0000 (15:45 +0000)]
- fix a bug in NetServerEnum where counted and total were not counted
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.
Andrew Tridgell [Tue, 20 Aug 1996 15:40:32 +0000 (15:40 +0000)]
add a bit more about the "trapdoor uid" messsage
Samba Release Account [Mon, 19 Aug 1996 13:56:26 +0000 (13:56 +0000)]
preparing for release of 1.9.16alpha21
Andrew Tridgell [Mon, 19 Aug 1996 13:54:58 +0000 (13:54 +0000)]
fix a bug in the new chaining code
Samba Release Account [Mon, 19 Aug 1996 11:28:02 +0000 (11:28 +0000)]
preparing for release of 1.9.16alpha20
Andrew Tridgell [Mon, 19 Aug 1996 11:17:29 +0000 (11:17 +0000)]
- added "netbios name" option in smb.conf to make controlling the name
that samba uses possible
- added "socket address" option to allow virtual SMB servers (on
systems with IP aliasing line Linux)
- disabled FAST_SHARE_MODES by default in Linux as older Linux boxes
can't do shared writeable mappings. We really need autoconf ...
- added new option types in loadparm so a string type can be specified
ot be uppercase only, this is used for the workgroup and netbios name
options
- auto-create the lock directory if it doesn't exist in shared mem
startup
- get rid of announce_backup()
- change a few comments in nmbd code
- rewrote the chaining code completely. Hopefully it will handle any
depth chains now.
- added LPRng support
Andrew Tridgell [Mon, 19 Aug 1996 10:54:06 +0000 (10:54 +0000)]
a bunch of man page cleanups from a kind contributor
Samba Release Account [Sat, 17 Aug 1996 15:47:49 +0000 (15:47 +0000)]
i wondered why there was a cvs clash on namedbname.c
- redid tridge's fprintf for storing wins.dat, and yet again removed the
unsigned long changing it to a unint32.
lkcl
Samba Release Account [Sat, 17 Aug 1996 15:18:56 +0000 (15:18 +0000)]
preparing for release of 1.9.16alpha19
Samba Release Account [Sat, 17 Aug 1996 15:14:24 +0000 (15:14 +0000)]
- fixed wins.dat reloading (it wasn't happening!)
- made nb_flags an unsigned 16 bit int in nameserv.h
- nmbd was calling add_my_subnets() with an uninitialised parameter group.
removed it.
lkcl
Andrew Tridgell [Sat, 17 Aug 1996 14:27:12 +0000 (14:27 +0000)]
- made FAST_SHARE_MODES standard for Linux
- you can now press enter after a password prompt with "smbclient -L
hostname" and it will use a blank username and password, the same as
if you used -U%
- changed the wins.dat store code to not go via a string variable
(just use fprintf instead)
- removed a "unsigned long" that luke put back in, changing it to
uint32 to keep 64 bit machines happy. Naughtly luke!
- allow guest non-connnected print queue listings so ms client 3 can
work
Andrew Tridgell [Sat, 17 Aug 1996 14:21:56 +0000 (14:21 +0000)]
added a note about the homes share and WinDD
Samba Release Account [Sat, 17 Aug 1996 13:47:52 +0000 (13:47 +0000)]
- removed reference to my_workgroup() accidentally put back in nameserv.c
Samba Release Account [Sat, 17 Aug 1996 13:26:58 +0000 (13:26 +0000)]
- updated load_netbios_names() to cope with new wins.dat format
it doesn't support loading of Internet Group names yet, but then again,
you can't create Internet Group names yet, so it's not a problem!
Samba Release Account [Sat, 17 Aug 1996 13:17:45 +0000 (13:17 +0000)]
- started on support for 'Internet Group names' - type 0x1c NetBIOS names
- 0x1d name query to a WINS server should always return FAIL (see WINS
server help on nt/as)
Samba Release Account [Sat, 17 Aug 1996 13:05:21 +0000 (13:05 +0000)]
changed the text a bit in Support.txt so that its clear that these
people expect payment for their help.
Apparently users were ringing some of them and assuming they would get
free phone support. Thats not what this list is for :-)
Andrew
Andrew Tridgell [Sat, 17 Aug 1996 11:37:44 +0000 (11:37 +0000)]
- added support for Amiga-unix (based on BSD I think)
- changed the order of PROGS and SPROGS in Makefile (SPROGS first)
- another 64 bit cleanup (for INADDR_NONE)
- added paranoia code in DirCacheAdd() to detect looping
- fixed important DirCache flush bug
- rewrote the NetServerEnum code after I found it could return servers
from multiple workgroups at once, and this could cause browsing
havoc. Now a null workgroup query is equivalent to a query for the
servers primary workgroup
- got rid of my_workgroup()
- got rid of "workgroup = *" comment in Makefile. We no longer support
a workgroup of *, users must set the workgroup explicitly
- the wins.dat file was being stored in a different format to what it
was being loaded in - this could cause havoc. fixed.
- uppercase our netbios name and the workgroup name at startup
- if accept fails in main loop when running as a daemon then continue,
don't just exit!
- don't use ./ on smbclient in smbtar
- better code to detect if a process exists
Samba Release Account [Fri, 16 Aug 1996 13:15:55 +0000 (13:15 +0000)]
preparing for release of 1.9.16alpha18
Andrew Tridgell [Fri, 16 Aug 1996 13:09:59 +0000 (13:09 +0000)]
fixed installscripts.sh so it no longer creates ] and [ directories
every time its run!
Andrew Tridgell [Fri, 16 Aug 1996 13:03:26 +0000 (13:03 +0000)]
- added the "remote announce" option
- made the lp_string() code able to handle any length string
- got rid of the obsolete lmhosts code, instead users should use
"interfaces" and "remote announce". lmhosts now is just used as a IP
to netbios name map
- cleanup the inet_address() code
Andrew Tridgell [Fri, 16 Aug 1996 12:52:28 +0000 (12:52 +0000)]
documented the new syntax of lmhosts
Andrew Tridgell [Fri, 16 Aug 1996 12:49:33 +0000 (12:49 +0000)]
- document the "remote announce" option
- cleanup nmbd.8 quite a bit
Andrew Tridgell [Fri, 16 Aug 1996 07:39:46 +0000 (07:39 +0000)]
added support for the Bull Operating System (BOS)
Andrew Tridgell [Fri, 16 Aug 1996 07:38:47 +0000 (07:38 +0000)]
SVR4 startup scripts from Timo Knuutila (knuutila@cs.utu.fi)
Andrew Tridgell [Fri, 16 Aug 1996 07:37:54 +0000 (07:37 +0000)]
added Printing.txt and Tracing.txt
Samba Release Account [Fri, 16 Aug 1996 04:47:56 +0000 (04:47 +0000)]
JHT ==> Added a GOTCHAS.txt file 16/8/96
Re: RedHat Rembrandt Beta 2 Installation Hint.
Andrew Tridgell [Thu, 15 Aug 1996 15:12:16 +0000 (15:12 +0000)]
change email address
Andrew Tridgell [Thu, 15 Aug 1996 15:11:34 +0000 (15:11 +0000)]
- added FAST_SHARE_MODES code
- added some named pipe code from Jim
Andrew Tridgell [Thu, 15 Aug 1996 15:09:39 +0000 (15:09 +0000)]
added notes on the new FAST_SHARE_MODES code
Andrew Tridgell [Wed, 14 Aug 1996 15:02:28 +0000 (15:02 +0000)]
changed "unsigned long" to "uint32" in several places (for IP
addresses) to keep 64 bit machines happy.
Andrew Tridgell [Wed, 14 Aug 1996 15:01:09 +0000 (15:01 +0000)]
fixed an obvious bug that meant that DosPrintQEnum could never
work. Now we'll see if it works after this fix ...