1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

1227 Commits

Author SHA1 Message Date
Herb Lewis
c53ca2cc2f fix typos -
Jeremy Allison
734dde8d68 Fixes for the static data bugs & incorrect use of strtok
that Andrew pointed out.
Jeremy.
-
Andrew Tridgell
89a4dc6cf9 show full path in ps by setting it in argv[0] -
Andrew Tridgell
aaa4db4de3 fixed call to execl() to get argv[0] right (thanks to Herb) -
Andrew Tridgell
bae865da2d 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 ?
-
Herb Lewis
d21a4368d2 add swat to build package
fix minor bug in findsmb
-
Jeremy Allison
7f118970da 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.
-
Christopher R. Hertel
ac7cd9cacf 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 -)-----
-
Jeremy Allison
d8e7e73f4d Adding mention of %p substitution.
Jeremy.
-
Jeremy Allison
39372d9e20 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.
-
Andrew Tridgell
7bccd2c360 changed the default "keepalive" value to 300 seconds.
This is more important now that oplocks are being used.
-
Andrew Tridgell
57aa1db47c changed the date formatting -
Andrew Tridgell
bd0c390713 updated the images -
Andrew Tridgell
c634b79987 - claim the null connection after the session request to mak sure we
have the netbios name

- fix another kill connection bug
-
Andrew Tridgell
78675036e8 safer killing of connections - it ensures the process is still a valid
smbd when killing
-
Andrew Tridgell
abd4a17e21 - 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
-
Andrew Tridgell
02cb3801d7 install jpeg files -
Andrew Tridgell
bcec95740f a smaller background -
Andrew Tridgell
57f4dfcbf3 added a background image based on Pauls SAMBA logo but manipulated a
little with GIMP
-
Andrew Tridgell
1c0d4c8006 updated blurb some more -
Andrew Tridgell
52417e37a1 updated blurb -
Andrew Tridgell
181e59f465 put in the longer welcome blurb -
Andrew Tridgell
087981009d new files to support starting/stopping the server -
Andrew Tridgell
20bb22d61b 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.
-
Andrew Tridgell
b0e1183b2c 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.
-
Andrew Tridgell
a565ff6050 prototype updates -
Andrew Tridgell
5b1fca9d3e added another pathetic looking icon -
Andrew Tridgell
486a059fe1 - added separators
- added "view config" button
-
Andrew Tridgell
f9af35da26 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
-
Andrew Tridgell
23a8588765 updated to give instructions on running via cgi-bin -
Andrew Tridgell
6e2248532a another fix for running under cgi-bin -
Andrew Tridgell
9dbfb16990 fixed support for running swat via cgi-bin -
Andrew Tridgell
24e1539cd0 removed a redundent return statement -
Andrew Tridgell
5e25c845c7 fixed instructions in installswat.sh (thanks to Herb again!) -
Andrew Tridgell
dfaa576d7e remove an unnecessary #ifdef -
John Terpstra
49e025d557 Fixed typos. Anyone else like to vet this? -
Andrew Tridgell
349500965c a brief description of how to install and run SWAT -
Andrew Tridgell
1a87b2c2b6 added an install target for SWAT -
Andrew Tridgell
d2376416d6 some initial help and images files for swat -
Andrew Tridgell
abe0379cf9 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.
-
Andrew Tridgell
67bb8835c7 move setup_groups() into password.c so that swat can link without
including server.o
-
Andrew Tridgell
53dc8ea5e3 use password_ok() instead of calling crypt() -
Andrew Tridgell
e826790666 add swat to .cvsignore -
Andrew Tridgell
f9ce87f865 these have been replaced by swat -
Andrew Tridgell
f9f9fe67c7 add FLAG_HIDE to "config file" option (so it can't be set in swat) -
Andrew Tridgell
df62c80e1d use FSTYPE_STRING not "SAMBA" for filesystem type -
Andrew Tridgell
a4c6884f43 report the max size of raw reads as 65536 not 65535 (this now matches
what Win95 reports)
-
Jeremy Allison
5299d1b49f 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.
-
Jeremy Allison
118ba4d77a "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.
-
Herb Lewis
bafc776892 fix core dumps on Solaris 2.5 systems found by Orn Asgeirsson -