1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
Commit Graph

1335 Commits

Author SHA1 Message Date
Jeremy Allison
da050244c3 Added SamOEMChangePassword functionality.
Jeremy.
(This used to be commit e02e3bcbbd)
1998-03-18 19:07:53 +00:00
Andrew Tridgell
002176a375 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.
(This used to be commit 112cf61cb6)
1998-03-18 07:51:57 +00:00
Andrew Tridgell
78dd0fe448 moved the refresh script to the end of the page so that silly things
like a refresh of 0 actually work.
(This used to be commit 4c04e1d2ae)
1998-03-18 07:44:27 +00:00
Andrew Tridgell
c8c61ac6a6 changed the method used for auto-reload on the status page to use
JavaScript. This avoids the nasty inetd problem.
(This used to be commit 9d9b138809)
1998-03-18 07:33:11 +00:00
Andrew Tridgell
e12cb8b610 oops, I got the sense of the show_defaults parameter to lp_dump()
wrong.
(This used to be commit b92c3b13d7)
1998-03-17 14:46:17 +00:00
Andrew Tridgell
d56fc8d169 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 :-)
(This used to be commit 78abb9fec3)
1998-03-17 12:37:06 +00:00
Andrew Tridgell
f996885676 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.
(This used to be commit a776058900)
1998-03-17 12:31:43 +00:00
Andrew Tridgell
59d7006b05 - 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.
(This used to be commit 4488d8932f)
1998-03-17 11:44:16 +00:00
Herb Lewis
7a60caa118 fix typos
(This used to be commit c53ca2cc2f)
1998-03-17 01:09:14 +00:00
Jeremy Allison
f912f5d872 Fixes for the static data bugs & incorrect use of strtok
that Andrew pointed out.
Jeremy.
(This used to be commit 734dde8d68)
1998-03-17 00:57:46 +00:00
Andrew Tridgell
8ffcec16fe show full path in ps by setting it in argv[0]
(This used to be commit 89a4dc6cf9)
1998-03-17 00:32:34 +00:00
Andrew Tridgell
9803496274 fixed call to execl() to get argv[0] right (thanks to Herb)
(This used to be commit aaa4db4de3)
1998-03-17 00:04:18 +00:00
Andrew Tridgell
15cf7db4c9 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 ?
(This used to be commit bae865da2d)
1998-03-17 00:02:19 +00:00
Herb Lewis
09c0c6f0d6 add swat to build package
fix minor bug in findsmb
(This used to be commit d21a4368d2)
1998-03-16 23:11:48 +00:00
Jeremy Allison
c54af0f8b2 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.
(This used to be commit 7f118970da)
1998-03-16 20:59:47 +00:00
Christopher R. Hertel
14d6ee34de 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 -)-----
(This used to be commit ac7cd9cacf)
1998-03-16 20:07:22 +00:00
Jeremy Allison
2f13846c4e Adding mention of %p substitution.
Jeremy.
(This used to be commit d8e7e73f4d)
1998-03-16 18:43:34 +00:00
Jeremy Allison
90cdd717f8 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.
(This used to be commit 39372d9e20)
1998-03-16 18:31:09 +00:00
Andrew Tridgell
c4855a8e02 changed the default "keepalive" value to 300 seconds.
This is more important now that oplocks are being used.
(This used to be commit 7bccd2c360)
1998-03-16 07:23:51 +00:00
Andrew Tridgell
7a418233e2 changed the date formatting
(This used to be commit 57aa1db47c)
1998-03-15 06:43:15 +00:00
Andrew Tridgell
7f5fad0302 updated the images
(This used to be commit bd0c390713)
1998-03-15 03:46:13 +00:00
Andrew Tridgell
86f5105fbc - claim the null connection after the session request to mak sure we
have the netbios name

- fix another kill connection bug
(This used to be commit c634b79987)
1998-03-15 03:06:50 +00:00
Andrew Tridgell
08a6e255fe safer killing of connections - it ensures the process is still a valid
smbd when killing
(This used to be commit 78675036e8)
1998-03-15 02:47:22 +00:00
Andrew Tridgell
d360320618 - 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
(This used to be commit abd4a17e21)
1998-03-15 02:37:52 +00:00
Andrew Tridgell
69bb6f6f5f install jpeg files
(This used to be commit 02cb3801d7)
1998-03-15 00:03:38 +00:00
Andrew Tridgell
4dfe60de10 a smaller background
(This used to be commit bcec95740f)
1998-03-15 00:01:34 +00:00
Andrew Tridgell
3070005521 added a background image based on Pauls SAMBA logo but manipulated a
little with GIMP
(This used to be commit 57f4dfcbf3)
1998-03-14 23:55:27 +00:00
Andrew Tridgell
97cb03b5f9 updated blurb some more
(This used to be commit 1c0d4c8006)
1998-03-14 13:37:47 +00:00
Andrew Tridgell
31fbd270b3 updated blurb
(This used to be commit 52417e37a1)
1998-03-14 13:16:01 +00:00
Andrew Tridgell
41137a4206 put in the longer welcome blurb
(This used to be commit 181e59f465)
1998-03-14 13:11:57 +00:00
Andrew Tridgell
e02b05b565 new files to support starting/stopping the server
(This used to be commit 087981009d)
1998-03-14 13:00:09 +00:00
Andrew Tridgell
c063e9ec3e 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 20bb22d61b)
1998-03-14 12:57:58 +00:00
Andrew Tridgell
e2b50d04ad 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 b0e1183b2c)
1998-03-14 11:24:01 +00:00
Andrew Tridgell
a62ff8003e prototype updates
(This used to be commit a565ff6050)
1998-03-14 08:31:48 +00:00
Andrew Tridgell
63e56c2460 added another pathetic looking icon
(This used to be commit 5b1fca9d3e)
1998-03-14 08:29:46 +00:00
Andrew Tridgell
8326dad3d6 - added separators
- added "view config" button
(This used to be commit 486a059fe1)
1998-03-14 08:29:06 +00:00
Andrew Tridgell
b85346942e 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 f9af35da26)
1998-03-14 08:27:41 +00:00
Andrew Tridgell
bfd5df01a3 updated to give instructions on running via cgi-bin
(This used to be commit 23a8588765)
1998-03-14 04:32:09 +00:00
Andrew Tridgell
0309230280 another fix for running under cgi-bin
(This used to be commit 6e2248532a)
1998-03-14 04:20:55 +00:00
Andrew Tridgell
d5c1af5d9f fixed support for running swat via cgi-bin
(This used to be commit 9dbfb16990)
1998-03-14 04:13:24 +00:00
Andrew Tridgell
914a0b14aa removed a redundent return statement
(This used to be commit 24e1539cd0)
1998-03-14 04:11:56 +00:00
Andrew Tridgell
b56333a181 fixed instructions in installswat.sh (thanks to Herb again!)
(This used to be commit 5e25c845c7)
1998-03-14 01:26:46 +00:00
Andrew Tridgell
2207cdd60c remove an unnecessary #ifdef
(This used to be commit dfaa576d7e)
1998-03-14 00:48:40 +00:00
John Terpstra
2ad8cf98b9 Fixed typos. Anyone else like to vet this?
(This used to be commit 49e025d557)
1998-03-12 13:14:35 +00:00
Andrew Tridgell
8e708b150c a brief description of how to install and run SWAT
(This used to be commit 349500965c)
1998-03-12 03:39:42 +00:00
Andrew Tridgell
e5edc3e9f3 added an install target for SWAT
(This used to be commit 1a87b2c2b6)
1998-03-12 03:12:30 +00:00
Andrew Tridgell
540af9b304 some initial help and images files for swat
(This used to be commit d2376416d6)
1998-03-12 03:00:44 +00:00
Andrew Tridgell
cc4e595473 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 abe0379cf9)
1998-03-12 02:56:17 +00:00
Andrew Tridgell
2e68682069 move setup_groups() into password.c so that swat can link without
including server.o
(This used to be commit 67bb8835c7)
1998-03-12 02:43:46 +00:00
Andrew Tridgell
e1f131bab8 use password_ok() instead of calling crypt()
(This used to be commit 53dc8ea5e3)
1998-03-12 02:42:39 +00:00