samba.git
27 years agopreparing for release of 1.9.16alpha22
Samba Release Account [Tue, 20 Aug 1996 16:13:58 +0000 (16:13 +0000)]
preparing for release of 1.9.16alpha22
(This used to be commit e1d5205595eec8dcfe2b32e0e31722a902e0ed05)

27 years agoupdate "server string" docs
Andrew Tridgell [Tue, 20 Aug 1996 16:12:54 +0000 (16:12 +0000)]
update "server string" docs
(This used to be commit f496a4131ef0e9aacdd675805da93b4eb9542db7)

27 years ago- removed ServerComment and instead set the comment string in nmbd
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
(This used to be commit 9e0fab2ee6c89155e6ba6b2401a25de37cb89333)

27 years ago- add NMB_REG_REFRESH capability to initiate_netbios_packet(). I think
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.
(This used to be commit 2d0ec53c508aca53a5049c98339a15dff5b8e239)

27 years ago- fix a bug in NetServerEnum where counted and total were not counted
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.
(This used to be commit 2960c3908c2c3b01a1f2b77def60350018d298e1)

27 years agoadd a bit more about the "trapdoor uid" messsage
Andrew Tridgell [Tue, 20 Aug 1996 15:40:32 +0000 (15:40 +0000)]
add a bit more about the "trapdoor uid" messsage
(This used to be commit 52af2b38fe91e4a993395bfc20a8ab81e6da04c1)

27 years agopreparing for release of 1.9.16alpha21
Samba Release Account [Mon, 19 Aug 1996 13:56:26 +0000 (13:56 +0000)]
preparing for release of 1.9.16alpha21
(This used to be commit 07be656d3ed46dd4cd9cfaefff90300242984301)

27 years agofix a bug in the new chaining code
Andrew Tridgell [Mon, 19 Aug 1996 13:54:58 +0000 (13:54 +0000)]
fix a bug in the new chaining code
(This used to be commit 50ed940451e9d009f19e735074f8fcdb503f5c25)

27 years agopreparing for release of 1.9.16alpha20
Samba Release Account [Mon, 19 Aug 1996 11:28:02 +0000 (11:28 +0000)]
preparing for release of 1.9.16alpha20
(This used to be commit ced17fd3cbea7c6490f0e7b0949cb60acc644ef8)

27 years ago- added "netbios name" option in smb.conf to make controlling the name
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
(This used to be commit e9eac6cd49c352349580ddb13d720cb201aecc48)

27 years agoa bunch of man page cleanups from a kind contributor
Andrew Tridgell [Mon, 19 Aug 1996 10:54:06 +0000 (10:54 +0000)]
a bunch of man page cleanups from a kind contributor
(This used to be commit 6d82a8751221539ab7f56dd6dae862d985a6e0ed)

27 years agoi wondered why there was a cvs clash on namedbname.c
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
(This used to be commit bb57170695a3582c3a1c5a89044a67ac79134d14)

27 years agopreparing for release of 1.9.16alpha19
Samba Release Account [Sat, 17 Aug 1996 15:18:56 +0000 (15:18 +0000)]
preparing for release of 1.9.16alpha19
(This used to be commit 6e87add16f116e55880657c7723442ece35f79da)

27 years ago- fixed wins.dat reloading (it wasn't happening!)
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
(This used to be commit 3d55e541569e7ab887bddc284bddcafdf86c4d22)

27 years ago- made FAST_SHARE_MODES standard for Linux
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
(This used to be commit 917160dee69bbc198985b6f3232ca2dcda809d8a)

27 years agoadded a note about the homes share and WinDD
Andrew Tridgell [Sat, 17 Aug 1996 14:21:56 +0000 (14:21 +0000)]
added a note about the homes share and WinDD
(This used to be commit 0490dedfd8865a39733ad6886b76d5f7768df575)

27 years ago- removed reference to my_workgroup() accidentally put back in nameserv.c
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
(This used to be commit 8401ec875b5b13c3473921d103037f3294fc917d)

27 years ago- updated load_netbios_names() to cope with new wins.dat format
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!
(This used to be commit 960aad39ac7b9d8c9820fbf7c4cb640ba96a29d6)

27 years ago- started on support for 'Internet Group names' - type 0x1c NetBIOS names
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)
(This used to be commit a7330127a261f814c56e860b6de658dbef24c33f)

27 years agochanged the text a bit in Support.txt so that its clear that these
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
(This used to be commit add8bdce8c5622b5892c474d56e7f13b28f94e93)

27 years ago- added support for Amiga-unix (based on BSD I think)
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
(This used to be commit ec3d53963064b50ff33e8eff47812aac82f164ba)

27 years agopreparing for release of 1.9.16alpha18
Samba Release Account [Fri, 16 Aug 1996 13:15:55 +0000 (13:15 +0000)]
preparing for release of 1.9.16alpha18
(This used to be commit 15c1c848506cdb9e8d19ee9f7c250b90b60b76da)

27 years agofixed installscripts.sh so it no longer creates ] and [ directories
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!
(This used to be commit f84199aad60c10a24f66a1270a6f7157600d0fca)

27 years ago- added the "remote announce" option
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
(This used to be commit be2b67940302b2e63890cb865fe3948c2206ea91)

27 years agodocumented the new syntax of lmhosts
Andrew Tridgell [Fri, 16 Aug 1996 12:52:28 +0000 (12:52 +0000)]
documented the new syntax of lmhosts
(This used to be commit b2ca1f0c6148bf5a95bef0e71f32df0de3d6fbc2)

27 years ago- document the "remote announce" option
Andrew Tridgell [Fri, 16 Aug 1996 12:49:33 +0000 (12:49 +0000)]
- document the "remote announce" option
- cleanup nmbd.8 quite a bit
(This used to be commit 525235135bdd6461b50ac2723f95f5a38686ecc2)

27 years agoadded support for the Bull Operating System (BOS)
Andrew Tridgell [Fri, 16 Aug 1996 07:39:46 +0000 (07:39 +0000)]
added support for the Bull Operating System (BOS)
(This used to be commit 46277e64a1bcfeff3715ebca3657ef4103ac4664)

27 years agoSVR4 startup scripts from Timo Knuutila (knuutila@cs.utu.fi)
Andrew Tridgell [Fri, 16 Aug 1996 07:38:47 +0000 (07:38 +0000)]
SVR4 startup scripts from Timo Knuutila (knuutila@cs.utu.fi)
(This used to be commit 57417cdaba60d718d5d57d5abe00bbe445769cad)

27 years agoadded Printing.txt and Tracing.txt
Andrew Tridgell [Fri, 16 Aug 1996 07:37:54 +0000 (07:37 +0000)]
added Printing.txt and Tracing.txt
(This used to be commit 7b925230fc39e3286470e40f5467cbb524f335c3)

27 years agoJHT ==> Added a GOTCHAS.txt file 16/8/96
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.
(This used to be commit 138410633ba7642e7376a5e447a42fe324edaf09)

27 years agochange email address
Andrew Tridgell [Thu, 15 Aug 1996 15:12:16 +0000 (15:12 +0000)]
change email address
(This used to be commit 28d797ac7dcbdabd382a5455fa1321831098df8c)

27 years ago- added FAST_SHARE_MODES code
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
(This used to be commit c94866e9e44ea1eb72da06bc65ef1c032ae8e0c9)

27 years agoadded notes on the new FAST_SHARE_MODES code
Andrew Tridgell [Thu, 15 Aug 1996 15:09:39 +0000 (15:09 +0000)]
added notes on the new FAST_SHARE_MODES code
(This used to be commit e37a624cf93885a5b0e77d5ab41d4a5a0bffe668)

27 years agochanged "unsigned long" to "uint32" in several places (for IP
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.
(This used to be commit b4aaec504ae66dc6a0f05d12529100cb62d47afd)

27 years agofixed an obvious bug that meant that DosPrintQEnum could never
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 ...
(This used to be commit 9735d7e8e2978ce17a001d7d5766faf382ff5788)

27 years agodisabled SETFS (which was only enabled for Linux) until we resolve a
Andrew Tridgell [Wed, 14 Aug 1996 15:00:00 +0000 (15:00 +0000)]
disabled SETFS (which was only enabled for Linux) until we resolve a
couple of bug reports that may be caused by it.

Andrew
(This used to be commit 424814bed710a96d87786763b851a11ea1103026)

27 years agopreparing for release of 1.9.16alpha17
Samba Release Account [Tue, 13 Aug 1996 12:36:58 +0000 (12:36 +0000)]
preparing for release of 1.9.16alpha17
(This used to be commit 16f10b333da0956cc501f77777957753d7e156b2)

27 years agominor cleanups
Andrew Tridgell [Tue, 13 Aug 1996 12:35:28 +0000 (12:35 +0000)]
minor cleanups
(This used to be commit f1dc2b93179ace36407bbb25c2c34c78087714bd)

27 years agoadded the validchars package written by tino@augsburg.net. This
Andrew Tridgell [Tue, 13 Aug 1996 12:34:10 +0000 (12:34 +0000)]
added the validchars package written by tino@augsburg.net. This
package automates the building of a "valid chars =" line for any
client DOS based client. This makes setting things up right for
european languages much easier.
(This used to be commit d0ce245acca9ae5797ef9f5c770d1fcd2d7b3373)

27 years agodoc updates
Andrew Tridgell [Tue, 13 Aug 1996 12:32:22 +0000 (12:32 +0000)]
doc updates
(This used to be commit 94aa86a1e9aa5f6d6485884270ce62fc007cb812)

27 years ago- add the 0x1c name for all interfaces if we are a logon server
Andrew Tridgell [Tue, 13 Aug 1996 11:13:11 +0000 (11:13 +0000)]
- add the 0x1c name for all interfaces if we are a logon server
(This used to be commit c66ad071b7ff2dcdd7734b72670d181bb3ac6de7)

27 years agodon't allow newlines in printer status messages
Andrew Tridgell [Tue, 13 Aug 1996 09:00:11 +0000 (09:00 +0000)]
don't allow newlines in printer status messages
(This used to be commit d84f5402fded4ffb9c2735fecaa47ec3d2c636c0)

27 years ago- sequent-ptx support from bressler@iftccu.ca.boeing.com (Rick
Andrew Tridgell [Tue, 13 Aug 1996 08:57:55 +0000 (08:57 +0000)]
- sequent-ptx support from bressler@iftccu.ca.boeing.com (Rick
Bressler)
- machten support from Trevor Strohman (trev@figment.tenon.com)

- added qinfo command to client as part of drag-and-drop printer
support for win95 from David Chappell <chappell@mouse.cc.trincoll.edu>
He also added the "printer driver" option

- use sigblock() on more systems and use sigsetmask(0) instead of
sigunblock() as its more portable. This beats a problem with zombies
on heavilily loaded systems.

- added internals.doc written by David Chappell into the source tree

- get rid of PRINT_COMMAND options from local.h as they are no longer
relevent

- new kanji code from Fujita

- don't set the recursion_available flag on queries in nmbd

- fix a potential bug with pointer subtraction in printing.c

- got rid of error_count code as the real fix (the EOF problem) is now
in
(This used to be commit aa6f8b04d125b5bc00f267abf72b800228aabf7d)

27 years ago- added docs on new "printer driver" option
Andrew Tridgell [Tue, 13 Aug 1996 08:41:59 +0000 (08:41 +0000)]
- added docs on new "printer driver" option

- cleaned up a couple of minor things
(This used to be commit fe0f5d44e20599679d392eeda34a58769378fbbf)

27 years agonew docs for japanses extensions from Fujita
Andrew Tridgell [Tue, 13 Aug 1996 08:40:24 +0000 (08:40 +0000)]
new docs for japanses extensions from Fujita
(This used to be commit f8740429a5d524e672318cf23c18c0dfc0388d4f)

27 years agominor fix to write_data() for EOF handling
Andrew Tridgell [Mon, 12 Aug 1996 12:15:03 +0000 (12:15 +0000)]
minor fix to write_data() for EOF handling
(This used to be commit 3a7c2d9dfaf01e616adbc896dfc853a45c824170)

27 years agoapplying login updates from jim@oxfordcc.co.uk, sent in by
Samba Release Account [Fri, 9 Aug 1996 18:05:34 +0000 (18:05 +0000)]
applying login updates from jim@oxfordcc.co.uk, sent in by
lewis2@server.uwindsor.ca. rest of this patch to follow.

bug in interface.c - uninitialised pointer.
nmbd has 0x20 as well as 0x0 NetBIOS name when lmhosts entry is added.

lkcl
(This used to be commit 2b9475cc5fda4b272f19c4f168d3f00363c8042b)

27 years agopreparing for release of 1.9.16alpha16
Samba Release Account [Tue, 6 Aug 1996 09:52:41 +0000 (09:52 +0000)]
preparing for release of 1.9.16alpha16
(This used to be commit 6567bac5d13f32729fe51eba1e904268c6ee00be)

27 years agopreparing for release of 1.9.16alpha14
Samba Release Account [Mon, 5 Aug 1996 18:23:10 +0000 (18:23 +0000)]
preparing for release of 1.9.16alpha14
(This used to be commit 32f495cf2261925ca3f0971eca6a6798584af653)

27 years agoupdated comments in announce_server() to indicate that future work needs
Samba Release Account [Mon, 5 Aug 1996 18:19:41 +0000 (18:19 +0000)]
updated comments in announce_server() to indicate that future work needs
to be done on this function when doing an announce host to a remote
domain master browser when samba is a WINS server.

lkcl
(This used to be commit 12c50bac4eab79bc2688bc849a8d781f4c12b6ea)

27 years agoupdating documentation to reflect code a little bit.
Samba Release Account [Mon, 5 Aug 1996 18:18:58 +0000 (18:18 +0000)]
updating documentation to reflect code a little bit.

lkcl
(This used to be commit 2193c1ee4eff33c32367ff27c817a6b78af51409)

27 years agojht spotted error in Domain announcements: the comment was being displayed
Samba Release Account [Mon, 5 Aug 1996 17:45:47 +0000 (17:45 +0000)]
jht spotted error in Domain announcements: the comment was being displayed
as the NetBIOS name of the master browser for samba's workgroup, instead
of samba's NetBIOS name.
(This used to be commit b5fb0293b02e8fdc6ae07be52666ebe55df1bd4e)

27 years agoTiny bug in doco reported to samba-bugs
Samba Release Account [Sat, 3 Aug 1996 14:56:43 +0000 (14:56 +0000)]
Tiny bug in doco reported to samba-bugs

dan
(This used to be commit f46305d76e86546731da1e81c662c55f0798a502)

27 years agopreparing for release of 1.9.16alpha15
Samba Release Account [Sat, 3 Aug 1996 00:25:05 +0000 (00:25 +0000)]
preparing for release of 1.9.16alpha15
(This used to be commit 043898aa851bfda3db23f558719a7aab2df478de)

27 years agoupdated doc files to include a GPL header, with revision history in it.
Samba Release Account [Thu, 1 Aug 1996 19:25:01 +0000 (19:25 +0000)]
updated doc files to include a GPL header, with revision history in it.
added created and tridge comments on first revision first kick-off in
revision history.

lkcl
(This used to be commit 70d3d3bbf0bca2d7093517c79fd4c6db3f004799)

27 years agolocal_only NetServerEnum syncs can now be issued.
Samba Release Account [Thu, 1 Aug 1996 17:49:40 +0000 (17:49 +0000)]
local_only NetServerEnum syncs can now be issued.

bug spotted in nameservresp.c - arguments to test subnet the response
is received on (same_net()) were the wrong way round (ccm@shentel.net)

samba was adding WORKGROUP(1e) as a unique not a group name: fixed this

bug in reply_name_status() and reply_name_query(): WINS entries weren't
being looked up.

name status reply adds local SELF entries to WINS SELF entries: some
SELF entries are only added locally, while others are only added via
WINS. name status needs to have both, combined.

a sync will only occur when an ANN_LocalMasterAnnouncement is received, NOT
an ANN_HostAnnouncement or an ANN_DomainAnnouncement.

when samba is a member of a workgroup, it looks for (using a wins server)
and announces to its domain master. NAME_QUERY_ANNOUNCE_HOST - yet another
'state' - has been created to do this: do the name query on the wins server
and send the announce host to the answer to this query.

jeremy @ vantive wrote the original code to do this, which used the
name_query() function.  i'm trying to avoid name_query: it times out and
generally messes things up, but using queue_netbios_packet() and
queue_netbios_pkt_wins() is... not intuitive?

lkcl with help from jra
(This used to be commit 6e932e4bae8b46e7ff4a55a75484bad78308336a)

27 years agopreparing for release of 1.9.16alpha13
Samba Release Account [Tue, 30 Jul 1996 15:48:22 +0000 (15:48 +0000)]
preparing for release of 1.9.16alpha13
(This used to be commit 801fe1066e7bae8b49e7396b04efe1d7135bbb05)

27 years agofix a bug that we've had for a long time where we don't handle EOF
Andrew Tridgell [Tue, 30 Jul 1996 15:47:30 +0000 (15:47 +0000)]
fix a bug that we've had for a long time where we don't handle EOF
properly from clients, and end up looping like mad.

At least I _hope_ this is fixed.
(This used to be commit a7c7d7afe2ef81f4a74584ce9b71e54442f7e484)

27 years agoLots of updating.
Samba Release Account [Sat, 27 Jul 1996 14:18:55 +0000 (14:18 +0000)]
Lots of updating.

Dan
(This used to be commit 66148db2f7e421b84986abddd21354dcf821d9d6)

27 years agominor cleanups
Andrew Tridgell [Wed, 24 Jul 1996 06:14:51 +0000 (06:14 +0000)]
minor cleanups
(This used to be commit 7c8fd43b4e78f439406c3bb4478adf99ae17172f)

27 years agothe client now loads the smb.conf config file so it can get the
Andrew Tridgell [Wed, 24 Jul 1996 06:14:23 +0000 (06:14 +0000)]
the client now loads the smb.conf config file so it can get the
interfaces info, and the workgroup right.
(This used to be commit fabd4230f17726743a0fde0a37ce3c09a3dec8a3)

27 years agoSome examples for printer accounting that I use with samba. lp-acct is
Samba Release Account [Tue, 23 Jul 1996 03:30:56 +0000 (03:30 +0000)]
Some examples for printer accounting that I use with samba.  lp-acct is
an example for a local printer off a samba server, hp5-redir is for a
remote printer.  acct-sum, does the stats from acct-all.  There is an
example printcap entry for the redirection of the printer.  Lots more
to come!

<pkelly@ets.net>
(This used to be commit 14bae3a0bd380c524409d36c75c13d4a6daa6302)

27 years agoremoved the remote interfaces stuff.
Andrew Tridgell [Mon, 22 Jul 1996 14:32:38 +0000 (14:32 +0000)]
removed the remote interfaces stuff.
(This used to be commit 51e5a1a546adf6ba36c7e4c3298c651cff7e15b9)

27 years agoadded lots of comments to the docs that Luke wrote on the internals of
Andrew Tridgell [Mon, 22 Jul 1996 14:30:58 +0000 (14:30 +0000)]
added lots of comments to the docs that Luke wrote on the internals of
nmbd. I haven't been through all of them yet, but I'm getting there
:-)
(This used to be commit 9e411f2c9044104df60022da316379bd27e98b56)

27 years agoadded a bunch of comments to Lukes docs.
Andrew Tridgell [Mon, 22 Jul 1996 12:06:27 +0000 (12:06 +0000)]
added a bunch of comments to Lukes docs.
(This used to be commit e6282da558995c7e875b89c43e91d027c45caa40)

27 years agominor debug output fix
Andrew Tridgell [Mon, 22 Jul 1996 12:04:56 +0000 (12:04 +0000)]
minor debug output fix
(This used to be commit c1415349acd7790eba236f26192a5098b5e26590)

27 years agofix up problems with "smbclient -L". It now uses a generic
Andrew Tridgell [Mon, 22 Jul 1996 12:00:39 +0000 (12:00 +0000)]
fix up problems with "smbclient -L". It now uses a generic
NetServerEnum with no workgroup attached if the workgroup is
"WORKGROUP" (the default in the Makefile) and uses the specific
NetServerEnum (with workgroup attached) otherwise.
(This used to be commit 6fa3468c9ba50a4de39e3bdc1c976f363fb6a412)

27 years agoSorry for last empty message. Updated file to say that domain logons
Samba Release Account [Mon, 22 Jul 1996 02:42:05 +0000 (02:42 +0000)]
Sorry for last empty message.  Updated file to say that domain logons
and scripts are now possible and to see DOMAIN.txt for more info.
<pkelly@ets.net>
(This used to be commit fd6c3dfffdb204ef75c1f235174da8e65b68f472)

27 years agoCVS:
Samba Release Account [Mon, 22 Jul 1996 02:35:41 +0000 (02:35 +0000)]
CVS:
(This used to be commit 87cf3702c6ea82763d51ab729bf47646e294b1e6)

27 years agopreparing for release of 1.9.16alpha12
Samba Release Account [Fri, 19 Jul 1996 09:34:54 +0000 (09:34 +0000)]
preparing for release of 1.9.16alpha12
(This used to be commit eae670a7ca9e233f778c84323af861a47eec6ad7)

27 years agoNeXT needs #define pid_t int in includes.h
Samba Release Account [Thu, 18 Jul 1996 17:09:22 +0000 (17:09 +0000)]
NeXT needs #define pid_t int in includes.h

namedbname.c:find_name_search() needed search capability on both local
subnet records and WINS records. it used to return NULL if the name
was not found in the local subnet records even if you asked it to search
the WINS name records as well.
(This used to be commit 96c2efded884ce4390c5da68afaccca9acc17558)

27 years agopreparing for release of 1.9.16alpha11
Samba Release Account [Thu, 18 Jul 1996 10:54:15 +0000 (10:54 +0000)]
preparing for release of 1.9.16alpha11
(This used to be commit b9d7b458b901ffb5ccf62c0e5bf461090ed6e0dd)

27 years agominor cleanups ready for another release
Andrew Tridgell [Thu, 18 Jul 1996 10:20:51 +0000 (10:20 +0000)]
minor cleanups ready for another release
(This used to be commit 153d324c7be345ae87f99e62123e9a7dbaf74aee)

27 years agoremoved some debug stuff from luke
Andrew Tridgell [Thu, 18 Jul 1996 10:09:01 +0000 (10:09 +0000)]
removed some debug stuff from luke
(This used to be commit 1fd1d7c27c4be1eba0833c787d40f1217e63127d)

27 years agolots of changes to nmbd
Samba Release Account [Wed, 17 Jul 1996 18:33:36 +0000 (18:33 +0000)]
lots of changes to nmbd

lkcl
(This used to be commit 45d3b2644733333c657c48a69719fec72881f7df)

27 years agoModified demo smb.conf to not have /tmp writeable by everyone by default.
Samba Release Account [Thu, 11 Jul 1996 13:56:08 +0000 (13:56 +0000)]
Modified demo smb.conf to not have /tmp writeable by everyone by default.
According to server-linux some people seem to be uncommenting the example
[tmp] without thinking what it does  :-)

Dan
(This used to be commit c290c229f9cef7f8bea0a77531ef7b3501323e9c)

27 years agoupdated docs to match code mods from last two or three updates. done
Samba Release Account [Wed, 10 Jul 1996 18:48:49 +0000 (18:48 +0000)]
updated docs to match code mods from last two or three updates. done
some more commenting of code to match docs.

sorted some bugs.

ipc BOOL domains was uninitialised.

lkcl
(This used to be commit cb43ce7bc08fa43a6ce49e0937f13afec5dce67b)

27 years agomissed nmbd.c in previous update.
Samba Release Account [Tue, 9 Jul 1996 18:11:47 +0000 (18:11 +0000)]
missed nmbd.c in previous update.
did a make proto

lkcl
(This used to be commit 4ccc84989efc0875dfec95d38be4a8fe746c8795)

27 years agosorted out various timer delay bugs: nameannounce.c nameserv.c
Samba Release Account [Tue, 9 Jul 1996 18:01:46 +0000 (18:01 +0000)]
sorted out various timer delay bugs: nameannounce.c nameserv.c

namedbname.c:search_for_name() wasn't looking for 0x1b as well as
0x0 and 0x20 name types.

reduced number of retransmissions of packets from 4 to 3 times.

added code that ensures remote lmhosts entries don't get deleted when
a master browser cannot be found on a remote subnet. stopped forcing
an election on remote subnets if a master browser cannot be found.

stopped browse list and wins list from being written out too frequently.

only add samba's names to local interfaces.

add 0x1c name if we are a domain logon machine (needs more exploration).

why bother reloading services when receiving a SIGTERM?

sort out add_my_name_entry() and remove_name_entry() to deal with
broadcast, samba as a WINS and samba using a WINS. properly.

added extra debug information to help with expected response queue code.
updated debug comments in become_master().

altered dump_names() DEBUG format. it looks prettier.
altered wins.dat format to match DEBUG format.

lkcl
(This used to be commit 429f1f975e2936f2e220b656c51c211d48d47047)

27 years agoadded the recently shuffled and updated source files missed in the
Samba Release Account [Sun, 7 Jul 1996 13:29:56 +0000 (13:29 +0000)]
added the recently shuffled and updated source files missed in the
previous commit (see previous log message for details)

fixed bug in nameservreply.c: wrong macro in use (RSSVAL not IVAL!).

did another make proto

lkcl
(This used to be commit d78b319062144d14a54408fce77ccc313ad58ee3)

27 years agotidied up: code shuffling and documentation.
Samba Release Account [Sun, 7 Jul 1996 12:36:18 +0000 (12:36 +0000)]
tidied up: code shuffling and documentation.
created namedb*.c nameservresp.c nameservreply.c and namepacket.c
added modules to Makefile, downloading dan's current version first :-)
shuffled docs to match source
created more docs

fixed bug in announce_backup() discovered when going nameannounce.doc:
backup list requests to the master browser should be used when samba is
not a master browser; backup list requests to the primary domain
controller should be used when samba is not a primary domain controller.

fixed bug in sync_server: it would never send MasterAnnounce packets.

removed the code that ignored special browser names: these should only
be ignored (except 0x1b names) when broadcasted name queries are sent,
not when directed registration or directed queries are sent samba as a
WINS server. (note: exactly what's going on is still uncertain).

renamed NAME_QUERY_MST_SRV_CHK  to NAME_QUERY_PDC_SRV_CHK  (more accurate).
renamed NAME_STATUS_MST_SRV_CHK to NAME_STATUS_PDC_SRV_CHK (more accurate).

added secured WINS name registration: a new 'state' NAME_REGISTER_CHALLENGE;
functions send_name_response(), response_name_query_register(); added
sending of WAIT ACKNOWLEDGEMENT packet; added a reply_to_ip field to
the response record structure so that after the name query challenge,
you know who to inform of the outcome of that challenge.

note: these are all currently untested modifications (yikes!)

lkcl
(This used to be commit b50ff657ddc29b81b4aa02a597e5affab197e4f2)

27 years agoAdded uninstallation from Makefile, either in parts or total uninstall
Samba Release Account [Fri, 5 Jul 1996 03:53:32 +0000 (03:53 +0000)]
Added uninstallation from Makefile, either in parts or total uninstall

Dan
(This used to be commit b6343dd09cdbc52677975405c2a85595ad152e8c)

27 years agoChanged install scripts so they don't have hardcoded values
Samba Release Account [Fri, 5 Jul 1996 03:51:27 +0000 (03:51 +0000)]
Changed install scripts so they don't have hardcoded values

Dan
(This used to be commit 2eccc5eea289fa4b6af120d0bc92d568ca925482)

27 years agonamebrowse.c was using variable work uninitialised.
Samba Release Account [Thu, 4 Jul 1996 19:41:16 +0000 (19:41 +0000)]
namebrowse.c was using variable work uninitialised.
remkproto'd proto.h

lkcl
(This used to be commit 166d70eba30a4b2773620f7cd9f0b84307b25472)

27 years agomodified become_master() to a state-based system. becoming a master
Samba Release Account [Thu, 4 Jul 1996 19:19:26 +0000 (19:19 +0000)]
modified become_master() to a state-based system. becoming a master
is now performed in stages: wait for each NetBIOS name to be
successfully registered before proceeding to the next stage.

tied implicit name registration and release (broadcast method) to the
same piece of code as explicit method (via WINS server).

created special_browser_name() function that checks __MSBROWSE__
name: this name is ignored by WINS servers apparently.

fixed likely incompatibility between refresh_my_names() and add_my_names().
(netbios entries were unlikely to be refreshed).

NOTE: none of these changes have been tested. at all.

lkcl
(This used to be commit 7719fb06524a66ce5e3f30f3152ddb1e200c97f3)

27 years agoStarted uninstall in Makefile
Samba Release Account [Thu, 4 Jul 1996 03:17:08 +0000 (03:17 +0000)]
Started uninstall in Makefile
Updated some email addresses
(This used to be commit a7be82ee6e56481b907ab3672b214639ec63c9b5)

27 years agogenerated new proto.h
Andrew Tridgell [Wed, 3 Jul 1996 02:59:01 +0000 (02:59 +0000)]
generated new proto.h
(This used to be commit 05107be5660c31a7c07dee467d61c44ffdffaf3e)

27 years agofixed conflict between two variables called d
Andrew Tridgell [Wed, 3 Jul 1996 02:58:46 +0000 (02:58 +0000)]
fixed conflict between two variables called d
(This used to be commit 38135c854e6b5d126939e226f815bb1a8d727f69)

27 years agofixed conflict with global variable updatecount
Andrew Tridgell [Wed, 3 Jul 1996 02:58:18 +0000 (02:58 +0000)]
fixed conflict with global variable updatecount
(This used to be commit ba478e94047cc4f92ae35a508c9e62855619e665)

27 years agofix Makefile - remove Lukes private stuff :-)
Andrew Tridgell [Wed, 3 Jul 1996 02:39:49 +0000 (02:39 +0000)]
fix Makefile - remove Lukes private stuff :-)
rerun proto generator
(This used to be commit 98568862ca5f9f48b389a42633732de831331189)

27 years ago- moved the protocol defs in the client to keep sill C compilers happy
Andrew Tridgell [Wed, 3 Jul 1996 01:58:27 +0000 (01:58 +0000)]
- moved the protocol defs in the client to keep sill C compilers happy
- added change for cnum range in reply_tdis()
(This used to be commit 609c3a5e1e3a8d9ba380a802ab3ecf6f47093846)

27 years agoas a result of the writing of namework.doc, namework.c has been tidied up,
Samba Release Account [Tue, 2 Jul 1996 15:31:33 +0000 (15:31 +0000)]
as a result of the writing of namework.doc, namework.c has been tidied up,
some bugs fixed / documented and some discrepancies noted down (in
namework.c as well as namework.doc)

namebrowse.c and namelogon.c contain functions that were inappropriately
placed in namework.c. namebrowse.c contains browse sync queue management
functions that were inappropriately placed in namedb.c

the 'cmd_type' member of response_record has been renamed to 'state'
because that more accurately reflects it purpose (not entirely. sigh).

fixed a bug in nameserv.c that meant the previous version wouldn't
compile.

there's probably a bit more...

lkcl
(This used to be commit a66417ebe871a1c1366c395ea4c7099852975e65)

27 years agoupdated low-level design documentation on nmbd. first draft of namework.doc
Samba Release Account [Tue, 2 Jul 1996 15:23:02 +0000 (15:23 +0000)]
updated low-level design documentation on nmbd. first draft of namework.doc
and updated the other two.

lkcl
(This used to be commit 96d242826d618f7dcdb1a1adf50d484df7e2a5c0)

27 years agopatch to fix NetServerEnum with multiple workgroup lists kindly supplied.
Samba Release Account [Mon, 1 Jul 1996 18:54:02 +0000 (18:54 +0000)]
patch to fix NetServerEnum with multiple workgroup lists kindly supplied.
it works for him. needs testing.
(This used to be commit 546c49080707c0cbaa6bfc928102d52826867592)

27 years agoupdated the NetBIOS code due to some bugs found by writing the first draft
Samba Release Account [Mon, 1 Jul 1996 18:29:21 +0000 (18:29 +0000)]
updated the NetBIOS code due to some bugs found by writing the first draft
of the low level design docs.
(This used to be commit 103012e5f2fac09598d60c4263c3a30992680729)

27 years agofirst draft of low-level design documents describing the operation of
Samba Release Account [Mon, 1 Jul 1996 18:22:31 +0000 (18:22 +0000)]
first draft of low-level design documents describing the operation of
nameserv.c and nameresp.c and their interaction with the rest of nmbd.
(This used to be commit 875497d961fb7537ad850c97ba0bf4b1ed2121c3)

27 years agoadded local and remote interfaces (didn't get done in first attempt)
Samba Release Account [Sat, 29 Jun 1996 19:27:12 +0000 (19:27 +0000)]
added local and remote interfaces (didn't get done in first attempt)
(This used to be commit c0b0139d1a7816b027b2f1cf107487a4508ed92f)

27 years agoluke's first attempt at using cvs
Samba Release Account [Sat, 29 Jun 1996 18:49:20 +0000 (18:49 +0000)]
luke's first attempt at using cvs

accidentally updated the Makefile

updated the name database structure (again!). this time, there is one
name database per local interface. there is also a pseudo-interface on
ip 255.255.255.255. its purpose is to store WINS name entries. all the
local interface name databases store SELF names only. the WINS name
database stores non-special browser names.

added wins.dat file: records WINS entries in ascii format. this is reloaded
when nmbd restarts.

added repeating code for response packets. timer is in seconds only at the
moment.

updated the response queue code to deal with samba registering with a
WINS server a bit better (added more cases when a response isn't received).
tidied up the response packet processing code and expire_response_queue()
code. added cross references between response received and await-response
expired code.

added over-zealous code that checks all machines that register with samba
as a WINS server (every 10 minutes i think): to see whether they are still
alive or not (see rfc1001.txt)

bug reported by terry@ren.pc.athabascau.ca: DNSFAILed names _stay_ as
DNSFAIL, even though the machine may come back up and REGISTER.

removed update_from_reg() function. it's not necessary, and it does too much.

added code that announces on each local interface samba's ttl as zero and
servertype as zero when nmbd is kill -TERMed

first attempt at putting the first functionality of samba browsing back in
(remote subnets should have samba appear in a workgroup specified through
the lmhosts file)

lots of other miscellaneous tidying up / chopping about.
(This used to be commit 7e8c60cfe54060860e5ce20b1c3b8ec6aa5c54da)

27 years agoBasic doc changes to keep up to date.
Samba Release Account [Wed, 19 Jun 1996 13:23:46 +0000 (13:23 +0000)]
Basic doc changes to keep up to date.

Dan
(This used to be commit 6d81d56f929e763bcf6b1f7a61aabaf884c4aad4)

27 years ago - deleted reduntant blank line at end of file (JHT)
Samba Release Account [Wed, 19 Jun 1996 12:27:26 +0000 (12:27 +0000)]
 - deleted reduntant blank line at end of file (JHT)
(This used to be commit 7960522e18bb34cba4fbc6ef0d68485d484c9cad)