1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

909 Commits

Author SHA1 Message Date
Jeremy Allison
6a3394a285 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.
-
Jeremy Allison
a402b5070f Added the ability to differentiate between workstation and server
accounts when adding machine account types.
Jeremy.
-
Jeremy Allison
0601a41993 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.
-
Jeremy Allison
f6bf7baebe nameconf.c is a stray .c file that shouldn't be in the
distribution. It's a left over.
Jeremy.
-
Jeremy Allison
8d686f3b6b Fix for is_in_path from "Steven Hartland" <steven_hartland@pa.press.net> -
hide files was not working.
Jeremy.
-
Christopher R. Hertel
abcc9705af Just fiddled with the README.UBI file. -
Jeremy Allison
a31aa09173 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.
-
Jeremy Allison
607c64fadb Added writing of '[XXX]' account control bits into gcos
field when adding a user via smbpasswd.
Jeremy.
-
Jeremy Allison
c66966ff00 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.
-
Jeremy Allison
6eca266fe5 Fixed 'unused variable' warnings found with gcc -Wall -Werror.
Jeremy.
-
Samba Release Account
051ec104fe 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.
-
Jeremy Allison
7f74970838 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.
-
Andrew Tridgell
a947d9ceba a pointless commit to check on a problem Luke reported with CVS -
Andrew Tridgell
45553771f9 - 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
-
John Terpstra
4e424d0ba6 Getting ready for first Red Hat Linux RPMs for 1.9.19 pre-alpha release -
John Terpstra
3dfe0b135d 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.
-
Jeremy Allison
7cc7a65dec Finally made OS/2 WP fix the default.
Jeremy.
-
Jeremy Allison
20770b6f1c 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.
-
Jeremy Allison
e02e3bcbbd Added SamOEMChangePassword functionality.
Jeremy.
-
Andrew Tridgell
112cf61cb6 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.
-
Andrew Tridgell
4c04e1d2ae moved the refresh script to the end of the page so that silly things
like a refresh of 0 actually work.
-
Andrew Tridgell
9d9b138809 changed the method used for auto-reload on the status page to use
JavaScript. This avoids the nasty inetd problem.
-
Andrew Tridgell
b92c3b13d7 oops, I got the sense of the show_defaults parameter to lp_dump()
wrong.
-
Andrew Tridgell
78abb9fec3 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 :-)
-
Andrew Tridgell
a776058900 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.
-
Andrew Tridgell
4488d8932f - 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.
-
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 ?
-
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
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
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
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
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
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 -