ira/wip.git
26 years agoa smaller background
Andrew Tridgell [Sun, 15 Mar 1998 00:01:34 +0000 (00:01 +0000)]
a smaller background
(This used to be commit bcec95740f96aa4a3b022f41e2167cc74afeea92)

26 years agoadded a background image based on Pauls SAMBA logo but manipulated a
Andrew Tridgell [Sat, 14 Mar 1998 23:55:27 +0000 (23:55 +0000)]
added a background image based on Pauls SAMBA logo but manipulated a
little with GIMP
(This used to be commit 57f4dfcbf307ad4e261e59f0545d500b3bae71e5)

26 years agoupdated blurb some more
Andrew Tridgell [Sat, 14 Mar 1998 13:37:47 +0000 (13:37 +0000)]
updated blurb some more
(This used to be commit 1c0d4c80068e6da13f0b5140c3e99c41a81468d5)

26 years agoupdated blurb
Andrew Tridgell [Sat, 14 Mar 1998 13:16:01 +0000 (13:16 +0000)]
updated blurb
(This used to be commit 52417e37a1db850f97f0c81457d04d0e9796d7c0)

26 years agoput in the longer welcome blurb
Andrew Tridgell [Sat, 14 Mar 1998 13:11:57 +0000 (13:11 +0000)]
put in the longer welcome blurb
(This used to be commit 181e59f46520aeacc9f160b69abec4cb182219f2)

26 years agonew files to support starting/stopping the server
Andrew Tridgell [Sat, 14 Mar 1998 13:00:09 +0000 (13:00 +0000)]
new files to support starting/stopping the server
(This used to be commit 087981009d57006ff80a0cf50891d4473f86f1bb)

26 years agoadded the ability to start/stop the server from SWAT.
Andrew Tridgell [Sat, 14 Mar 1998 12:57:58 +0000 (12:57 +0000)]
added the ability to start/stop the server from SWAT.

I needed to modify the way the pidfile is handled in nmbd and smbd to
do this. Jeremy, you may wish to look at what I've done as it probably
breaks the Whistle use of pidfiles. In particular I've removed the -f
option and instead smbd and nmbd always create a pidfile in the lock
directory.
(This used to be commit 20bb22d61b986d2036c681fc33db60f2b2b3c1c7)

26 years agoif a local parameter is changed at the global level then propogate the
Andrew Tridgell [Sat, 14 Mar 1998 11:24:01 +0000 (11:24 +0000)]
if a local parameter is changed at the global level then propogate the
change to all shares that are currently set to the default value.
(This used to be commit b0e1183b2cbeb7a3150b7250cd19d14c9e5508b6)

26 years agoprototype updates
Andrew Tridgell [Sat, 14 Mar 1998 08:31:48 +0000 (08:31 +0000)]
prototype updates
(This used to be commit a565ff605094ed5b05d82b59b7993a3088873733)

26 years agoadded another pathetic looking icon
Andrew Tridgell [Sat, 14 Mar 1998 08:29:46 +0000 (08:29 +0000)]
added another pathetic looking icon
(This used to be commit 5b1fca9d3e995f2ea4dc2bcbef92c033463e9847)

26 years ago- added separators
Andrew Tridgell [Sat, 14 Mar 1998 08:29:06 +0000 (08:29 +0000)]
- added separators
- added "view config" button
(This used to be commit 486a059fe169baedc605ee9bc0a0ca5a4165fe65)

26 years agoanother makeover of loadparm to support new stuff in swat and
Andrew Tridgell [Sat, 14 Mar 1998 08:27:41 +0000 (08:27 +0000)]
another makeover of loadparm to support new stuff in swat and
testparm.

In particular I added:

- ability to optionally save default values of all parameters when
  calling lp_load(). This can then be used to save only non-default
  parameters in lp_dump(). This makes the saved smb.conf (and viewed
  parameters in testparm) much shorter

- ability to not load ipc share in lp_load()

- separators in parm_table[] so parameters can be grouped logically.

- flag to mark parameters that are local but which should be also
  viewed as global as far as parameters editing is concerned
(This used to be commit f9af35da26e58fb0b644b5f0169f1c212230047a)

26 years agoupdated to give instructions on running via cgi-bin
Andrew Tridgell [Sat, 14 Mar 1998 04:32:09 +0000 (04:32 +0000)]
updated to give instructions on running via cgi-bin
(This used to be commit 23a8588765af24544433fedeeb927a4f68cb1263)

26 years agoanother fix for running under cgi-bin
Andrew Tridgell [Sat, 14 Mar 1998 04:20:55 +0000 (04:20 +0000)]
another fix for running under cgi-bin
(This used to be commit 6e2248532a063a83b682c967a65377488810f9eb)

26 years agofixed support for running swat via cgi-bin
Andrew Tridgell [Sat, 14 Mar 1998 04:13:24 +0000 (04:13 +0000)]
fixed support for running swat via cgi-bin
(This used to be commit 9dbfb16990954ee3518ce3bc73e067c82b653930)

26 years agoremoved a redundent return statement
Andrew Tridgell [Sat, 14 Mar 1998 04:11:56 +0000 (04:11 +0000)]
removed a redundent return statement
(This used to be commit 24e1539cd06a630334135f957720ed030ec4e894)

26 years agofixed instructions in installswat.sh (thanks to Herb again!)
Andrew Tridgell [Sat, 14 Mar 1998 01:26:46 +0000 (01:26 +0000)]
fixed instructions in installswat.sh (thanks to Herb again!)
(This used to be commit 5e25c845c7c9fe3330cd84e84cfc9b08d77d8cc3)

26 years agoremove an unnecessary #ifdef
Andrew Tridgell [Sat, 14 Mar 1998 00:48:40 +0000 (00:48 +0000)]
remove an unnecessary #ifdef
(This used to be commit dfaa576d7e661b772daae602152239d8a1adce88)

26 years agoFixed typos. Anyone else like to vet this?
John Terpstra [Thu, 12 Mar 1998 13:14:35 +0000 (13:14 +0000)]
Fixed typos. Anyone else like to vet this?
(This used to be commit 49e025d557bc2b2a3a8e9a33d6736ca3972287b0)

26 years agoa brief description of how to install and run SWAT
Andrew Tridgell [Thu, 12 Mar 1998 03:39:42 +0000 (03:39 +0000)]
a brief description of how to install and run SWAT
(This used to be commit 349500965c7e10cb073e50fe4d4b2abc19a3df18)

26 years agoadded an install target for SWAT
Andrew Tridgell [Thu, 12 Mar 1998 03:12:30 +0000 (03:12 +0000)]
added an install target for SWAT
(This used to be commit 1a87b2c2b61b3785b6a6597b220fec611c5872e6)

26 years agosome initial help and images files for swat
Andrew Tridgell [Thu, 12 Mar 1998 03:00:44 +0000 (03:00 +0000)]
some initial help and images files for swat
(This used to be commit d2376416d6350b22550ab56a590afd06d7c4d9bf)

26 years agomoved cgi.c and swat.c into a source/web/ directory. Note that you
Andrew Tridgell [Thu, 12 Mar 1998 02:56:17 +0000 (02:56 +0000)]
moved cgi.c and swat.c into a source/web/ directory. Note that you
won't see a cvs add in the web directory or these files as I added
them by directly copying in the repository. This keeps the history of
the files intact.
(This used to be commit abe0379cf99f63116ea6f61337134ad5c228f933)

26 years agomove setup_groups() into password.c so that swat can link without
Andrew Tridgell [Thu, 12 Mar 1998 02:43:46 +0000 (02:43 +0000)]
move setup_groups() into password.c so that swat can link without
including server.o
(This used to be commit 67bb8835c76e3efc43de55493971fe2402c0d709)

26 years agouse password_ok() instead of calling crypt()
Andrew Tridgell [Thu, 12 Mar 1998 02:42:39 +0000 (02:42 +0000)]
use password_ok() instead of calling crypt()
(This used to be commit 53dc8ea5e315abf9ee8d38ffdb8a3057df0235be)

26 years agoadd swat to .cvsignore
Andrew Tridgell [Thu, 12 Mar 1998 02:18:50 +0000 (02:18 +0000)]
add swat to .cvsignore
(This used to be commit e826790666a7fb4a39ecdbc8c8084d484a011a62)

26 years agothese have been replaced by swat
Andrew Tridgell [Thu, 12 Mar 1998 02:17:56 +0000 (02:17 +0000)]
these have been replaced by swat
(This used to be commit f9ce87f8658920bd73ed9968723bd5c65a07b8b2)

26 years agoadd FLAG_HIDE to "config file" option (so it can't be set in swat)
Andrew Tridgell [Thu, 12 Mar 1998 02:16:23 +0000 (02:16 +0000)]
add FLAG_HIDE to "config file" option (so it can't be set in swat)
(This used to be commit f9f9fe67c7570f7585099a14c36bb3ff0291cdf4)

26 years agouse FSTYPE_STRING not "SAMBA" for filesystem type
Andrew Tridgell [Thu, 12 Mar 1998 02:15:32 +0000 (02:15 +0000)]
use FSTYPE_STRING not "SAMBA" for filesystem type
(This used to be commit df62c80e1d04059905b8a3c5bf9073ba91331e99)

26 years agoreport the max size of raw reads as 65536 not 65535 (this now matches
Andrew Tridgell [Thu, 12 Mar 1998 02:14:29 +0000 (02:14 +0000)]
report the max size of raw reads as 65536 not 65535 (this now matches
what Win95 reports)
(This used to be commit a4c6884f43233d57a5f6465f67c4657dd061ae43)

26 years agoMissed fixes in NTDOM branch for doing readX via pipe IPC$.
Jeremy Allison [Wed, 11 Mar 1998 23:20:26 +0000 (23:20 +0000)]
Missed fixes in NTDOM branch for doing readX via pipe IPC$.
Allows long share lists to be browsed.
Browsing *into* a long share name still fails, though.
(Luke - you may need to look into this).
Jeremy.
(This used to be commit 5299d1b49f2bfd6cf84a687548904206f4a18a41)

26 years ago"For I have laboured mightily on Luke's code, and hath broken
Jeremy Allison [Wed, 11 Mar 1998 21:11:04 +0000 (21:11 +0000)]
"For I have laboured mightily on Luke's code, and hath broken
all I saw" - the book of Jeremy, chapter 1 :-).

So here is the mega-merge of the NTDOM branch server code.
It doesn't include the new client side pieces, we'll look
at that later.

This should give the same functionality, server wise, as
the NTDOM branch does, only merged into the main branch.

Any fixes to domain controler functionality should be
added to the main branch, not the NTDOM branch.

This code compiles without warnings on gcc2.8, but will
need further testing before we are sure all the working
functionality of the NTDOM server branch has been
correctly carried over.

I hereby declare the server side of the NTDOM branch
dead (and all who sail in her :-).

Jeremy.
(This used to be commit 118ba4d77a33248e762a2cf843fb7cbc906ee6e7)

26 years agofix core dumps on Solaris 2.5 systems found by Orn Asgeirsson
Herb Lewis [Wed, 11 Mar 1998 17:44:27 +0000 (17:44 +0000)]
fix core dumps on Solaris 2.5 systems found by Orn Asgeirsson
(This used to be commit bafc7768925109d0e8e87152054d37ec3f4e7fdd)

26 years agoThis functionality was added to ubi_sLinkList, so is no longer needed as a
Christopher R. Hertel [Tue, 10 Mar 1998 15:41:59 +0000 (15:41 +0000)]
This functionality was added to ubi_sLinkList, so is no longer needed as a
separate module.

Chris -)-----
(This used to be commit 687e9be59bc853f3ada6005c3826689854489799)

26 years agoUpdates to all of these base level modules.
Christopher R. Hertel [Tue, 10 Mar 1998 15:39:41 +0000 (15:39 +0000)]
Updates to all of these base level modules.
Trees: Previously, the AVL node type was different than the node type used
       in the BinTree and SplayTree modules.  It requires an additional
       field to maintain AVL balance information.  I merged that field into
       the base type (in ubi_BinTree.h) so that all three use the same
       node type.  On most systems this will have zero effect on the node
       size, due to word alignment.  The change allowed me to remove a
       bigbunch of redundant code, which makes the AVL module smaller and
       cleaner.
Linked Lists:  I combined ubi_StackQueue into ubi_sLinkList.  The interface
       has changed a tiny bit.  I added macros to ubi_dLinkList to round
       it out a bit.

I have verified that the few Samba modules that use these tools (so far)
do not have any problems with the changes.

Chris -)-----
(This used to be commit 599a29401defded32358dfae18e54704c0428f38)

26 years agoadded status page to SWAT. Similar to smbstatus output but in a HTML
Andrew Tridgell [Tue, 10 Mar 1998 06:42:36 +0000 (06:42 +0000)]
added status page to SWAT. Similar to smbstatus output but in a HTML
table
(This used to be commit 8e4a412dba3dc6458651ea042096687b3fcfdc0a)

26 years agoadded a "home" icon
Andrew Tridgell [Tue, 10 Mar 1998 05:47:01 +0000 (05:47 +0000)]
added a "home" icon
(This used to be commit 60ef0b31a0e85164a89a70a4f0d4e675db25f35d)

26 years agoadded Date and Expires headers in the mini web server so clients know
Andrew Tridgell [Tue, 10 Mar 1998 04:56:58 +0000 (04:56 +0000)]
added Date and Expires headers in the mini web server so clients know
what they can cache.
(This used to be commit b6055e40bb91775a29b756640d95910a6f19814f)

26 years ago- remove redundent strstr()
Andrew Tridgell [Sun, 8 Mar 1998 14:52:45 +0000 (14:52 +0000)]
- remove redundent strstr()

- don't show printers in shares page
(This used to be commit 2b4204a7769a974a74a7658e787274f6251b1d69)

26 years agoallow for non-authenticated SWAT for demo purposes
Andrew Tridgell [Sun, 8 Mar 1998 14:31:50 +0000 (14:31 +0000)]
allow for non-authenticated SWAT for demo purposes
(This used to be commit 6e1237568b559c006ee5429308ac47e97cc4a1c4)

26 years agoJeremy is going to hate me ...
Andrew Tridgell [Sun, 8 Mar 1998 14:14:49 +0000 (14:14 +0000)]
Jeremy is going to hate me ...

These are some hacks on SWAT. Maybe users will actually be able to
work out how to use it now.

Unfortunately these changes required some editing in loadparm.c and
smb.h which will make Jeremys merge job harder. Sorry!
(This used to be commit 674c88a6bf4c8009769a482c53f105efdc54bbc8)

26 years agoRemoved broken change I made to mangle.c (ooops. Andrew's original
Jeremy Allison [Wed, 4 Mar 1998 22:24:07 +0000 (22:24 +0000)]
Removed broken change I made to mangle.c (ooops. Andrew's original
algorithm was correct).
Finally (I think) fixed the mangled directory stack issue in
scan_directory() correctly. Mangled & non-mangled names are
now being checked correctly. Hurrah to Ulrik Dickow <ukd@kampsax.dk>
who helped isolate this one.
Jeremy.
(This used to be commit 37f5f7b557aa59c7eba4a9f2f2f323d7cec62fc7)

26 years agoAdding Korean and Traditional Chinese codepage support.
Jeremy Allison [Wed, 4 Mar 1998 01:50:47 +0000 (01:50 +0000)]
Adding Korean and Traditional Chinese codepage support.
Jeremy.
(This used to be commit 2df47cf1bb3428fbaa8dcf45ec114ec3aaafae57)

26 years agoChange the multibyte character set support so that
Jeremy Allison [Tue, 3 Mar 1998 20:19:14 +0000 (20:19 +0000)]
Change the multibyte character set support so that
Kanji support is one case of multibyte character
support, rather than being a specific case in
single byte character support.

This allows us to add Big5 Chinese support (code page 950)
and Korean Hangul support (code page 949) at very little
cost. Also allows us to easily add future multibyte
code pages.

Makefile: Added codepages 949, 950 as we now support more multibyte
codepages.
asyncdns.c: Fixed problem with child being re-spawned when parent killed.
charcnv.c
charset.c
client.c
clitar.c
kanji.c
kanji.h
smb.h
util.c
loadparm.c: Generic multibyte codepage support (adding Big5 Chinese
            and Korean Hangul).
nmbd.c: Fixed problem with child being re-spawned when parent killed.
mangle.c: Modified str_checksum so that first 15 characters have more
          effect on outcome. This helps with short name mangling as
          most 'long' names are still shorter than 15 chars (bug was
          foobar_mng and foobar_sum would hash to the same value, with
          the modified code they hash differently.
Jeremy.
(This used to be commit 299016338cfb47f0c585875ef9b468121fcee97d)

26 years agoadding findsmb perl script to get info on smb machines on a net
Herb Lewis [Mon, 2 Mar 1998 21:27:07 +0000 (21:27 +0000)]
adding findsmb perl script to get info on smb machines on a net
(This used to be commit 4adb00e41abbbaf6eaa014e6a599cb2c8b77d7da)

26 years agoAdding example config info for the ISC DHCP Server, An MS Knowledge Base article...
John Terpstra [Sun, 1 Mar 1998 11:10:04 +0000 (11:10 +0000)]
Adding example config info for the ISC DHCP Server, An MS Knowledge Base article contributed by an anonymous person, and adding Caldera Inc. printing config notes to Printing.txt.
(This used to be commit 914b1626178aab30da07a14f14d04703106b95c4)

26 years agoMakefile, password.c, includes.h: Added KRB4 patches from Johan Hedin <johanh@fusion...
Jeremy Allison [Thu, 26 Feb 1998 22:58:21 +0000 (22:58 +0000)]
Makefile, password.c, includes.h: Added KRB4 patches from Johan Hedin <johanh@fusion.kth.se>
nmbd_packets.c: Patch for aliased interfaces from Daniel Haun <dhaun@ecf2.puc.edu>.
Jeremy.
(This used to be commit 60f6302b1972e49159bf6e1a838e691268e4399c)

26 years ago-N option still prompted for password in smbclient -L usage
Herb Lewis [Thu, 26 Feb 1998 20:41:05 +0000 (20:41 +0000)]
-N option still prompted for password in smbclient -L usage
(This used to be commit 140fba461bc22f26055c13b04a084d2df16ac604)

26 years agoFix for NT redirector bug where deltree fails if the resume key
Jeremy Allison [Thu, 26 Feb 1998 19:53:55 +0000 (19:53 +0000)]
Fix for NT redirector bug where deltree fails if the resume key
indexes are changed between directory scans. This fix does what
NT4.x SP3 does in that it stops using resume keys and returns
zero instead. We now use the filename in findnext to continue
the search in the correct place (as NT does).
Jeremy.
(This used to be commit b813fb22c4c1b0ee48667e99e82434d20266bbf2)

26 years agoCode to work around a bug in FTP OnNet software NBT implementation.
Jeremy Allison [Thu, 26 Feb 1998 19:26:18 +0000 (19:26 +0000)]
Code to work around a bug in FTP OnNet software NBT implementation.
They do a broadcast name release for WORKGROUP<0> and WORKGROUP<1e>
names and *don't set the group bit*.

Jeremy.
(This used to be commit 1feb54e1ba27ab8aba2df4ebef4df010ca980f12)

26 years agoFixed bug reported by Janne.Harju@nmp.nokia.com. When used in broadcast
Jeremy Allison [Tue, 24 Feb 1998 20:05:39 +0000 (20:05 +0000)]
Fixed bug reported by Janne.Harju@nmp.nokia.com. When used in broadcast
only mode nmbd was not reporting WORKGROUP<0> and WORKGROUP<1e> names
to a unicast node status query (although it was registering these names
on the network). Also tidied up code in nmbd_mynames.c so that all
known IP addresses are registered in the unicast subnet in this case
rather than just the first, as was previously done.
Jeremy.
(This used to be commit eb71c5edcbb983ed4a1b0f57139bd66b671c67fa)

26 years agoFixed bug where second response message was being printed with the
Jeremy Allison [Tue, 24 Feb 1998 18:46:47 +0000 (18:46 +0000)]
Fixed bug where second response message was being printed with the
wrong IP address. This confused a lot of people (including me :-).
Jeremy.
(This used to be commit 0f4080d3f076db58917d13787a282e96ba59a053)

26 years agonmbd_incomingdgrams.c: Fix for typo.
Jeremy Allison [Tue, 24 Feb 1998 17:59:34 +0000 (17:59 +0000)]
nmbd_incomingdgrams.c: Fix for typo.
nmbd_sendannounce.c: Remote announcement was announcing to the wrong name !
nmblookup.c: Fix for substitutions not seeing hostname.
testparm.c: Fix for substitutions not seeing hostname.
wsmbstatus.c: Fix for substitutions not seeing hostname.
util.c: Change read_udp_socket to use sockaddr_in rather than dubiously
messing around with an opaque data type (sockaddr).
Jeremy.
(This used to be commit 776ccf5c0641b5aa300236c2612b5f2761d1179f)

26 years agonmbd_packets.c: nmbd_subnetdb.c: Patch from Andrey Alekseyev <fetch@muffin.arcadia...
Jeremy Allison [Fri, 20 Feb 1998 19:48:01 +0000 (19:48 +0000)]
nmbd_packets.c: nmbd_subnetdb.c: Patch from Andrey Alekseyev <fetch@muffin.arcadia.spb.ru>
to fix the fact that retransmit_or_expire_response_records() wasn't looking
at the WINS subnet.
server.c: Patch from jkf@soton.ac.uk to add %p (NIS server path) substitution.
smbpass.c: Fix to stop parsing failing on non-valid lines.
trans2.c: Fix for volume serial number code.
util.c:  Patch from jkf@soton.ac.uk to add %p (NIS server path) substitution.
         Fix for warnings under RH5. gcc 2.8.
Jeremy.
(This used to be commit e58ab3bbe6e939ba678ad5482e58e0191c8dcbcb)

26 years agoFix to make us compile cleanly with gcc 2.8.
Jeremy Allison [Sat, 14 Feb 1998 14:32:36 +0000 (14:32 +0000)]
Fix to make us compile cleanly with gcc 2.8.
Jeremy.
(This used to be commit 0a535680077a9e436362fd7f1711f62b35317fa4)

26 years agoSometime after 1.9.17p5 smbclient stopped being able to do
Jeremy Allison [Sat, 14 Feb 1998 07:11:46 +0000 (07:11 +0000)]
Sometime after 1.9.17p5 smbclient stopped being able to do
NetBIOS name lookups by broadcast and instead only does DNS.
With the belief that this was not what was intended (I think
it happened in the clientutil.c cleanup) I have added that
capability back to smbclient by adding the #define USENMB
into clientutil.c, and adding the required namequery.o into
the object lists for smbclient and smbmount (as they now
need it to link).
If this was done intentionally let me know and I'll back
this out.
Jeremy.
(This used to be commit 1da47e79d3055468b03f496982af0fb836d91f8c)

26 years agoFix for crash bug with amanda - from "Michael C. Povel" <Michael.Povel@hub.de>.
Jeremy Allison [Fri, 13 Feb 1998 12:40:23 +0000 (12:40 +0000)]
Fix for crash bug with amanda - from "Michael C. Povel" <Michael.Povel@hub.de>.
Jeremy.
(This used to be commit 735adfa01b7b2e540bb5476a77d6b689ca70852a)

26 years agoUpdated - removed "win95 bug compatibility" and added "dos filetime resolution".
Jeremy Allison [Fri, 13 Feb 1998 07:13:52 +0000 (07:13 +0000)]
Updated - removed "win95 bug compatibility" and added "dos filetime resolution".
Jeremy.
(This used to be commit 7ca827b6eaf948d57b8aefb09c6818371e1cd65b)

26 years agoDing-dong the witch is dead, the witch is dead......
Jeremy Allison [Fri, 13 Feb 1998 07:11:58 +0000 (07:11 +0000)]
Ding-dong the witch is dead, the witch is dead......
This is the checkin that fixes the infamous Visual C++ 'file
has changed' bug.
I feel *SO* good about that :-).
charset.c: Added (void) to fix Herb's fussy compiler.
loadparm.c: Removed "win95 bug compatibility" (didn't
            like it much anyway :-). Added "dos filetime resolution"
            instead.
reply.c: Added the 2 second timestamp resolution fix that the song above is about.
time.c: Removed unneeded get_access_time() function.
trans2.c : Removed unneeded "win95 bug compatibility" code.
Jeremy.
(This used to be commit 10d628e4aeaecc573de27e251fec7b91844cba40)

26 years agomake the initial logfile names consistent. This should mean that smbd
Andrew Tridgell [Thu, 12 Feb 1998 14:57:55 +0000 (14:57 +0000)]
make the initial logfile names consistent. This should mean that smbd
starts with log.smb and nmbd starts with log.nmb. It also gets rid of
the "log." when using the log.%m construct as %m expands to smb before
a client connects.
(This used to be commit b7712a0a6d0afeef6239d5af61cba677eebb247b)

26 years agoAdded fix for doing pq command (from "James J. Szinger" <james.szinger@yale.edu>).
Jeremy Allison [Thu, 12 Feb 1998 11:59:55 +0000 (11:59 +0000)]
Added fix for doing pq command (from "James J. Szinger" <james.szinger@yale.edu>).
Jeremy.
(This used to be commit 7123405d6351cf6457adb1199dab3c6416bf9865)

26 years agoENCRYPTION.txt: Fixed typo.
Jeremy Allison [Thu, 12 Feb 1998 07:17:07 +0000 (07:17 +0000)]
ENCRYPTION.txt: Fixed typo.
Support.txt: Added consultant.
smb.conf.5: Updated with new parameters.
Jeremy.
(This used to be commit 71c70cf090b749827ae4186a6d389864708b7899)

26 years agoremoved old unused test
Herb Lewis [Wed, 11 Feb 1998 11:38:09 +0000 (11:38 +0000)]
removed old unused test
(This used to be commit 88247f23c6b6f3a7972cee3ffc3a0f8d15a899e2)

26 years agofixed typo
Andrew Tridgell [Wed, 11 Feb 1998 11:25:04 +0000 (11:25 +0000)]
fixed typo
(This used to be commit a083cef78ba235cde22453d763a7f8caca8bbe58)

26 years agoMakefile: Added AIX 3.2.5.
Jeremy Allison [Wed, 11 Feb 1998 11:07:14 +0000 (11:07 +0000)]
Makefile: Added AIX 3.2.5.
loadparm.c: Added "win95 bug compatibility" parameter.
local.h: Replaced MAX_OPEN_FILES back to 100 from 10 (oops).
reply.c: Fixed ulogoff check against uid - changed to vuid.
server.c: Changed file struct save of uid - changed to vuid.
smb.h: Changed id in struct current_user to vuid.
       Changed file struct uid to vuid.
time.c: Added "win95 bug compatibility" atime -> mtime return.
trans2.c: Added "win95 bug compatibility" fixes.
uid.c: Changed id in struct current_user to vuid - added checks
       to set/reset it.
util.c: Added code to expand environment variables.
version.h : still at 1.9.18 (head branch doesn't matter too much at present).
Jeremy.
(This used to be commit adc903bcf59ad1664babd7f1d43675d3a75bfbc9)

26 years agoA small raft of changes, I will sync up with 1.9.18 also.
Jeremy Allison [Sat, 7 Feb 1998 12:15:20 +0000 (12:15 +0000)]
A small raft of changes, I will sync up with 1.9.18 also.
chgpasswd.c: Fixed typo in debug message.
includes.h: Fix include for aix.
kanji.c: Added cap_to_sj as inverse of sj_to_cap.
loadparm.c:
local.h:
password.c: Added code for "networkstation user login" parameter.
- patch from Rob Nielsen <ran@adc.com>.
printing.c: Added further aix printing fixes.
reply.c: Changed access time fetch to a function.
trans2.c: Changed access time fetch to a function.
time.c: Changed access time fetch to a function.
server.c: Made NT redirector workaround final.
util.c: Added debug for write_socket failing.
Jeremy.
(This used to be commit a031404623c22d62f8de035be2239f609af08112)

26 years agoAdded Newcast - UK Consultant to Support.txt
John Terpstra [Tue, 3 Feb 1998 23:43:37 +0000 (23:43 +0000)]
Added Newcast - UK Consultant to Support.txt
(This used to be commit 3e438c8e7ac336c12d40b0be967b04b2ae6b39a5)

26 years agoRemoved Brett Worth from Support.txt as per Bug#3833
John Terpstra [Tue, 3 Feb 1998 23:37:13 +0000 (23:37 +0000)]
Removed Brett Worth from Support.txt as per Bug#3833
(This used to be commit 9afe9d8897dbc2740dbba895186614cf1f1716ce)

26 years agoserver.c: Added fix where, if all the file entries are being
Jeremy Allison [Sat, 31 Jan 1998 14:31:08 +0000 (14:31 +0000)]
server.c: Added fix where, if all the file entries are being
used, smbd tries to break an oplock to make room for another
file entry. This works well with Windows 95 that seems to keep
batch oplocks around for an arbitrarily long time.
Also changed rlimit code to ask for MAX_OPEN_FILES + 10 (if allowed) as
many systems use file descriptors for directory handles also.
Jeremy.
(This used to be commit 1544d5a0f889d42696656fb18d2da1c1f8626b2b)

26 years agofix bug when using lpstat as printcap file - remove space at start of
Herb Lewis [Fri, 30 Jan 1998 05:22:45 +0000 (05:22 +0000)]
fix bug when using lpstat as printcap file - remove space at start of
printer names generated
(This used to be commit 8f48a0571a4dda282bd3438e54a029400b7ca448)

26 years agoMakefile: Fix for OSF1 typo.
Jeremy Allison [Thu, 29 Jan 1998 08:25:46 +0000 (08:25 +0000)]
Makefile: Fix for OSF1 typo.
asyncdns.c: Fixes that went into 1.9.18p2 - allow unclocking of sigterm.
chgpasswd.c: char -> unsigned char fixes.
includes.h: AIX fix to get prototype for inet_ntoa.
local.h: Tune size of shared memory based on MAX_OPEN_FILES.
nmbd_mynames.c: Fix for nmbd repeated refresh bug.
nmbd_responserecordsdb.c: Fix for nmbd repeated refresh bug.
nmbd_winsserver.c: Fix for multi-homed registration optimisation.
smb.h: Moved default shared memory size to local.h
Jeremy.
(This used to be commit fa5466805685d461564054d7d9947948fc56ae93)

26 years agoFix from Charles Hoch (hoch@hpl.hp.com). Whne there is no data
Jeremy Allison [Wed, 28 Jan 1998 13:11:58 +0000 (13:11 +0000)]
Fix from Charles Hoch (hoch@hpl.hp.com). Whne there is no data
to send, setting the data alignment to a 4 byte boundary causes
a few extra bytes to be sent. This seems to cause the NT redirector
to *sometimes* fail.
Jeremy.
(This used to be commit f6ee3263dac960772024bf9009ad0ddce6d8f289)

26 years agoget rid of reference to removed file
Herb Lewis [Wed, 28 Jan 1998 11:45:57 +0000 (11:45 +0000)]
get rid of reference to removed file
(This used to be commit afafae133f32f33ae642662a7e9cbb427ce4691a)

26 years ago*** empty log message ***
Volker Lendecke [Mon, 26 Jan 1998 04:53:07 +0000 (04:53 +0000)]
*** empty log message ***
(This used to be commit be395f4bce2863f4bd131793ea37f47f05e4151f)

26 years agoalways align both the parameter and data bytes on a 4 byte boundary in
Andrew Tridgell [Sun, 25 Jan 1998 15:36:11 +0000 (15:36 +0000)]
always align both the parameter and data bytes on a 4 byte boundary in
trans2 responses.
I'm not at all convinced this was causing problems, because
observations of Win95 show that it produces totally non-aligned
paramater bytes and 2 byte aligned data bytes. We were previously
always producing 2 byte aligned data and parameter bytes so we already
had "better" alignment than Win95.
lets hope no clients rely on servers producing unaligned data or
parameters!
(This used to be commit 68ad11a7352824fea46ecbe67a3827a7ba3bcbab)

26 years agoAdded log message so we can tell when free_service is called.
Jeremy Allison [Sat, 24 Jan 1998 12:34:16 +0000 (12:34 +0000)]
Added log message so we can tell when free_service is called.
Just in case of problems.
Jeremy.
(This used to be commit ee307df9ad1f03d7f8e515549902abd96dae72fc)

26 years agoFix for memory leak in loadparm.c - donated by Branko Cibej <branko.cibej@hermes.si>
Jeremy Allison [Sat, 24 Jan 1998 12:26:17 +0000 (12:26 +0000)]
Fix for memory leak in loadparm.c - donated by Branko Cibej <branko.cibej@hermes.si>
I checked this out and it looks ok - the bzero() in init_service() was
overwriting the pointers pservice->szService and pservice->copymap
that should have been freed in copy_service() the line later. This
fix frees pservice->szService and pservice->copymap inside free_service()
and sets them to zero so they won't be freed again.
Jeremy.
(This used to be commit 0bcb00e2bad999df859fdff59ce720d34de9b1ad)

26 years agoAdded get_create_time() function to time.c.
Jeremy Allison [Sat, 24 Jan 1998 08:49:21 +0000 (08:49 +0000)]
Added get_create_time() function to time.c.
This gets the minimum timestamp associated with a file.
reply.c and trans2.c then return this as the create
time. Designed to fix problems with VC++ and others.
Jeremy.
(This used to be commit e3d5f6196d6eff707c78941696a368216e2a7410)

26 years agoChanged code that truncates salt after 2 characters so that it becomes
Jeremy Allison [Fri, 23 Jan 1998 13:52:17 +0000 (13:52 +0000)]
Changed code that truncates salt after 2 characters so that it becomes
HPUX specific. This fixes a bug with FreeBSD md5 crypt implementation
that needs all of the password characters.
It seems better to make this an HPUX specific thing.
Jeremy.
(This used to be commit 91a2b746d3fac261d4be3bd7afa3d5bb601b3d27)

26 years agoFixed warnings with gcc (assignments inside if statements).
Jeremy Allison [Fri, 23 Jan 1998 08:35:15 +0000 (08:35 +0000)]
Fixed warnings with gcc (assignments inside if statements).
Jeremy.
(This used to be commit 1a9e25d3bc610a1d49241e2fe39530813d983882)

26 years agochanges to correctly use some HP printer inf files
Herb Lewis [Fri, 23 Jan 1998 07:59:29 +0000 (07:59 +0000)]
changes to correctly use some HP printer inf files
(This used to be commit ab894c3e1de582864ad9c0f6ae797b73b4c2ba41)

26 years agosync with changes to 1.9.18 tree
Herb Lewis [Fri, 23 Jan 1998 07:58:45 +0000 (07:58 +0000)]
sync with changes to 1.9.18 tree
(This used to be commit 175e85279df64a5bcfd5c3ecf50884bb970ab611)

26 years agoChanged phone numbers for BitWizard.
Jeremy Allison [Fri, 23 Jan 1998 05:58:59 +0000 (05:58 +0000)]
Changed phone numbers for BitWizard.
Jeremy.
(This used to be commit 76e467238f195d94c0afb67a2d3af3560f26d3a0)

26 years agonmbd.c, server.c: Added #ifndef MEM_MAN around code that sets the SIGUSR1
Jeremy Allison [Fri, 23 Jan 1998 05:22:19 +0000 (05:22 +0000)]
nmbd.c, server.c: Added #ifndef MEM_MAN around code that sets the SIGUSR1
and SIGUSR2 signals. This allows the MEM_MAN code to be compiled in and
the memory debug feature to be used with SIGUSR1.
Jeremy.
(This used to be commit 43ef7e3cb5bb971ff6ddf8230b08995e55b7c6e1)

26 years agoThis is *not* a big change (although it looks like one).
Jeremy Allison [Thu, 22 Jan 1998 13:27:43 +0000 (13:27 +0000)]
This is *not* a big change (although it looks like one).
This is merely updating the Copyright statements from 1997 to 1998.
It's a once a year thing :-).
NO OTHER CHANGES WERE MADE.
Jeremy.
(This used to be commit b9c16977231efb274e08856f7f3f4408dad6d96c)

26 years agoprinting.c: Bug fix for lpng reporting.
Jeremy Allison [Thu, 22 Jan 1998 09:25:05 +0000 (09:25 +0000)]
printing.c: Bug fix for lpng reporting.
server.c: Large fix for oplock deadlock bug.
util.c: Fix for oplock deadlock bug.
Jeremy.
(This used to be commit 4cae830ab3a942b2f2868173a492d02f6332651d)

26 years agoAdded Romanian consultant.
Jeremy Allison [Thu, 22 Jan 1998 07:33:35 +0000 (07:33 +0000)]
Added Romanian consultant.
Jeremy.
(This used to be commit 722dc838c754e9367cca5a3bd78bbb5d5871936a)

26 years ago*** empty log message ***
Volker Lendecke [Thu, 22 Jan 1998 03:47:48 +0000 (03:47 +0000)]
*** empty log message ***
(This used to be commit 1e1b0c80f84657f89ffcd4132887cd9f8a26885a)

26 years agoFixed send_mailslot code where src_type was always being set to zero.
Jeremy Allison [Wed, 21 Jan 1998 12:15:07 +0000 (12:15 +0000)]
Fixed send_mailslot code where src_type was always being set to zero.
Fix found by Bernhard Laeser <nlaesb@ascom.ch>.
Jeremy.
(This used to be commit 303b5a79c83246e1895f9478e187610addfd2862)

26 years agofixed a few typos in the instructions and added a longer explaination for
Herb Lewis [Wed, 21 Jan 1998 09:46:04 +0000 (09:46 +0000)]
fixed a few typos in the instructions and added a longer explaination for
how the printers.def entry is constructed.
(This used to be commit d9be263e598cbb10d2632247a82043aa19840012)

26 years agofix problems with using inf files from HP for DesignJet 750C (C3195A)
Herb Lewis [Wed, 21 Jan 1998 09:17:51 +0000 (09:17 +0000)]
fix problems with using inf files from HP for DesignJet 750C (C3195A)
(This used to be commit 4e258eecf7088d78b285440ca87386987196eaec)

26 years agoFixed bug found by Bernhard Laeser where we are announcing to the wrong
Jeremy Allison [Tue, 20 Jan 1998 04:58:41 +0000 (04:58 +0000)]
Fixed bug found by Bernhard Laeser where we are announcing to the wrong
DMB name.
Jeremy.
(This used to be commit 6b3d4620c128fe1f77f579a451eac7f41a83064f)

26 years agoAdded italian consultancy.
Jeremy Allison [Sat, 17 Jan 1998 11:42:51 +0000 (11:42 +0000)]
Added italian consultancy.
Jeremy.
(This used to be commit 9e864db97050d35675a2629ad0fb3decbd72de8f)

26 years agocharcnv.c: Added codepage 866 support onto the file system. Patch
Jeremy Allison [Sat, 17 Jan 1998 07:08:21 +0000 (07:08 +0000)]
charcnv.c: Added codepage 866 support onto the file system. Patch
from Max Khon <max@iclub.nsu.ru>.
chgpasswd.c: Allow old RAP change password to work with encrypted
passwords. Samba can now allow Windows 95/NT clients to securely
change the Lanman password ! (But not the NT hash - that gets lost).
ipc.c:
smbdes.c:
smbpass.c: Support for the above.
server.c: #ifdef'ed out fix for NT redirector bug.
util.c: Fix NIS bug with server name.
Jeremy.
(This used to be commit cd9fad92d0316e5a0007ba3c5668906dc2f011f1)

26 years agoreply.c:
Jeremy Allison [Fri, 16 Jan 1998 08:58:00 +0000 (08:58 +0000)]
reply.c:
server.c: Test fix for NT worstation SMBmv oplock bug.
smbdes.c: Addition of 'forward' parameter in preparation of allowing
password change.
Jeremy.
(This used to be commit 0b0b1fb122a52e67a8fdc77d013ad0b3bbb90d19)

26 years agoAdding new codepage file.
Jeremy Allison [Fri, 16 Jan 1998 06:31:01 +0000 (06:31 +0000)]
Adding new codepage file.
Jeremy.
(This used to be commit 91155265db1f0916716bf8da10bfda4e11124c55)

26 years agoMakefile: Added new codepage - 866.
Jeremy Allison [Fri, 16 Jan 1998 06:29:38 +0000 (06:29 +0000)]
Makefile: Added new codepage - 866.
charset.c: Supporting code for codepage 866.
clientutil.c: Fix compile bug in little-used #define.
includes.h: Supporting code for codepage 866.
make_smbcodepage.c: Supporting code for codepage 866.
pcap.c: Fix bug for lpstat.
Jeremy.
(This used to be commit 6040d7a39e5d5ab426905aa79b871df815fb9b62)

26 years agoreply.c: Added timestamp to attack warning.
Jeremy Allison [Thu, 15 Jan 1998 04:57:54 +0000 (04:57 +0000)]
reply.c: Added timestamp to attack warning.
server.c: Fixed security=share problem where the vuid was still being
looked at.
Jeremy.
(This used to be commit ab8d615fe2004c3ca93dd2978ba988ea89d7fd74)

26 years agoREADME describe inst package version number correctly
Herb Lewis [Wed, 14 Jan 1998 07:17:37 +0000 (07:17 +0000)]
README describe inst package version number correctly
idb.pl fix some permission problems with shell scripts
sambalp new script supplied by Alan Stebbens that can run setuid to
properly print banner page for known users.
smb.conf  use new sambalp by default.
psfixes.pl remove - now handled by sambalp
(This used to be commit 129aab955c069206109461e31f2b0244d8586908)

26 years agofile srv_lsa_hnd.c was initially added on branch BRANCH_NTDOM.
Luke Leighton [Wed, 14 Jan 1998 06:15:10 +0000 (06:15 +0000)]
file srv_lsa_hnd.c was initially added on branch BRANCH_NTDOM.
(This used to be commit d6354d60a1f96c0822a6345246d7b1cf52ebd391)