samba.git
26 years agoUpdated txt faq again.
Samba Release Account [Sun, 1 Jun 1997 09:47:19 +0000 (09:47 +0000)]
Updated txt faq again.
Paul.
(This used to be commit 1ef063375f2bb7c9332ad50c7f85bc153b138135)

26 years agoUpdated txt faq. Paul HMM. emacs... how do i quit...
Samba Release Account [Sun, 1 Jun 1997 09:35:08 +0000 (09:35 +0000)]
Updated txt faq.  Paul HMM. emacs... how do i quit...
it's very dark in here
----------------------------------------------------------------------
CVS:
CVS:
----------------------------------------------------------------------
(This used to be commit 7bf9582a288d670de3bba57eefe9419e44dd1e9c)

26 years agoUpdated sgml and html FAQ.
Samba Release Account [Sun, 1 Jun 1997 08:12:12 +0000 (08:12 +0000)]
Updated sgml and html FAQ.
Paul.
(This used to be commit be5c7253dab694bc98f3906e37b6ca29ae8e8cf2)

26 years agoUpdated changes made in text faq to sgml faq, more to come.
Samba Release Account [Sun, 1 Jun 1997 04:00:19 +0000 (04:00 +0000)]
Updated changes made in text faq to sgml faq, more to come.
Paul.
(This used to be commit c601f86706e31c0cd331f2658cfcbf286f365582)

26 years agonamepacket.c: Block SIGTERM correctly - we can only take them at defined points.
Samba Release Account [Sat, 31 May 1997 01:11:40 +0000 (01:11 +0000)]
namepacket.c: Block SIGTERM correctly - we can only take them at defined points.
nameserv.c: Fixup name release code - used when we are going down.
nameservreply.c: Relaxed check for deleting name - original code never deleted.
nmbd.c: Block SIGTERM signals most of the time - see comment on namepacket above.
Jeremy (jallison@whistle.com)
(This used to be commit 9f4e01224751134c2f7701e2aea87d06a79d77a4)

26 years agonamedbname.c: Added 'S' or 'R' flags to wins.dat to aid debugging. Forced all type 1e
Samba Release Account [Fri, 30 May 1997 23:15:17 +0000 (23:15 +0000)]
namedbname.c: Added 'S' or 'R' flags to wins.dat to aid debugging. Forced all type 1e
                names to be added as 255.255.255.255.
namedbsubnet.c: Fixed bug I intruduced - register 1e name on WINS subnet also.
                (thanks to Luke for pointing this one out).
Jeremy (jallison@whistle.com)
(This used to be commit fbeaf146c0903f0939d1128af01cff8ea18a2546)

26 years agocharcnv.c: Fixed silly bugs detected on IRIX.
Samba Release Account [Fri, 30 May 1997 20:40:48 +0000 (20:40 +0000)]
charcnv.c: Fixed silly bugs detected on IRIX.
client.c: Fixed silly bugs detected on IRIX.
namedbname.c: Stopped 1d names from being registered in WINS db.
namedbsubnet.c: Only register 1e names on broadcast subnet.
nameelect.c: Changed add_my_name entries. Forced host announces if we
                have less than 10 servers listed. Fixed registering 1b
                domain name issues.
namepacket.c: Added error message when dgram discarded.
nameserv.c: Added notion of 'direct' names that are not registered on
                the network. Needed to get around bugs in earlier nmbd
                handling of DOMAIN(1b) names.
nameservreply.c:Tidied up debug message.
nameservresp.c: Added response_name_query_domain() code. Deals with
                re-registering DOMAIN(1b) name.
nmbd.c: Fixed silly bugs detected on IRIX.
nmblib.c: Added paranoia debugs.
proto.h: Updated remove_name_entry(), add_my_name_entry().
server.c: Fixed silly bugs detected on IRIX.
trans2.c: Fixed silly bugs detected on IRIX.
uid.c: Fixed silly bugs detected on IRIX.
version.h: Updated to alpha3.
Jeremy (jallison@whistle.com).
(This used to be commit f08222bd8b86a061c52d22015f946a4737eb47fd)

26 years agoAdded
Samba Release Account [Fri, 30 May 1997 20:23:16 +0000 (20:23 +0000)]
Added
Bruce Cook - Synonet Corporation.
and Volkers company.
Jeremy.
(This used to be commit 4311ee0b2da2dabe3ce6e26c873c4df33c7a0680)

26 years agoloadparm.c: Ensure printer services cannot be read only and don't use share mode...
Samba Release Account [Tue, 27 May 1997 20:28:45 +0000 (20:28 +0000)]
loadparm.c: Ensure printer services cannot be read only and don't use share mode locking.
locking.c: Changed aborts to returns so not so drastic on PANIC errors.
proto.h: Removed definition of open_file as this is now never externally called.
reply.c: Changed reply_mknew, reply_ctemp, reply_printopen to go through open_file_shared.
server.c: Modified open_file_shared to be more robust and be useful for printer & temp files.
Removed truncate option from open_file (now all truncates are done in open_file_shared).
util.c: Added EAGAIN to errors checked in open_socket_out().
version.h: Updated to 1.9.17alpha2.
jallison@whistle.com
(This used to be commit d8471909b79fd591be2b789485b65d2e636d4745)

26 years agoadded veto files entry. example lists files that DAVE (mac client)
Samba Release Account [Mon, 26 May 1997 17:55:54 +0000 (17:55 +0000)]
added veto files entry.  example lists files that DAVE (mac client)
shouldn't show up.  not tested, but hey, what are alphas for? :-)

luke
(This used to be commit ec9eace43d27c2cb19fb6311161bde6994f807b7)

26 years agocoding standards issue: should never compare a boolean expression == False
Samba Release Account [Thu, 22 May 1997 19:08:56 +0000 (19:08 +0000)]
coding standards issue: should never compare a boolean expression == False
or == True.  should always do if (boolean_expression).

sorry.

lkcl
(This used to be commit 73ae238801ac3d8e83af4fc10532837bdeace6d6)

26 years agoREADME: Updated for 1.9.17. Andrew no longer listed as primary maintainer.
Samba Release Account [Thu, 22 May 1997 18:34:46 +0000 (18:34 +0000)]
README: Updated for 1.9.17. Andrew no longer listed as primary maintainer.
WHATSNEW.txt: New file - the idea is that it is updated for new releases
and acts as a first point for users who want to see if they should upgrade.
jallison@whistle.com
(This used to be commit 9773d1df2db6131990bbcc678b1bb63bfcb2d02b)

26 years agoRemoved use of 'domain controller' parameter for browsing system
Samba Release Account [Thu, 22 May 1997 18:17:55 +0000 (18:17 +0000)]
Removed use of 'domain controller' parameter for browsing system
as Luke recommends. jallison@whistle.com
(This used to be commit bad6ec12725d127482a3f5b3e9a9b624d47aeecf)

26 years agosamba.faq: Updated with info on 'Dave'.
Samba Release Account [Thu, 22 May 1997 18:10:46 +0000 (18:10 +0000)]
samba.faq: Updated with info on 'Dave'.
smb.conf.5: Removed reference to 'domain controller' being the browse
            list collator to match the change I just added to
            nameannounce.c.
jallison@whistle.com
(This used to be commit 22243ffaa4f5400936f5cb5159b73abc559d9515)

26 years agoUpdated for new 1.9.17alpha1 release.
Samba Release Account [Wed, 21 May 1997 23:58:16 +0000 (23:58 +0000)]
Updated for new 1.9.17alpha1 release.
(This used to be commit 564713baa2c16b25209f7d608a57ded2eab512fc)

26 years agoMakefile: Turned on FAST_SHARE_MODES by default for a bunch of machines.
Samba Release Account [Wed, 21 May 1997 23:52:35 +0000 (23:52 +0000)]
Makefile: Turned on FAST_SHARE_MODES by default for a bunch of machines.
nameelect.c: Fixed bug where we were always using our workgroup name instead
             of the current one.
jallison@whistle.com
(This used to be commit 42407a11ff876d7e1230fdce0efe26a10385e74f)

26 years agoAdded code to make nmbd always lose elections if 'local master'
Samba Release Account [Wed, 21 May 1997 18:18:38 +0000 (18:18 +0000)]
Added code to make nmbd always lose elections if 'local master'
parameter is set to False.
jallison@whistle.com
(This used to be commit 1bcf6791c79b846e3702bd2f91322b7666a8f323)

26 years agoUpdated docs for 'local master' parameter.
Samba Release Account [Wed, 21 May 1997 18:15:46 +0000 (18:15 +0000)]
Updated docs for 'local master' parameter.
jallison@whistle.com
(This used to be commit 428ed15462e586295a767ceee5d1aebaa94ca3cb)

26 years agoAdded fix from Paul Nelson @ Thursby - smb_mid field could be
Samba Release Account [Wed, 21 May 1997 01:09:51 +0000 (01:09 +0000)]
Added fix from Paul Nelson @ Thursby - smb_mid field could be
corrupted if security = server.
jallison@whistle.com
(This used to be commit 52da1897ce4428f5e2a6c0306aecb8109b43ebd8)

26 years agoUpdated for 1.9.17alpha1.
Samba Release Account [Tue, 20 May 1997 01:46:28 +0000 (01:46 +0000)]
Updated for 1.9.17alpha1.
Jeremy.
(This used to be commit b1886349f7184500c9d540852abfcb790f9f38b4)

26 years agodir.c: Fixed double slash issue.
Samba Release Account [Tue, 20 May 1997 00:32:51 +0000 (00:32 +0000)]
dir.c: Fixed double slash issue.
includes.h: Changed to ifdef FAST_SHARE_MODES.
ipc.c:  Changed lp_workgroup() to myworkgroup.
loadparm.c:  Added new shared mem parameters. Added Luke's fix.
locking.c: Rewrite to do share modes better (both fast and slow modes).
nameannounce.c:  Changed lp_workgroup() to myworkgroup. Added Luke's fix.
nameconf.c:  Changed lp_workgroup() to myworkgroup.
namedbname.c:  Improved debug.
namedbserver.c:  Changed lp_workgroup() to myworkgroup.
namedbsubnet.c:  Added Luke's fix - rewritten somewhat.
namedbwork.c:  Changed lp_workgroup() to myworkgroup.
nameelect.c:  Added Luke's fix - rewritten somewhat.
nameresp.c:  Stoped shadowing global.
nameserv.c:  Added Luke's fix - Improved debug.
nameservreply.c:  Improved debug.
namework.c:  Changed lp_workgroup() to myworkgroup.
nmbd.c:  Added Luke's fix - Changed lp_workgroup() to myworkgroup.
pipes.c:   Changed lp_workgroup() to myworkgroup.
proto.h:   Added Luke's fix, added smb_shm_ proto's.
reply.c:  Changed lp_workgroup() to myworkgroup.
server.c:  Rewrite to do share modes better (both fast and slow modes).
shmem.c:  Rewrite to do share modes better (both fast and slow modes).
smb.h:  Rewrite to do share modes better (both fast and slow modes).
status.c:  Rewrite to do share modes better (both fast and slow modes).
trans2.c:  Fixed double slash issue.
util.c:  Tidied up, created myworkgroup.
Jeremy Allison (jallison@whistle.com).
(This used to be commit 2a1711eaaf08bb6776770cd3c96b3010f431a677)

26 years agonamedbname.c: Fixed *nasty* bug that caused nmbd to spin and eat memory
Samba Release Account [Thu, 15 May 1997 23:47:34 +0000 (23:47 +0000)]
namedbname.c: Fixed *nasty* bug that caused nmbd to spin and eat memory
              and CPU whilst trying to become a master browser. Don't ask,
              you don't want to know :-).
nameresp.c: Tidied formating of code.
nameservresp.c: Added debug value of IP address that is rejecting our
                registration.
jallison@whistle.com
(This used to be commit c0bae276a99211c0c7149a5e4e801706870074fd)

26 years agouse NULL instead of 0
Samba Release Account [Mon, 12 May 1997 14:24:59 +0000 (14:24 +0000)]
use NULL instead of 0

lkcl
(This used to be commit 5582e448c94a733a1fee479ed93984314cc42a25)

26 years agoJHT sez ... Please pardon my dust, road works in progress!
John Terpstra [Sun, 11 May 1997 13:41:08 +0000 (13:41 +0000)]
JHT sez ... Please pardon my dust, road works in progress!
(This used to be commit 42c0420699b7451eb39498cb9be90baca8982cf2)

26 years agoNew RedHat Linux RPM specification file for 1.9.17
John Terpstra [Sun, 11 May 1997 12:28:02 +0000 (12:28 +0000)]
New RedHat Linux RPM specification file for 1.9.17
(This used to be commit 29d82ffb07fc17595a8c72d4d4c6c05366645970)

26 years agoGetting ready for release of RedHat Linux RPM build for 1.9.17
John Terpstra [Sun, 11 May 1997 12:24:00 +0000 (12:24 +0000)]
Getting ready for release of RedHat Linux RPM build for 1.9.17
(This used to be commit 15ec54b6c6ba3ba19117fb7ae5aaafa4345f0236)

26 years agoUpdated Samba minor version so it announces itself as NT Server version
John Terpstra [Sun, 11 May 1997 12:21:44 +0000 (12:21 +0000)]
Updated Samba minor version so it announces itself as NT Server version
4.20. This indicates that the browsing code has been updated (changed).
(This used to be commit 7d106024f172c8e6ffd3f355aceb0d867d74b3f8)

26 years agostatus.c: Added brief option. Patch from ccctim@mailbox.ucdavis.edu
Samba Release Account [Thu, 8 May 1997 21:17:59 +0000 (21:17 +0000)]
status.c: Added brief option. Patch from ccctim@mailbox.ucdavis.edu
client.c: Added translation of '/' characters to '\' characters. Suggested by friedl@mtndew.com (Stephen J. Friedl)
charcn.c: Fix for iso8859-2 (Eastern European) conversions based on a patch from Miroslaw M. Maczka <elvisbze@polbox.com>
(This used to be commit 27708a73cef690ea8aea0f3d82619eaed1fe476d)

26 years agoDocumented -b for brief option.
Samba Release Account [Thu, 8 May 1997 20:11:32 +0000 (20:11 +0000)]
Documented -b for brief option.
(This used to be commit 5aa4f8147745872098cc0b4a6c88b2da50fcab4c)

26 years agoFixes for manpage from Bill Hawes <whawes@star.net>.
Samba Release Account [Thu, 8 May 1997 20:04:51 +0000 (20:04 +0000)]
Fixes for manpage from Bill Hawes <whawes@star.net>.
(This used to be commit d4b64f5d5061908e640e177e192962b48a1b3543)

26 years ago'The mother of all checkins' :-). Jeremy Allison (jallison@whistle.com)
Samba Release Account [Thu, 8 May 1997 01:14:17 +0000 (01:14 +0000)]
'The mother of all checkins' :-). Jeremy Allison (jallison@whistle.com)
Wed May  7 1997: Update for 1.9.17alpha1 release - 'browsefix release'
designed to make browsing across subnets work.

byteorder.h: Updated copyright to 1997.
charcnv.c:      Updated copyright to 1997.
charset.c  Updated copyright to 1997.
charset.h Updated copyright to 1997.
client.c Updated copyright to 1997.
clientutil.c Updated copyright to 1997.
dir.c Updated copyright to 1997.
fault.c Updated copyright to 1997.
includes.h Updated copyright to 1997.
interface.c Updated copyright to 1997.
ipc.c Updated copyright to 1997.
kanji.c Updated copyright to 1997.
kanji.h Updated copyright to 1997.
loadparm.c Updated copyright to 1997.
locking.c Updated copyright to 1997.
mangle.c Updated copyright to 1997.
message.c Updated copyright to 1997.
nameannounce.c

Made use of WINS subnet explicit.
Added reset_announce_timer() so announcement
can be made immediately when we become a master.
Expanded code to do sync with dmb.

namebrowse.c

Removed redundent checks for AM_MASTER in
sync code. Made use of WINS subnet explicit.

namedbname.c Made use of WINS subnet explicit.
namedbresp.c Made use of WINS subnet explicit.
namedbserver.c Made use of WINS subnet explicit.

namedbsubnet.c

Explicitly add workgroup to WINS subnet
when we become a dmb. Made use of WINS subnet explicit.

namedbwork.c

Made use of WINS subnet explicit. Removed
redundent check_work_servertype() function.

nameelect.c

Explicitly add workgroup to WINS subnet
when we become a master browser. Made use of WINS subnet explicit.

namelogon.c Updated copyright to 1997.
namepacket.c Updated copyright to 1997.
namequery.c Updated copyright to 1997.

nameresp.c

Made use of WINS subnet explicit. Made nmbd fail if
configured as master browser and one exists already.

nameserv.c

Made use of WINS subnet explicit. Remove redundent
logon server and domain master code.

nameserv.h Add emumerate subnet macros.
nameservreply.c Made use of WINS subnet explicit.
nameservresp.c Updated copyright to 1997.

namework.c

Made use of WINS subnet explicit. Updated code to
add sync browser entries to add subnet parameter.

nmbd.c

Added sanity check for misconfigured nmbd.

nmblib.c Updated copyright to 1997.
nmblookup.c Updated copyright to 1997.
nmbsync.c

Removed redundent AM_ANY_MASTER check.

params.c Updated copyright to 1997.
password.c Updated copyright to 1997.
pipes.c Updated copyright to 1997.
predict.c Updated copyright to 1997.
printing.c Updated copyright to 1997.

proto.h

Changed protos for new nmbd code.

quotas.c Updated copyright to 1997.
replace.c Updated copyright to 1997.
reply.c Updated copyright to 1997.
server.c Updated copyright to 1997.
shmem.c Updated copyright to 1997.
smb.h Updated copyright to 1997.
smbencrypt.c Updated copyright to 1997.
smbpasswd.c Updated copyright to 1997.
smbrun.c Updated copyright to 1997.
status.c Updated copyright to 1997.
system.c Updated copyright to 1997.
testparm.c Updated copyright to 1997.
testprns.c Updated copyright to 1997.
time.c Updated copyright to 1997.
trans2.c Updated copyright to 1997.
trans2.h Updated copyright to 1997.
uid.c Updated copyright to 1997.
username.c Updated copyright to 1997.
util.c Updated copyright to 1997.
version.h

Changed to 1.9.17alpha1.
(This used to be commit cf23a155a1315f50d488794a2caf88402bf3e3e6)

26 years agomod to directory mask doc
Samba Release Account [Wed, 7 May 1997 18:42:13 +0000 (18:42 +0000)]
mod to directory mask doc

lkcl
(This used to be commit 285769003af6366167f80019c6845bfe3b6a8da4)

26 years agoadded auto.home parameters - contributed by simeon@bangor.ac.uk.
Samba Release Account [Wed, 7 May 1997 18:17:21 +0000 (18:17 +0000)]
added auto.home parameters - contributed by simeon@bangor.ac.uk.

lkcl
(This used to be commit 820a1bde7230bd0a125e4b900fbf733352722a39)

26 years agoadded automount home directory support. contributed by simeon@bangor.co.uk
Samba Release Account [Wed, 7 May 1997 17:56:46 +0000 (17:56 +0000)]
added automount home directory support.  contributed by simeon@bangor.co.uk
and a mini bug-fix by rob.nacarrato@sheridanc.on.ca

reads in an entry from the auto.home file for the user when they log in,
and mounts their home directory as the default path for the [homes] service.

i might add this as to the %substitution system, so that you can
specify subdirectories for the user profiles, mainly.

lkcl
(This used to be commit 0bb6acc358243c49e19de9d5cc95f5124ac11b7c)

26 years agoname_unregister_work() using strequal incorrectly.
Samba Release Account [Sat, 3 May 1997 16:48:31 +0000 (16:48 +0000)]
name_unregister_work() using strequal incorrectly.

lkcl
(This used to be commit 1d1143fb6f6ba2b4c28bedf3985c162860d451ff)

27 years agoexpiry of browser entries wasn't happening once the entry had synced.
Samba Release Account [Thu, 17 Apr 1997 04:41:53 +0000 (04:41 +0000)]
expiry of browser entries wasn't happening once the entry had synced.

lkcl
(This used to be commit 1d89338fd9f6d68b8fdbc704ca2022b0033d957c)

27 years agotwo bugs jeremy and i found while at sgi.
Samba Release Account [Thu, 17 Apr 1997 04:39:55 +0000 (04:39 +0000)]
two bugs jeremy and i found while at sgi.
find_workgroupstruct call in nameannounce.c should have False not True
check_master_browser should _only_ force an election for its own
workgroup, not other workgroups!

lkcl
(This used to be commit d0dc4c9b7c828f706c99b1dab3f0ae0844cbc6a8)

27 years agoremoved reference to subnet_record and work_record, as neither are needed.
Samba Release Account [Fri, 11 Apr 1997 23:26:37 +0000 (23:26 +0000)]
removed reference to subnet_record and work_record, as neither are needed.

lkcl
(This used to be commit 3e7bd36c774a3d4252cbc89a52003cdbccc14d3d)

27 years agojra@cygnus.com: Changed CHECK_TIME_MST_ANNOUNCE back to 15 from 1 (from test).
Samba Release Account [Wed, 9 Apr 1997 01:21:04 +0000 (01:21 +0000)]
jra@cygnus.com: Changed CHECK_TIME_MST_ANNOUNCE back to 15 from 1 (from test).
(This used to be commit 0294ab7cbb2d3fa45c413d7caac86020f9806026)

27 years agoLarge changes from jra@cygnus.com. Mainly browser updates.
Samba Release Account [Wed, 9 Apr 1997 01:19:25 +0000 (01:19 +0000)]
Large changes from jra@cygnus.com. Mainly browser updates.

access.c: Fixed crash if yp domain unavailable.
includes.h: Moved ifdefs for minor platform.
interface.c: Changed name of ipgrp to wins_ip to make it clearer.
loadparm.c: Changed default of wins support to 'no'.
nameannounce.c: Many changes to fix cross subnet browsing.
namebrowse.c: Many changes to fix cross subnet browsing.
namedbname.c: Many changes to fix cross subnet browsing.
namedbresp.c: Many changes to fix cross subnet browsing.
namedbsubnet.c: Many changes to fix cross subnet browsing.
namedbwork.c: Many changes to fix cross subnet browsing.
nameelect.c: Many changes to fix cross subnet browsing.
namelogon.c: Many changes to fix cross subnet browsing.
namepacket.c: Many changes to fix cross subnet browsing.
nameresp.c: Many changes to fix cross subnet browsing.
nameserv.c: Many changes to fix cross subnet browsing.
nameserv.h: Many changes to fix cross subnet browsing.
nameservreply.c: Many changes to fix cross subnet browsing.
nameservresp.c: Many changes to fix cross subnet browsing.
namework.c: Many changes to fix cross subnet browsing.
nmbd.c: Change to search wins subnet.
nmbsync.c: Change to check if we are any master before proceeding.
proto.h: Added find_subnet_all() and check_work_servertype().
util.c: Moved 'done' settings on name resolution.
(This used to be commit a82476eee2c521e5eed092bc367da0a7cef23de1)

27 years agoname_type for name_query with smbclient -M name should be used. that way,
Samba Release Account [Thu, 3 Apr 1997 16:57:06 +0000 (16:57 +0000)]
name_type for name_query with smbclient -M name should be used.  that way,
you get messages to the proper location.

lkcl
(This used to be commit deedac6523cdc435a1a26ad0c13d7a53042aafb6)

27 years agoRemoved old info on Mac support and Samba, left lukes addition, added more info on...
Samba Release Account [Fri, 21 Mar 1997 03:03:27 +0000 (03:03 +0000)]
Removed old info on Mac support and Samba, left lukes addition, added more info on Netatalk and CAP

This hasn't been added to the sgml and html faq originals, Dan, if linux-doc isn't on samba.anu could you remind me where it is.

Paul.
(This used to be commit c19cc44c199ebd623954964a0bd6422e3de6fe02)

27 years agoRemoved 'Richard Bullington' from support doc at his request... he loves the product...
Samba Release Account [Fri, 21 Mar 1997 02:40:29 +0000 (02:40 +0000)]
Removed 'Richard Bullington' from support doc at his request... he loves the product, but can't afford the time.
Paul.
(This used to be commit c20096194383fa787c60410af3c7c3a16d25297d)

27 years agofinally! doing a strequal() == 0 instead of just strequal(). too used to
Samba Release Account [Sat, 15 Mar 1997 19:08:18 +0000 (19:08 +0000)]
finally!  doing a strequal() == 0 instead of just strequal().  too used to
strcmp.  oops.

lkcl
(This used to be commit cb8d00fff3062b1784c99c61b61e4a0899ff2771)

27 years agocompile errors. oops.
Samba Release Account [Sat, 15 Mar 1997 18:40:50 +0000 (18:40 +0000)]
compile errors. oops.

lkcl
(This used to be commit b42bbc902bc2e5d8843ba20129910ea292be4b85)

27 years agobecome_domain_master(), become_local_master() and become_logon_server()
Samba Release Account [Sat, 15 Mar 1997 18:38:27 +0000 (18:38 +0000)]
become_domain_master(), become_local_master() and become_logon_server()
weren't being called properly from name_register_work().

lkcl
(This used to be commit 9987724cb8e7bcc25c6fb50dc8e645efc1499fa5)

27 years agobug: when checking whether there is a PDC already on the current local
Samba Release Account [Sat, 15 Mar 1997 17:59:42 +0000 (17:59 +0000)]
bug: when checking whether there is a PDC already on the current local
subnet, on finding that there was no response, the (broadcast) ip address
queried was accidentally being compared to the (unicast) interface ip
address.  this would stop non-WINS-client nmbds from ever becoming a PDC.

lkcl
(This used to be commit 94060a4a9b834aff3857abfbc9ca9c0e6298aeca)

27 years agoJHT ===> Blasted typos. BROWSER_ELECT_VERSION in smb.h should have been
Samba Release Account [Sat, 15 Mar 1997 14:58:30 +0000 (14:58 +0000)]
JHT ===> Blasted typos. BROWSER_ELECT_VERSION in smb.h should have been
BROWSER_ELECTION_VERSION.
(This used to be commit 377bfdecfcf618322004bfdcbdf9e520c0ebe8b5)

27 years agoJHT ===> Moved MAJOR_VERSION and MINOR_VERSION defines to smb.h
Samba Release Account [Sat, 15 Mar 1997 14:47:00 +0000 (14:47 +0000)]
JHT ===> Moved MAJOR_VERSION and MINOR_VERSION defines to smb.h
Made version info consistent in ipc.c and nameannounce.c
Added define for BROWSER_ELECTION_VALUE and BROWSER_CONSTANT
(see do_announce_host() in nameannounce.c).

Sniffing with the latest bloodhound I found that the byte range
occupied by the BROWSER_ELECTION_VALUE is interpreted depending
on the type of announcement being made.

In a Local_Master_Announcement it is BROWSER_ELECTION_VALUE
but in both Workgroup_Announcement and Host_Announcement
this is seen as Comment_String_Pointer. What does this mean?
We need to know?
(This used to be commit 86b0018cc7e246910a9a621b2bf379f782506a08)

27 years agoupdated the entry on the MAC, because thursby do DAVE.
Samba Release Account [Thu, 13 Mar 1997 19:18:35 +0000 (19:18 +0000)]
updated the entry on the MAC, because thursby do DAVE.

lkcl
(This used to be commit 0c1db06e77e8129fb02d21cf389b6fbe6d17c564)

27 years agoadded jeremy's patch to return Node Status info type in a Node Status
Samba Release Account [Thu, 13 Mar 1997 19:05:51 +0000 (19:05 +0000)]
added jeremy's patch to return Node Status info type in a Node Status
response, instead of always Name Query.

oops.

lkcl
(This used to be commit 85a61bfb0e67dc995c4d0a65bab162a2129385fa)

27 years agoadded code that checks whether the DOMAIN<1b> name is claimed on the
Samba Release Account [Wed, 12 Mar 1997 20:21:11 +0000 (20:21 +0000)]
added code that checks whether the DOMAIN<1b> name is claimed on the
local subnet _before_ going and registering it.  the reason for this
is that i don't want to cause chaos by registering the name twice.

it's ok to register DOMAIN<1b> with the WINS server, because the WINS
server's job is to check a) _if_ there's a current owner of the name
b) if the current owner exists c) if the current owner still wants the
name.  if they don't, the WINS server responds by saying, 'yes, you can
have it'.

lkcl
(This used to be commit 0d51899b59204b99d5aeb9542c8adfff42167fec)

27 years agomissed some bits. added some more on profiles - e.g windows 95 description
Samba Release Account [Sun, 9 Mar 1997 18:21:46 +0000 (18:21 +0000)]
missed some bits.  added some more on profiles - e.g windows 95 description
of what needs to be done.

lkcl
(This used to be commit d998795503ce7872073a79a710a41ffdbc535e75)

27 years agoadded reference to thursby under section 3.1
Samba Release Account [Sun, 9 Mar 1997 18:17:08 +0000 (18:17 +0000)]
added reference to thursby under section 3.1

lkcl
(This used to be commit 2ee417a0c3915dc97ad6969d85d9bc6d8321187d)

27 years agoupdating documentation on:
Samba Release Account [Sun, 9 Mar 1997 16:27:15 +0000 (16:27 +0000)]
updating documentation on:

profiles; domain master browsing; netlogons; preferred master.

lkcl
(This used to be commit 43c02b4beab9aa19c3ed648fd4251e30b9615ce7)

27 years ago1) updated ipc.c NetUserGetInfo - load \\%L\%U instead of \\%L\HOMES
Samba Release Account [Sun, 9 Mar 1997 14:58:22 +0000 (14:58 +0000)]
1) updated ipc.c NetUserGetInfo - load \\%L\%U instead of \\%L\HOMES
   because the share must be browseable by a w95 client

2) send_mailslot_reply - unique or group datagram argument added.

3) netlogon.c - rewrote response packet to do the right thing for w95.

4) server.c reply_nt1() - added OEMDomainstring to the end.

5) (deep breath) reworked the nmbd-browsing code a little bit.
   i discovered two months ago that becoming a primary domain controller
   (and domain master browser) is done independently of becoming a
   backup domain controller (logon server) is done independently of
   becoming a local master browser.

   therefore, three sets of state-machines (instead of just one) are in
   place - each of which is responsible for taking samba through the
   required stages to become:  a logon server; a domain master browser;
   and a local master browser.

   each of these three things can occur independently on each interface,
   _including_ the wins pseudo-interface.  the only slight caveat is that
   the wins pseudo-interface, by virtue of _not_ being a broadcast
   interface, does _not_ register as a local master browser with the wins
   server, as this doesn't make sense.

lkcl
(This used to be commit 88c6a00c3c1b430307f512986185b5ed7aea7181)

27 years agopreferred master option will force an election every 5 minutes if the
Samba Release Account [Sat, 8 Mar 1997 18:47:07 +0000 (18:47 +0000)]
preferred master option will force an election every 5 minutes if the
server isn't a preferred master, and DEBUG(0,(...)) this.

reason: if the os level etc parameters aren't working properly, then
a domain master browser samba server that _ought_ to be the local master
browser as well might not.

i'll modify smb.conf.5 man page etc to reflect this change.

lkcl
(This used to be commit ebaff730c9cb6d04049fd9901d46dcd758357e95)

27 years agoAdded better debug for what kind of netbios packet we got.
Samba Release Account [Fri, 7 Mar 1997 17:28:41 +0000 (17:28 +0000)]
Added better debug for what kind of netbios packet we got.
jra@cygnus.com
(This used to be commit 4563d978feaed37aab78e62461026a79dbc50249)

27 years agoquotas.c: Fixed typo in #ifdef'ed compile.
Samba Release Account [Fri, 7 Mar 1997 17:24:22 +0000 (17:24 +0000)]
quotas.c: Fixed typo in #ifdef'ed compile.
ufc.c: Added pre-declaration of _ufc_doit().
jra@cygnus.com
(This used to be commit 7c690e020ffae9a56c678ae46ae87283a1aa92fe)

27 years agoFix fro signed/unsigned problem with TIME_T_MIN from Anatoly V. Grabar
Samba Release Account [Fri, 7 Mar 1997 17:22:27 +0000 (17:22 +0000)]
Fix fro signed/unsigned problem with TIME_T_MIN from Anatoly V. Grabar
<agra@sice.ru>
jra@cygnus.com
(This used to be commit ed7e3a9347c93cf5736132f93d43472a3809c80e)

27 years agoAdded fix (lost contributor, sorry) for more than 10 parameters.
Samba Release Account [Fri, 7 Mar 1997 17:21:05 +0000 (17:21 +0000)]
Added fix (lost contributor, sorry) for more than 10 parameters.
jra@cygnus.com
(This used to be commit 79f0c550d2cbaf9ed815f4bf923f054063388a9c)

27 years agoFixed typos.
Samba Release Account [Fri, 7 Mar 1997 17:18:37 +0000 (17:18 +0000)]
Fixed typos.
jra@cygnus.com
(This used to be commit 29604e0ebfe0de97e669452ad1a8bf948a64777c)

27 years agoadded logon script and logon path parameters.
Samba Release Account [Sun, 2 Mar 1997 19:50:17 +0000 (19:50 +0000)]
added logon script and logon path parameters.

lkcl
(This used to be commit e722aeed99b3e7413cb7d5fc31cda38711f7dfc6)

27 years agoadded warning to admin people about [nelogon] share must be read-only,
Samba Release Account [Sun, 2 Mar 1997 18:55:18 +0000 (18:55 +0000)]
added warning to admin people about [nelogon] share must be read-only,
so people don't create their own batch files to stuff other users.

lkcl
(This used to be commit 9685519aa279bfcd24e089871f6e68a6c664e0c1)

27 years agoadded reference on CONFIG.POL being loaded from the root of the [netlogon]
Samba Release Account [Sun, 2 Mar 1997 18:03:58 +0000 (18:03 +0000)]
added reference on CONFIG.POL being loaded from the root of the [netlogon]
share, because i've been trawling through NT server help files again.

lkcl
(This used to be commit 5a1b8c882edb22799e794a48574dbde37637b429)

27 years agoadded debug_nmb_packet() call.
Samba Release Account [Sun, 2 Mar 1997 14:20:12 +0000 (14:20 +0000)]
added debug_nmb_packet() call.

lkcl
(This used to be commit 8a81c6d49ae62ce788188185c97058f2bdbc35e3)

27 years agoSplit maxxmit parameter into two : max_send (auto configured by the
Samba Release Account [Fri, 28 Feb 1997 20:39:36 +0000 (20:39 +0000)]
Split maxxmit parameter into two : max_send (auto configured by the
connecting client, as per CIFS4) and max_recv, which can be configured
as the old maxxmit was. Fixes problems with NT directory listings when
maxxmit is set very small.
jra@cygnus.com
(This used to be commit c2d5d1040a933987a0c39545bb5bf8e2fc400a87)

27 years agoJHT ===> Set to 1.9.16p12alpha until someone thinks it's Beta prime time.
Samba Release Account [Sun, 23 Feb 1997 07:00:44 +0000 (07:00 +0000)]
JHT ===> Set to 1.9.16p12alpha until someone thinks it's Beta prime time.
To be set to 1.9.16p12 just before release.
(This used to be commit 09d81adb9ef365003b1d9a8b5629a2a83fc27665)

27 years agoAdded documentation for directory mode/directory mask parameter.
Samba Release Account [Sun, 23 Feb 1997 05:19:51 +0000 (05:19 +0000)]
Added documentation for directory mode/directory mask parameter.
jra@cyngus.com
(This used to be commit 41a3919ac4d22923040bf5f30b3ba0a18b853116)

27 years agoMakefile: Added cleandir target.
Samba Release Account [Sun, 23 Feb 1997 05:18:09 +0000 (05:18 +0000)]
Makefile: Added cleandir target.
chgpasswd.c: Added patch from Roland Haag <haag@think.de> to allow
             password changes to be done more than once.
loadparm.c: Added entries for the "directory mode/directory mask parameters".
            Changed default file mode to 644.
proto.h: Added sys_gethostbyname.
server.c: Added directory mode changes.
system.c: Added sys_gethostbyname.
trans2.c: Added NT_FILE_ATTRIBUTE_NORMAL patch from Roger Orr
          <rorr@csfp.csfb.com>
trans2.h: Defined NT_FILE_ATTRIBUTE_NORMAL for above patch.
util.c: Changes calls to gethostbyname to sys_gethostbyname.
jra@cygnus.com
(This used to be commit d8d8a7ee00971fca7a8d079bfb547af107df35a4)

27 years agoJHT ===> Updated default RedHat smb.conf file
Samba Release Account [Sun, 23 Feb 1997 03:21:37 +0000 (03:21 +0000)]
JHT ===> Updated default RedHat smb.conf file
(This used to be commit 8851556da7b8795b69fa17cfd799ed328743e654)

27 years agoJHT ===> Updated SV_TYPE defines in smb.h (added WIN95 entry)
Samba Release Account [Sat, 22 Feb 1997 15:24:31 +0000 (15:24 +0000)]
JHT ===> Updated SV_TYPE defines in smb.h (added WIN95 entry)
nameserv.h returned to original state.
(This used to be commit e313de4619dcfde53db49ca4f7d6f78603504040)

27 years agoFixed problem with renaming folder on top level share.
Samba Release Account [Tue, 18 Feb 1997 17:20:14 +0000 (17:20 +0000)]
Fixed problem with renaming folder on top level share.
jra@cygnus.com
(This used to be commit 7ba1cff9341b4094fddf1e2e529b1e5b79aea675)

27 years agoJHT ===> Still mucking around with RPM building for RedHat Linux
Samba Release Account [Tue, 18 Feb 1997 02:56:08 +0000 (02:56 +0000)]
JHT ===> Still mucking around with RPM building for RedHat Linux
(This used to be commit 77568d945dba58f9611967ee06eef8efe79f7454)

27 years agoJHT ===> Hack, Hack, Hack. I just wanna get this spec file stuff right
Samba Release Account [Sun, 16 Feb 1997 05:30:42 +0000 (05:30 +0000)]
JHT ===> Hack, Hack, Hack. I just wanna get this spec file stuff right
so I can build RPMs on a DEC Alpha on which I do NOT have root
permissions. Argh!!!!!
(This used to be commit 5f3a5d6f626326ad18c46efe2ce5448844f0ade2)

27 years agoJHT ===> Trying to enable RPM build from non-root area.
Samba Release Account [Sat, 15 Feb 1997 08:38:06 +0000 (08:38 +0000)]
JHT ===> Trying to enable RPM build from non-root area.
makerpms.sh is just type and go attempt.
(This used to be commit 19edc76b97c77fb885f145b721c0fa1c75d4fd1c)

27 years agoFixed inclusion of crypt.h bug when libdes is being used on Solaris
Samba Release Account [Thu, 13 Feb 1997 20:49:12 +0000 (20:49 +0000)]
Fixed inclusion of crypt.h bug when libdes is being used on Solaris
only.
jra@cygnus.com
(This used to be commit c189ef38455653334b8414f30d0aeaa3ecefa202)

27 years agoFixed bugs in my YOST replacement code. Doing a trim_string
Samba Release Account [Thu, 13 Feb 1997 20:36:58 +0000 (20:36 +0000)]
Fixed bugs in my YOST replacement code. Doing a trim_string
in unix_clean_name caused directory names to go from ./ to "".
This is now checked for, unix_clean name returns ./ in these
cases.
jra@cygnus.com
(This used to be commit 64a16d9c2aae0405437f28dbb00e68080c09a7a1)

27 years agoJHT ===> Updated RedHat RPM Makefile - not really used except to generate
Samba Release Account [Wed, 12 Feb 1997 12:38:35 +0000 (12:38 +0000)]
JHT ===> Updated RedHat RPM Makefile - not really used except to generate
the RedHat Makefile diffs.
(This used to be commit a8b58121074bcc2ecce4a45a4346a6d13704b21c)

27 years agoReplaced YOST code with more functionally equivalent code that
Samba Release Account [Tue, 11 Feb 1997 22:53:29 +0000 (22:53 +0000)]
Replaced YOST code with more functionally equivalent code that
changes a bit less. Also added fix to tricky reply_mv case.
jra@cygnus.com
(This used to be commit f22ac13b1423186d463c9fc5b3588a3dcbd7bc1c)

27 years agoAdded trim_string(s, "./", 0) to unix_clean_name to remove
Samba Release Account [Mon, 10 Feb 1997 20:03:56 +0000 (20:03 +0000)]
Added trim_string(s, "./", 0) to unix_clean_name to remove
leading ./ characters.
jra@cygnus.com
(This used to be commit 617370314ef0d19002243105f5c8a549e3397152)

27 years agoRemoved YOST code. Removal of leading ./ chars should
Samba Release Account [Mon, 10 Feb 1997 19:27:27 +0000 (19:27 +0000)]
Removed YOST code. Removal of leading ./ chars should
be done in unix_clean_name in util.c
jra@cygnus.com
(This used to be commit f9f1085c7db673f602f9de07670a9bbf3205410f)

27 years agoJHT ===> William Yost patches integrated to fix leading path on 8.3
Samba Release Account [Mon, 10 Feb 1997 13:54:29 +0000 (13:54 +0000)]
JHT ===> William Yost patches integrated to fix leading path on 8.3
filename problem.
Problem conditions:
case sensitive = no
default case = lower
mangle case = yes
preserve case = yes
short preserve case = yes
Problem: Win95 still writes upper case file names.
Patches supplied have been incorporated into mangle.c and server.c
but needs YOSTW to be defined for it to take effect.

Action:
=======
If we are happy with the patch, delete old code in mangle.c, then
remove all YOSTW #ifdefs.
(This used to be commit 84fc674c89e8999f284b59888dfa2cdc47438e88)

27 years agofirst draft of NetBIOS.txt - WINS server and Broadcast NetBIOS name
Samba Release Account [Sun, 9 Feb 1997 16:45:43 +0000 (16:45 +0000)]
first draft of NetBIOS.txt - WINS server and Broadcast NetBIOS name
resolution / registration: what they are etc.

lkcl
(This used to be commit d096e0c3c2e182d2c94574bd8f4b1cf5c29056ff)

27 years agoupdated this document. now, when we get browsing questions, we can say,
Samba Release Account [Sun, 9 Feb 1997 15:36:13 +0000 (15:36 +0000)]
updated this document.  now, when we get browsing questions, we can say,
'ha!  RTSBSFSSM'!

lkcl
(This used to be commit bd21467f9bed2bebef66178810dbab01eb2e3887)

27 years agoupdated preferred master parameter and added domain master parameter.
Samba Release Account [Sun, 9 Feb 1997 14:32:28 +0000 (14:32 +0000)]
updated preferred master parameter and added domain master parameter.
entries kindly written by John Barker (johnb@tigerlabs.com).

lkcl
(This used to be commit 67a2cff2b51139e24695fc852e59105424eaa553)

27 years agoFixed incorrect offset into array.
Samba Release Account [Thu, 6 Feb 1997 17:33:03 +0000 (17:33 +0000)]
Fixed incorrect offset into array.
jra@cygnus.com
(This used to be commit 7c386c45b069462760b4a9c755959b67d5874cc1)

27 years agoJHT ===> Added os level and activated max log size in standard smb.conf file.
Samba Release Account [Tue, 4 Feb 1997 12:58:23 +0000 (12:58 +0000)]
JHT ===> Added os level and activated max log size in standard smb.conf file.
(This used to be commit fa7806124563638673f54c27f375a3732c4efc47)

27 years agoJHT ===> Oops again. Too quick - try again.
Samba Release Account [Tue, 4 Feb 1997 12:50:14 +0000 (12:50 +0000)]
JHT ===> Oops again. Too quick - try again.
(This used to be commit 7a6800cf9053dda2c7b0f1fe97f9ce996d4c16d9)

27 years agoJHT ===> Oops. Forgot about that renaming.
Samba Release Account [Tue, 4 Feb 1997 12:16:53 +0000 (12:16 +0000)]
JHT ===> Oops. Forgot about that renaming.
(This used to be commit e857331c19fd29d332d56ac64efce5f285dc850e)

27 years agoJHT ===> Getting ready for relase of 1.9.16p11 RedHat RPMS
Samba Release Account [Tue, 4 Feb 1997 12:06:15 +0000 (12:06 +0000)]
JHT ===> Getting ready for relase of 1.9.16p11 RedHat RPMS
(This used to be commit a64064cf3086ff5cfba66145539abfaa36c9e323)

27 years agoJHT ===> **** WARNING **** Only updated version to 1.9.16p11
Samba Release Account [Tue, 4 Feb 1997 11:21:19 +0000 (11:21 +0000)]
JHT ===> **** WARNING **** Only updated version to 1.9.16p11
so I can test RedHat RPM builds.
(This used to be commit fa1dff05d4a01be84638b4427ddc0e26b9c6166d)

27 years agoJHT ===> Beggining of fixes to RedHat config stuff - more to come!!
Samba Release Account [Tue, 4 Feb 1997 11:05:01 +0000 (11:05 +0000)]
JHT ===> Beggining of fixes to RedHat config stuff - more to come!!
(This used to be commit e7be06e6f0f19d018307e10aa866c1f62a671197)

27 years agoJHT ===> Fixed potential PAM Security hole and second chance syndrome
Samba Release Account [Tue, 4 Feb 1997 10:35:38 +0000 (10:35 +0000)]
JHT ===> Fixed potential PAM Security hole and second chance syndrome
spurious warning message "Warning - no crypt available"
(This used to be commit dc559428b85474ff4d80f37f421365a3910a8861)

27 years agoFixed my stupid typo in earlier fix.
Samba Release Account [Tue, 4 Feb 1997 01:21:52 +0000 (01:21 +0000)]
Fixed my stupid typo in earlier fix.
jra@cygnus.com
(This used to be commit e9a8ccb36bc94e161fdf85c1de8310937710c92f)

27 years agoFixed up problems with CDROM filesystems (return EROFS) and
Samba Release Account [Mon, 3 Feb 1997 19:48:56 +0000 (19:48 +0000)]
Fixed up problems with CDROM filesystems (return EROFS) and
also compile issue with USE_MMAP code.
jra@cygnus.com
(This used to be commit 8e9fe58991c32817142aa2a6caec1df0c4fa4b08)

27 years agoFixed const definitions for StrCaseXXX calls.
Samba Release Account [Mon, 3 Feb 1997 19:41:59 +0000 (19:41 +0000)]
Fixed const definitions for StrCaseXXX calls.
jra@cygnus.com
(This used to be commit cbb59639659476054571d4bd18b5df55b0e11a2e)

27 years agoFixed bug with NT and large directories.
Samba Release Account [Mon, 3 Feb 1997 19:40:15 +0000 (19:40 +0000)]
Fixed bug with NT and large directories.
jra@cygnus.com
(This used to be commit f0aa5e3ff05053224cffc8243237e7675e8b413b)

27 years agoutil.c: StrCaseCmp and StrnCaseCmp terminated incorrectly, giving false
Samba Release Account [Sun, 2 Feb 1997 18:12:36 +0000 (18:12 +0000)]
util.c: StrCaseCmp and StrnCaseCmp terminated incorrectly, giving false
answers when a string was partially identical.  this issue is still
outstanding, and needs to be investigated further.

loadparm.c: added lp_logon_path() parameter.
ipc.c: in NetUserGetInfo, lp_logon_path() can be returned instead of always
specifying \\SAMBA_SERVER\HOMES (which may not necessarily exist).
it is now possible to specify lp_logon_path() as \\ARBITRARY_SERVER\%U,
just like NT server can.  the default is \\SAMBA_SERVER\HOMES, just like
it used to be.

lkcl
(This used to be commit d5b6ad7cb87d6b1a9342f027ac4f57ffdb54b4f3)

27 years agoline 1960 - call to atexit - address of higher order function killkids
Samba Release Account [Sun, 2 Feb 1997 16:03:51 +0000 (16:03 +0000)]
line 1960 - call to atexit - address of higher order function killkids
not needed (address already specified).

lkcl
(This used to be commit c5ab2eb71afd2961dfb61da30984a8b0fc88e754)