samba.git
26 years agoMakefile: Split HPUX 10.x and 9.x into separate entries - to allow FAST_SHARE_MODES
Jeremy Allison [Fri, 27 Mar 1998 20:45:46 +0000 (20:45 +0000)]
Makefile: Split HPUX 10.x and 9.x into separate entries - to allow FAST_SHARE_MODES
to be turned on in HPUX10.x
chgpasswd.c, ipc.c loadparm.c: Added 'unix password sync' parameter and code
to allow smb password changing to sync with UNIX.
includes.h: Added termios.h to FreeBSD to allow password changing.
Jeremy.

26 years agochgpasswd.c, ipc.c, loadparm.c: Added boolean "unix password sync"
Jeremy Allison [Fri, 27 Mar 1998 19:59:14 +0000 (19:59 +0000)]
chgpasswd.c, ipc.c, loadparm.c: Added boolean "unix password sync"
parameter which allows the new change password code to change the
unix password also. Defaults to OFF.
includes.h: Added termios.h to FreeBSD to allow password changing.
namequery.c: Fixed missing name parameters to debug statements.
Jeremy.

26 years agoGetting ready for 1.9.18p4 release - testing packaging tools.
John Terpstra [Fri, 27 Mar 1998 08:44:27 +0000 (08:44 +0000)]
Getting ready for 1.9.18p4 release - testing packaging tools.

26 years agoFix for client generated core-dump bug where offset to readraw
Jeremy Allison [Fri, 27 Mar 1998 02:39:26 +0000 (02:39 +0000)]
Fix for client generated core-dump bug where offset to readraw
was so large that when used with -DUSE_MMAP it caused the unsigned
subtraction to wrap aound and become positive - thus causing
a silly memcpy offset. Thanks to "Michael St. Laurent" <rowl@earthlink.net>
for giving me the core dump that allowed me to track this one
down.
Jeremy.

26 years agoUpdated WHATSNEW.txt to cover MMAP bug just fixed.
Jeremy Allison [Fri, 27 Mar 1998 02:37:35 +0000 (02:37 +0000)]
Updated WHATSNEW.txt to cover MMAP bug just fixed.
Jeremy.

26 years agoFix for client generated core-dump bug where offset to readraw
Jeremy Allison [Fri, 27 Mar 1998 02:30:27 +0000 (02:30 +0000)]
Fix for client generated core-dump bug where offset to readraw
was so large that when used with -DUSE_MMAP it caused the unsigned
subtraction to wrap aound and become positive - thus causing
a silly memcpy offset. Thanks to "Michael St. Laurent" <rowl@earthlink.net>
for giving me the core dump that allowed me to track this one
down.
Jeremy.

26 years agoFix for debug messages that would core-dump. Just caught in time
Jeremy Allison [Thu, 26 Mar 1998 20:21:15 +0000 (20:21 +0000)]
Fix for debug messages that would core-dump. Just caught in time
by Rene Boesmans               Internet: rb@cipal.be !!

Jeremy.

26 years agoclient.c: Fixed problem where debug level on command line was overridden by smb.conf.
Jeremy Allison [Thu, 26 Mar 1998 19:11:31 +0000 (19:11 +0000)]
client.c: Fixed problem where debug level on command line was overridden by smb.conf.
smbpasswd.c: Removed bugs I put in yesterday (thanks Luke :-) and added error
message reporting for remote password changing.
Jeremy.

26 years agoclient.c: Fixed bug where debug level on command line was overridden by smb.conf
Jeremy Allison [Thu, 26 Mar 1998 18:59:00 +0000 (18:59 +0000)]
client.c: Fixed bug where debug level on command line was overridden by smb.conf
smbpasswd.c: Added -D DEBUGLOGLEVEL parameter, and improved error message reporting.
docs/smbpasswd.8: Updated for above change.
WHATSNEW.txt: Updated for above changes.
Jeremy.

26 years agoAdded the ability to differentiate between workstation and server
Jeremy Allison [Thu, 26 Mar 1998 02:22:08 +0000 (02:22 +0000)]
Added the ability to differentiate between workstation and server
accounts when adding machine account types.
Jeremy.

26 years agosmbpass.c: Made unknown accounts ending in '$' server accounts, not
Jeremy Allison [Thu, 26 Mar 1998 02:14:40 +0000 (02:14 +0000)]
smbpass.c: Made unknown accounts ending in '$' server accounts, not
workstation.
smbpasswd.c: Added code to count down from last machine account
to add correct uid when adding a machine account.
Jeremy.

26 years agoAdded another Australian consultant.
Jeremy Allison [Thu, 26 Mar 1998 00:42:55 +0000 (00:42 +0000)]
Added another Australian consultant.
Jeremy.

26 years agonameconf.c is a stray .c file that shouldn't be in the
Jeremy Allison [Wed, 25 Mar 1998 20:24:26 +0000 (20:24 +0000)]
nameconf.c is a stray .c file that shouldn't be in the
distribution. It's a left over.
Jeremy.

26 years agonameconf.c is a stray .c file that shouldn't be in the
Jeremy Allison [Wed, 25 Mar 1998 20:22:27 +0000 (20:22 +0000)]
nameconf.c is a stray .c file that shouldn't be in the
distribution. It's a left over.
Jeremy.

26 years agoAdded comment on 'hide files' bugfix.
Jeremy Allison [Wed, 25 Mar 1998 20:13:14 +0000 (20:13 +0000)]
Added comment on 'hide files' bugfix.
Jeremy.

26 years agoFix for is_in_path from "Steven Hartland" <steven_hartland@pa.press.net> -
Jeremy Allison [Wed, 25 Mar 1998 20:10:58 +0000 (20:10 +0000)]
Fix for is_in_path from "Steven Hartland" <steven_hartland@pa.press.net> -
hide files was not working.
Jeremy.

26 years agoincludes.h: Just capitalized first letter of Luke's message (looks better :-).
Jeremy Allison [Wed, 25 Mar 1998 20:09:16 +0000 (20:09 +0000)]
includes.h: Just capitalized first letter of Luke's message (looks better :-).
util.c: Fix for bug in is_in_path() from "Steven Hartland" <steven_hartland@pa.press.net>
- stopped 'hide files' from working correctly.
Jeremy.

26 years agono longer make smbpasswd setuid root
Herb Lewis [Wed, 25 Mar 1998 17:53:00 +0000 (17:53 +0000)]
no longer make smbpasswd setuid root

26 years agono longer make smbpasswd setuid root
Herb Lewis [Wed, 25 Mar 1998 17:51:03 +0000 (17:51 +0000)]
no longer make smbpasswd setuid root

26 years agoJust fiddled with the README.UBI file.
Christopher R. Hertel [Wed, 25 Mar 1998 15:10:28 +0000 (15:10 +0000)]
Just fiddled with the README.UBI file.

26 years agoRFC1002 says we must put compressed name pointers in the following
Jeremy Allison [Wed, 25 Mar 1998 01:27:27 +0000 (01:27 +0000)]
RFC1002 says we must put compressed name pointers in the following
outgoing packets :

NMB_NAME_REG_OPCODE, NMB_NAME_RELEASE_OPCODE, NMB_NAME_REFRESH_OPCODE,
NMB_NAME_MULTIHOMED_REG_OPCODE.

A WINS server written by Shadow Software was rejecting our packets
as we weren't using name pointers in those requests (talk about
picky :-).

Jeremy.

26 years agoadded check for one more error case
Herb Lewis [Wed, 25 Mar 1998 00:20:52 +0000 (00:20 +0000)]
added check for one more error case

26 years agoadded check for one more error case
Herb Lewis [Wed, 25 Mar 1998 00:19:57 +0000 (00:19 +0000)]
added check for one more error case

26 years agoreplaced #error warnings when -DNTDOMAIN is used to refer to NTDOMAIN.txt
Luke Leighton [Tue, 24 Mar 1998 23:09:49 +0000 (23:09 +0000)]
replaced #error warnings when -DNTDOMAIN is used to refer to NTDOMAIN.txt

26 years agoAdded writing of '[XXX]' account control bits into gcos
Jeremy Allison [Tue, 24 Mar 1998 21:44:49 +0000 (21:44 +0000)]
Added writing of '[XXX]' account control bits into gcos
field when adding a user via smbpasswd.
Jeremy.

26 years agoupdated this version to instruct people _not_ to use -DNTDOMAIN version
Luke Leighton [Tue, 24 Mar 1998 21:17:07 +0000 (21:17 +0000)]
updated this version to instruct people _not_ to use -DNTDOMAIN version
but to obtain the latest from cvs.

26 years agoadded a deliberate compile-time error which will occur if people have
Luke Leighton [Tue, 24 Mar 1998 21:11:48 +0000 (21:11 +0000)]
added a deliberate compile-time error which will occur if people have
-DNTDOMAIN enabled.  this has only been added to BRANCH_1_9_18.

26 years agoUpdated smbpasswd to allow root to add machine accounts, and allow
Jeremy Allison [Tue, 24 Mar 1998 21:04:36 +0000 (21:04 +0000)]
Updated smbpasswd to allow root to add machine accounts, and allow
root to disable users and set them to "NO PASSWORD".
Not quite finished with machine account stuff yet, but everything
compiles.
Jeremy.

26 years agoFixed 'unused variable' warnings found with gcc -Wall -Werror.
Jeremy Allison [Tue, 24 Mar 1998 19:56:24 +0000 (19:56 +0000)]
Fixed 'unused variable' warnings found with gcc -Wall -Werror.
Jeremy.

26 years agoypserver not available: AUTOMOUNT server and path don't work.
Samba Release Account [Tue, 24 Mar 1998 19:21:27 +0000 (19:21 +0000)]
ypserver not available: AUTOMOUNT server and path don't work.
fix: set default values to local server / path _before_ attempting to
find the ypserver's auto.home entry.

26 years agoTidying up a minor (usage) error in smbpasswd.c
Jeremy Allison [Tue, 24 Mar 1998 01:23:56 +0000 (01:23 +0000)]
Tidying up a minor (usage) error in smbpasswd.c
Jermey.

26 years agoclientgen.c ipc.c smbpasswd.c: Fixes for warnings (from Herb).
Jeremy Allison [Tue, 24 Mar 1998 00:37:53 +0000 (00:37 +0000)]
clientgen.c ipc.c smbpasswd.c: Fixes for warnings (from Herb).
quotas.c: Linux quota fix.
util.c: Ensure smb_read_error is zero in all calls that can set it.
lib/rpc/include/rpc_misc.h lib/rpc/include/rpc_netlogon.h
lib/rpc/parse/parse_misc.c lib/rpc/parse/parse_net.c
lib/rpc/server/srv_netlog.c : Modify Luke's code to call
SamOEMhash().

Jeremy.

26 years agoFixed compiler warning found by Herb.
Jeremy Allison [Mon, 23 Mar 1998 23:10:47 +0000 (23:10 +0000)]
Fixed compiler warning found by Herb.
Jeremy.

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

26 years agoLittle update in preparation for 1.9.18p4 release.
John Terpstra [Mon, 23 Mar 1998 22:13:12 +0000 (22:13 +0000)]
Little update in preparation for 1.9.18p4 release.

26 years agoFixes for compile-time warnings found by Herb, plus one small
Jeremy Allison [Mon, 23 Mar 1998 21:09:38 +0000 (21:09 +0000)]
Fixes for compile-time warnings found by Herb, plus one small
bug in smbpasswd.c. Fix from Rolf Fokkens <rolf@flits102-126.flits.rug.nl>
for Linux quotas when there is no softlimit.
Jeremy.

26 years agoEnsure smb_read_error is correctly cleared in any
Jeremy Allison [Mon, 23 Mar 1998 20:56:24 +0000 (20:56 +0000)]
Ensure smb_read_error is correctly cleared in any
call that might set it.
Jeremy.

26 years agoGetting ready for 1.9.18p4.
Jeremy Allison [Mon, 23 Mar 1998 20:46:12 +0000 (20:46 +0000)]
Getting ready for 1.9.18p4.
Jeremy.

26 years agoAdded missing close comment. Causes warnings on SGI compilers
Herb Lewis [Mon, 23 Mar 1998 18:31:38 +0000 (18:31 +0000)]
Added missing close comment. Causes warnings on SGI compilers

26 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

26 years ago- added a check for broken RH5 include files. With the standard RH5
Andrew Tridgell [Sun, 22 Mar 1998 01:45:44 +0000 (01:45 +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.

26 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

26 years agoGetting ready for release of 1.9.18p4 - Jeremy please add your bit.
John Terpstra [Sat, 21 Mar 1998 06:28:33 +0000 (06:28 +0000)]
Getting ready for release of 1.9.18p4 - Jeremy please add your bit.

26 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

26 years agoDitto last commit.
John Terpstra [Sat, 21 Mar 1998 02:59:35 +0000 (02:59 +0000)]
Ditto last commit.

26 years agoMoved printer share name length define to local.h from smb.h
John Terpstra [Sat, 21 Mar 1998 02:58:39 +0000 (02:58 +0000)]
Moved printer share name length define to local.h from smb.h

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

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

26 years agoAdded macro MAXPRINTERLEN to specify the maximum print share name length
John Terpstra [Fri, 20 Mar 1998 13:32:37 +0000 (13:32 +0000)]
Added macro MAXPRINTERLEN to specify the maximum print share name length
and increased it from 8 characters to 15.
Yves Gaige <yvesg@hptnodur.grenoble.hp.com> submitted this.

This patch may affect old WfW clients but Win95 and WinNT now see all printers
with a share name longer than 8 characters.

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

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

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

26 years agoMake SamOEMhash more useful for NTDOM stuff.
Jeremy Allison [Thu, 19 Mar 1998 19:47:16 +0000 (19:47 +0000)]
Make SamOEMhash more useful for NTDOM stuff.
Jeremy.

26 years agouse default printcap name
Herb Lewis [Thu, 19 Mar 1998 19:32:08 +0000 (19:32 +0000)]
use default printcap name

26 years agoDocumentation update for the previous smbpasswd changes.
Jeremy Allison [Thu, 19 Mar 1998 19:15:19 +0000 (19:15 +0000)]
Documentation update for the previous smbpasswd changes.
Jeremy.

26 years agoChanged smbpasswd to be client-server for a normal user, rather
Jeremy Allison [Thu, 19 Mar 1998 19:05:22 +0000 (19:05 +0000)]
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.

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

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

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

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

26 years agoAdded SamOEMChangePassword function.
Jeremy Allison [Wed, 18 Mar 1998 02:27:36 +0000 (02:27 +0000)]
Added SamOEMChangePassword function.
Jeremy.

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

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

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

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

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

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

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

26 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]

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

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

26 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

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

26 years agoAdded capability for smbclient to override "name resolve order" parameter
Jeremy Allison [Mon, 16 Mar 1998 20:26:49 +0000 (20:26 +0000)]
Added capability for smbclient to override "name resolve order" parameter
on the command line with the -R flag. Documented also.
Jeremy.

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

26 years agodocs/smb.conf.5: Added reference to new "name resolve order" parameter.
Jeremy Allison [Mon, 16 Mar 1998 20:03:27 +0000 (20:03 +0000)]
docs/smb.conf.5: Added reference to new "name resolve order" parameter.
                 Added new "fake directory create times" parameter from
                 Jim Hague - hague@research.canon.com.au.
                 Fixed "encrypt passwords" problem pointed out by Herb.
docs/smbclient.1: Added reference to new "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 and fake directory create times
                   parameters.
source/mkproto.awk: Allowed proto of functions starting with FILE *.
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.

Well here it is John, your new "name resolve order" parameter.
It is documented also :-). Please test this new code to determine
it does what you want (it seems to work fine here). I will add
this new code into the head branch next.

Jeremy.

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

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

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

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

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

26 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

26 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

26 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

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

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

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

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

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

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

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

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.

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.

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

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

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

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

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

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

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