kai/samba.git
23 years agoUpdating note thanks to comments from Franky Liederkerke.
John Terpstra [Mon, 23 Mar 1998 22:23:01 +0000 (22:23 +0000)]
Updating note thanks to comments from Franky Liederkerke.

23 years agoa pointless commit to check on a problem Luke reported with CVS
Andrew Tridgell [Mon, 23 Mar 1998 01:17:51 +0000 (01:17 +0000)]
a pointless commit to check on a problem Luke reported with CVS

23 years ago- added a check for broken RH5 include files. With the standard RH5
Andrew Tridgell [Sun, 22 Mar 1998 01:31:50 +0000 (01:31 +0000)]
- added a check for broken RH5 include files. With the standard RH5
includes (ie. unpatched RH5) Samba gets file corruption because of the
incorrect definition of the shmid_ds structure. Updating your RH5
installation of glibc-devel fixes this.

- don't try to fcntl_lock() a read-only fd in shmem.c

- allow level 0 debug messages to get through in smbstatus

23 years agoGetting ready for first Red Hat Linux RPMs for 1.9.19 pre-alpha release
John Terpstra [Sat, 21 Mar 1998 03:03:59 +0000 (03:03 +0000)]
Getting ready for first Red Hat Linux RPMs for 1.9.19 pre-alpha release

23 years agoadded comments about printcap name
Herb Lewis [Fri, 20 Mar 1998 16:07:08 +0000 (16:07 +0000)]
added comments about printcap name

23 years agoAdded MAXPRINTERLEN define in smb.h setting printer share name length to maximumof...
John Terpstra [Fri, 20 Mar 1998 13:37:46 +0000 (13:37 +0000)]
Added MAXPRINTERLEN define in smb.h setting printer share name length to maximumof 15 characters. IF this needs to be limited to 8 characters again please do
it in smb.h.

23 years agoFinally made OS/2 WP fix the default.
Jeremy Allison [Thu, 19 Mar 1998 21:44:30 +0000 (21:44 +0000)]
Finally made OS/2 WP fix the default.
Jeremy.

23 years agoAdding the same changes to HEAD as were added to BRANCH_1_9_18.
Jeremy Allison [Thu, 19 Mar 1998 20:06:47 +0000 (20:06 +0000)]
Adding the same changes to HEAD as were added to BRANCH_1_9_18.

Changed smbpasswd to be client-server for a normal user, rather
than accessing the private/smbpasswd file directly (it still accesses
this file directly when run as root, so root can add users/change a
users password without knowing the old password).

A shakeout of this change is that smbpasswd can now be used to
change a users password on a remote NT machine (yep - you heard
that one right - we can now change a NT password from UNIX !!!!!).

Jeremy.

23 years agoAdded SamOEMChangePassword functionality.
Jeremy Allison [Wed, 18 Mar 1998 19:07:53 +0000 (19:07 +0000)]
Added SamOEMChangePassword functionality.
Jeremy.

23 years agodon't set the Expires header on any page generated from a POST. This
Andrew Tridgell [Wed, 18 Mar 1998 07:51:57 +0000 (07:51 +0000)]
don't set the Expires header on any page generated from a POST. This
stops the "POST data has expired" problem when using the back button
in netscape.

23 years agomoved the refresh script to the end of the page so that silly things
Andrew Tridgell [Wed, 18 Mar 1998 07:44:27 +0000 (07:44 +0000)]
moved the refresh script to the end of the page so that silly things
like a refresh of 0 actually work.

23 years agochanged the method used for auto-reload on the status page to use
Andrew Tridgell [Wed, 18 Mar 1998 07:33:11 +0000 (07:33 +0000)]
changed the method used for auto-reload on the status page to use
JavaScript. This avoids the nasty inetd problem.

23 years agooops, I got the sense of the show_defaults parameter to lp_dump()
Andrew Tridgell [Tue, 17 Mar 1998 14:46:17 +0000 (14:46 +0000)]
oops, I got the sense of the show_defaults parameter to lp_dump()
wrong.

23 years agowhen CGI_LOGGING is on log the host name and IP
Andrew Tridgell [Tue, 17 Mar 1998 12:37:06 +0000 (12:37 +0000)]
when CGI_LOGGING is on log the host name and IP

this is just so I can snoop on who is looking at the demo :-)

23 years agothis isn't a big commit, it just looks like it :-)
Andrew Tridgell [Tue, 17 Mar 1998 12:31:43 +0000 (12:31 +0000)]
this isn't a big commit, it just looks like it :-)

I needed the client_name() and client_addr() functions in swat so I
could tell who was connecting from where. The problem was that these
functions didn't take a file descriptor parameter they just used
the global "Client".

So I needed to change all calls to pass a parameter ... lots of files.

23 years ago- added "Full View"/"Normal View" on the "view config" page
Andrew Tridgell [Tue, 17 Mar 1998 11:44:16 +0000 (11:44 +0000)]
- added "Full View"/"Normal View" on the "view config" page

- added the ability to auto-refresh the status page. There is a
  problem with this (it can kill inetd!). Hopefully we can fix that.

23 years agofix typos
Herb Lewis [Tue, 17 Mar 1998 01:09:14 +0000 (01:09 +0000)]
fix typos

23 years agoFixes for the static data bugs & incorrect use of strtok
Jeremy Allison [Tue, 17 Mar 1998 00:57:46 +0000 (00:57 +0000)]
Fixes for the static data bugs & incorrect use of strtok
that Andrew pointed out.
Jeremy.

23 years agoshow full path in ps by setting it in argv[0]
Andrew Tridgell [Tue, 17 Mar 1998 00:32:34 +0000 (00:32 +0000)]
show full path in ps by setting it in argv[0]

23 years agofixed call to execl() to get argv[0] right (thanks to Herb)
Andrew Tridgell [Tue, 17 Mar 1998 00:04:18 +0000 (00:04 +0000)]
fixed call to execl() to get argv[0] right (thanks to Herb)

23 years agochanged the default MAXSTATUS from 1000 to 100000
Andrew Tridgell [Tue, 17 Mar 1998 00:02:19 +0000 (00:02 +0000)]
changed the default MAXSTATUS from 1000 to 100000

This number limits the number of simultaneous connections to the
server. The 1000 limit is from a looong time ago when I couldn't
imagine anyone wanting to have 1000 simultaneous clients. Now I hear
that people are testing with such numbers.

I wonder when I'll change it from 100k ?

23 years agoadd swat to build package
Herb Lewis [Mon, 16 Mar 1998 23:11:48 +0000 (23:11 +0000)]
add swat to build package
fix minor bug in findsmb

23 years agoAdding the same change as was added to 1.9.18 branch to add the
Jeremy Allison [Mon, 16 Mar 1998 20:59:47 +0000 (20:59 +0000)]
Adding the same change as was added to 1.9.18 branch to add the
"name resolve order" parameter.

source/Makefile: Re-ordered link for name resolve order code.
source/clientgen.c:
source/clientutil.c: Added calls to resolve_name().
source/includes.h: Added HPUX zombie fix.
source/loadparm.c: Added new name resolve order parameter.
source/namequery.c: Re-wrote to include parsing of lmhosts file, new resolve_name()
                    function requested by John.
source/nmbd.c: Tell resolve_name not to do WINS lookups if we are the WINS server.
source/nmbd_lmhosts.c: Call lmhosts parsing functions in namequery.c
source/password.c: Call resolve_name() to lookup security=server name.

source/reply.c:
source/time.c:
source/trans2.c: "fake directory create times" fix from Jim Hague - hague@research.canon.com.au.
source/util.c: Removed isalnum() test in Get_Hostname() that seems to cause
               problems on many systems.

Jeremy.

23 years agoLint was complaining about the following typedef in smb.h:
Christopher R. Hertel [Mon, 16 Mar 1998 20:07:22 +0000 (20:07 +0000)]
Lint was complaining about the following typedef in smb.h:

typedef enum
{
  P_LOCAL,P_GLOBAL,P_SEPARATOR,P_NONE,
} parm_class;

I removed the trailing comma.  Chris -)-----

23 years agoAdding mention of %p substitution.
Jeremy Allison [Mon, 16 Mar 1998 18:43:34 +0000 (18:43 +0000)]
Adding mention of %p substitution.
Jeremy.

23 years agoincludes.h: Addition of NetBSD 1.3 fix, fix for HPUX 9.x, 10.x zombie
Jeremy Allison [Mon, 16 Mar 1998 18:31:09 +0000 (18:31 +0000)]
includes.h: Addition of NetBSD 1.3 fix, fix for HPUX 9.x, 10.x zombie
problem.
password.c: Fix for Thursby to stop Dave clients failing in share
mode security (this was their bug - they were interpreting the uid
field in share mode which is explicitly denied by the spec but
it's easier for us to fix it than them :-).

Jeremy.

23 years agochanged the default "keepalive" value to 300 seconds.
Andrew Tridgell [Mon, 16 Mar 1998 07:23:51 +0000 (07:23 +0000)]
changed the default "keepalive" value to 300 seconds.

This is more important now that oplocks are being used.

23 years agochanged the date formatting
Andrew Tridgell [Sun, 15 Mar 1998 06:43:15 +0000 (06:43 +0000)]
changed the date formatting

23 years agoupdated the images
Andrew Tridgell [Sun, 15 Mar 1998 03:46:13 +0000 (03:46 +0000)]
updated the images

23 years ago- claim the null connection after the session request to mak sure we
Andrew Tridgell [Sun, 15 Mar 1998 03:06:50 +0000 (03:06 +0000)]
- claim the null connection after the session request to mak sure we
  have the netbios name

- fix another kill connection bug

23 years agosafer killing of connections - it ensures the process is still a valid
Andrew Tridgell [Sun, 15 Mar 1998 02:47:22 +0000 (02:47 +0000)]
safer killing of connections - it ensures the process is still a valid
smbd when killing

23 years ago- added the ability to kill off individual connections from SWAT (from
Andrew Tridgell [Sun, 15 Mar 1998 02:37:52 +0000 (02:37 +0000)]
- added the ability to kill off individual connections from SWAT (from
  the status page)
- split the claim_connection() code into its own file
- fixed the claim_connection() code to lock the file when manipulating
  it
- always claim a null connection at startup
- fixed a bug in the pidfile code

23 years agoinstall jpeg files
Andrew Tridgell [Sun, 15 Mar 1998 00:03:38 +0000 (00:03 +0000)]
install jpeg files

23 years agoa smaller background
Andrew Tridgell [Sun, 15 Mar 1998 00:01:34 +0000 (00:01 +0000)]
a smaller background

23 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

23 years agoupdated blurb some more
Andrew Tridgell [Sat, 14 Mar 1998 13:37:47 +0000 (13:37 +0000)]
updated blurb some more

23 years agoupdated blurb
Andrew Tridgell [Sat, 14 Mar 1998 13:16:01 +0000 (13:16 +0000)]
updated blurb

23 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

23 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

23 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.

23 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.

23 years agoprototype updates
Andrew Tridgell [Sat, 14 Mar 1998 08:31:48 +0000 (08:31 +0000)]
prototype updates

23 years agoadded another pathetic looking icon
Andrew Tridgell [Sat, 14 Mar 1998 08:29:46 +0000 (08:29 +0000)]
added another pathetic looking icon

23 years ago- added separators
Andrew Tridgell [Sat, 14 Mar 1998 08:29:06 +0000 (08:29 +0000)]
- added separators
- added "view config" button

23 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

23 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

23 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

23 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

23 years agoremoved a redundent return statement
Andrew Tridgell [Sat, 14 Mar 1998 04:11:56 +0000 (04:11 +0000)]
removed a redundent return statement

23 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!)

23 years agoremove an unnecessary #ifdef
Andrew Tridgell [Sat, 14 Mar 1998 00:48:40 +0000 (00:48 +0000)]
remove an unnecessary #ifdef

23 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?

23 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

23 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

23 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

23 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.

23 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

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

23 years agoadd swat to .cvsignore
Andrew Tridgell [Thu, 12 Mar 1998 02:18:50 +0000 (02:18 +0000)]
add swat to .cvsignore

23 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

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

23 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

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

23 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.

23 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.

23 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

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

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

23 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

23 years agoadded a "home" icon
Andrew Tridgell [Tue, 10 Mar 1998 05:47:01 +0000 (05:47 +0000)]
added a "home" icon

23 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.

23 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

23 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

23 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!

23 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.

23 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.

23 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.

23 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

23 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.

23 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.

23 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

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 years agoremoved old unused test
Herb Lewis [Wed, 11 Feb 1998 11:38:09 +0000 (11:38 +0000)]
removed old unused test

23 years agofixed typo
Andrew Tridgell [Wed, 11 Feb 1998 11:25:04 +0000 (11:25 +0000)]
fixed typo

23 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.

23 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.

23 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