samba.git
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.

27 years agodoc updates
Andrew Tridgell [Tue, 13 Aug 1996 12:32:22 +0000 (12:32 +0000)]
doc updates

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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.

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

Dan

27 years agominor cleanups
Andrew Tridgell [Wed, 24 Jul 1996 06:14:51 +0000 (06:14 +0000)]
minor cleanups

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.

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>

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.

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
:-)

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.

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

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.

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>

27 years agoCVS:
Samba Release Account [Mon, 22 Jul 1996 02:35:41 +0000 (02:35 +0000)]
CVS:

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

27 years agogenerated new proto.h
Andrew Tridgell [Wed, 3 Jul 1996 02:59:01 +0000 (02:59 +0000)]
generated new proto.h

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

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

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

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()

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

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

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.

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.

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.

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)

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.

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

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)

27 years ago- change date as a demo for john
Andrew Tridgell [Wed, 19 Jun 1996 12:23:54 +0000 (12:23 +0000)]
- change date as a demo for john
- modified plp printing parser to work on my system

27 years agoAdded source filename to give crude index
Samba Release Account [Mon, 17 Jun 1996 14:11:14 +0000 (14:11 +0000)]
Added source filename to give crude index
Dan 17 June 1996

27 years agodemo of cvs - ignore
Andrew Tridgell [Wed, 12 Jun 1996 01:47:09 +0000 (01:47 +0000)]
demo of cvs - ignore

27 years agominor patch to allow host announcements to remote subnets
Andrew Tridgell [Mon, 10 Jun 1996 06:08:50 +0000 (06:08 +0000)]
minor patch to allow host announcements to remote subnets

27 years agopreparing for release of 1.9.16alpha10
Samba Release Account [Mon, 10 Jun 1996 05:20:35 +0000 (05:20 +0000)]
preparing for release of 1.9.16alpha10

27 years agoa cleanup of the receive_smb() usage, adding timeouts in some places
Andrew Tridgell [Mon, 10 Jun 1996 05:16:19 +0000 (05:16 +0000)]
a cleanup of the receive_smb() usage, adding timeouts in some places

also added paranoid code in the main process() loop of smbd to detect
when smbd is looping uselessly. This should stop the "smbd is chewing
lots of cpu" reports

27 years agogot rid of a lot of redundent header files as we now globally generate
Andrew Tridgell [Mon, 10 Jun 1996 04:38:24 +0000 (04:38 +0000)]
got rid of a lot of redundent header files as we now globally generate
prototypes automatically using "make proto". This is much less prone
to error than the old method of manually adding prototypes

27 years agodocumented the "max disk size" option.
Andrew Tridgell [Mon, 10 Jun 1996 03:42:06 +0000 (03:42 +0000)]
documented the "max disk size" option.

I'm sure I've done this before, we must have lost some patches a while
ago?

27 years agomoved some more locking routines to locking.c, and moved replacement
Andrew Tridgell [Mon, 10 Jun 1996 03:39:58 +0000 (03:39 +0000)]
moved some more locking routines to locking.c, and moved replacement
routines for broken OSes from util.c to replace.c.

27 years agoupdates from Luke to rename "domains" more accurately to "subnets"
Andrew Tridgell [Mon, 10 Jun 1996 03:38:08 +0000 (03:38 +0000)]
updates from Luke to rename "domains" more accurately to "subnets"

27 years agopreparing for release of 1.9.16alpha9
Samba Release Account [Sat, 8 Jun 1996 05:39:06 +0000 (05:39 +0000)]
preparing for release of 1.9.16alpha9

27 years agomore changes from Luke
Andrew Tridgell [Sat, 8 Jun 1996 05:37:33 +0000 (05:37 +0000)]
more changes from Luke

27 years agofixed the apana MIRRORS entry
Andrew Tridgell [Sat, 8 Jun 1996 05:36:21 +0000 (05:36 +0000)]
fixed the apana MIRRORS entry

27 years agochanges from Luke
Andrew Tridgell [Sat, 8 Jun 1996 04:41:51 +0000 (04:41 +0000)]
changes from Luke

27 years agomoved MSBROWSE into nameserv.h
Andrew Tridgell [Sat, 8 Jun 1996 04:36:25 +0000 (04:36 +0000)]
moved MSBROWSE into nameserv.h

27 years agopatches fromk Luke putting in symbolic names for time constants
Andrew Tridgell [Sat, 8 Jun 1996 04:34:45 +0000 (04:34 +0000)]
patches fromk Luke putting in symbolic names for time constants

27 years ago- added comments to byteorder.h explaining how it works.
Andrew Tridgell [Sat, 8 Jun 1996 04:33:37 +0000 (04:33 +0000)]
- added comments to byteorder.h explaining how it works.
- fixed problem with installscripts if srcdir is not set
- fixed ptr init bug in interface.c
- changed default lookup type in nmblookup to match nbtstat under NT
- new quotas fixes for sunos and solaris

27 years ago- added predict.c, moving the routines from util.c
Andrew Tridgell [Fri, 7 Jun 1996 03:34:22 +0000 (03:34 +0000)]
- added predict.c, moving the routines from util.c

- added iface_count() and iface_n_ip() routines so its easy to loop
over the local interface list

- made readsize a normal loadparm global

- check for null w in add_domain_entry()

- set the deathtime to time()-1 for doamin entries with servertype==0
This allows servers that are shutting down to be removed

- add the 0x1c name at startup if we are a WINS server. Previously we
added it only if we were a master

- loop over interfaces in add_my_domains(), so people don't have to
have a lmhosts file to get lp_workgroup() on all interfaces

- set add to True for find_workgroupstruct() in nmbsync, and check for
null return

- remove some ugly "errno = EBADF" bits. they just confused things.

27 years agopreparing for release of 1.9.16alpha8
Samba Release Account [Thu, 6 Jun 1996 11:58:12 +0000 (11:58 +0000)]
preparing for release of 1.9.16alpha8

27 years ago- added interface.c and removed all the references to myip, bcast_ip
Andrew Tridgell [Thu, 6 Jun 1996 11:43:09 +0000 (11:43 +0000)]
- added interface.c and removed all the references to myip, bcast_ip
and Netmask, instead replacing them with calls to routines in
interface.c

- got rid of old MAXINT define

- added code to ensure we only return one entry for each name in the ipc
enum routines

- added new_only option to add_netbios_entry() to prevent overwriting
of important names

- minor time handling fixup

27 years agoadded some notes on the new "interfaces" option
Andrew Tridgell [Thu, 6 Jun 1996 11:24:54 +0000 (11:24 +0000)]
added some notes on the new "interfaces" option

27 years agopreparing for release of 1.9.16alpha7
Samba Release Account [Thu, 6 Jun 1996 00:30:18 +0000 (00:30 +0000)]
preparing for release of 1.9.16alpha7

27 years agofix a bug that meant alpha6 couldn't compile.
Andrew Tridgell [Thu, 6 Jun 1996 00:29:22 +0000 (00:29 +0000)]
fix a bug that meant alpha6 couldn't compile.

27 years agoadd sunos private makefile to .ignore
Andrew Tridgell [Thu, 6 Jun 1996 00:28:48 +0000 (00:28 +0000)]
add sunos private makefile to .ignore

27 years agopreparing for release of 1.9.16alpha6
Samba Release Account [Wed, 5 Jun 1996 15:46:41 +0000 (15:46 +0000)]
preparing for release of 1.9.16alpha6

27 years ago- remove some incorrect prototypes from server.c
Andrew Tridgell [Wed, 5 Jun 1996 15:44:24 +0000 (15:44 +0000)]
- remove some incorrect prototypes from server.c
- formatting cleanup in check_master_browser()
- removed unused code from nameserv.c

27 years ago- changed some debug levels in clientutil.c
Andrew Tridgell [Wed, 5 Jun 1996 15:16:09 +0000 (15:16 +0000)]
- changed some debug levels in clientutil.c

- added dir_check_ftype() to clean up the file type checking a bit

- added check for libc version >= 5 for setfsuid() for Linux

- moved the AM_MASTER() and related macros to nameserv.h

- added proper defines for the various netbios announce types

- don't call the announce_backup() code, as I'm pretty sure its wrong
it sent ANN_GetBackupListReq packets as broadcasts, they are supposed
to be used only by clients to the master browser to find a list of
available backup servers to remote a netserverenum to, I don't think
nmbd should ever send one.

- fixed a bug in the browse list writing

- minor debug cleanups

- put in the code to discard our own broadcasts (it won't work for
multi-homed hosts though)

- changed ELECTION_VERSION to 1 so we can be beaten by a NT 3.51 server by
lowering the os level.

- only do sync_browse_lists() if we are the master browser, otherwise
we'll cause network overload

- don't call tell_become_backup() as it appears to be badly broken, it
should only be used when the machine being told has its MAINTAIN_LIST
to to auto. Not calling it does no great harm anyway

- fix a nasty bug where becomebackup was confused with reset browser!

- make setbuffer() not get caught by the auto protototypes

27 years agopreparing for release of 1.9.16alpha5
Samba Release Account [Tue, 4 Jun 1996 15:20:14 +0000 (15:20 +0000)]
preparing for release of 1.9.16alpha5

27 years agoupdated the entry for Phillip Hands
Samba Release Account [Tue, 4 Jun 1996 15:19:23 +0000 (15:19 +0000)]
updated the entry for Phillip Hands

27 years agoDid more integration of Lukes code ready for the first release.
Andrew Tridgell [Tue, 4 Jun 1996 15:14:47 +0000 (15:14 +0000)]
Did more integration of Lukes code ready for the first release.

I've now got WINS registration working, and refresh working. Its
looking pretty good so far, but needs lots of testing.

27 years agoadd dummy quotas fn
Andrew Tridgell [Tue, 4 Jun 1996 06:53:43 +0000 (06:53 +0000)]
add dummy quotas fn
fix typo in reply to backup lists

27 years agoa huge pile of changes :-)
Andrew Tridgell [Tue, 4 Jun 1996 06:42:03 +0000 (06:42 +0000)]
a huge pile of changes :-)

The biggest thing is the integration of Lukes new nmbd. Its still
largely untested, so we will really need some feedback

I've also added auto prototype generation and cleaned up a lot of
minor things as a result

27 years ago- moved the uid handling to uid.c
Andrew Tridgell [Sat, 1 Jun 1996 15:25:30 +0000 (15:25 +0000)]
- moved the uid handling to uid.c
- added setfsuid() support (for Linux)
- started adding some of Lukes changes, just the loadparm and ipc ones
so far

27 years agopreparing for release of 1.9.16alpha4
Samba Release Account [Fri, 31 May 1996 15:16:22 +0000 (15:16 +0000)]
preparing for release of 1.9.16alpha4

27 years agoLots of changes!
Andrew Tridgell [Fri, 31 May 1996 15:13:29 +0000 (15:13 +0000)]
Lots of changes!

- add faq info on NT printer handling
- add "delete readonly" option to help rcs users
- add stuff to man pages on new printer options
- add "proxy name resolution" option
- add "command string" -c option to smbclient (thanks Ken)
- split time functions into time.c
- rearrange the quotas stuff a bit and fix some bugs
- complete rehash of the time handling code thanks to Paul Eggert
- fix nmblookup output a bit
- add plp print queue parsing from Bertrand Wallrich

27 years agoadd my private makefile to the ignore list
Andrew Tridgell [Fri, 31 May 1996 06:10:18 +0000 (06:10 +0000)]
add my private makefile to the ignore list

27 years agocomment out the code that tries to handle the NT bug where the 2nd
Andrew Tridgell [Fri, 31 May 1996 06:09:42 +0000 (06:09 +0000)]
comment out the code that tries to handle the NT bug where the 2nd
passlen is wrong. The fix is worse than the problem :-)

27 years ago- added an entry on WinDD to samba.faq
Andrew Tridgell [Thu, 30 May 1996 03:16:17 +0000 (03:16 +0000)]
- added an entry on WinDD to samba.faq
- added a sample smb.conf from Thoralf.Freitag@remserv.rz.fhtw-berlin.de
- print the errno when you get a can't change directory error
- added installscripts.sh from James_K._Foote.PARC@xerox.com