1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

1512 Commits

Author SHA1 Message Date
Jeremy Allison
2a0b0873e3 Fixed compile-time error introduced by log message change.
Added support for 32bit error messages needed for NTDOM code (was
in NTDOM branch, somehow missed during the merge).
Jeremy.
(This used to be commit 188fb28d7b)
1998-03-30 22:45:10 +00:00
Jeremy Allison
852dc76c60 Added extra remote password changing error codes from lmerr.h on NT.
Jeremy.
(This used to be commit 38391b51cd)
1998-03-30 20:12:12 +00:00
John Terpstra
6f1fc787de Added remote machine and address to debug message in make_connection() function.
contributor: <ado@flower.nci.nih.gov>
(This used to be commit 7775b0f2aa)
1998-03-29 05:34:03 +00:00
Jeremy Allison
a4156f9b50 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.
(This used to be commit 4ac50c0f0a)
1998-03-27 19:59:14 +00:00
Jeremy Allison
f52bb48748 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.
(This used to be commit c9e066037a)
1998-03-27 02:39:26 +00:00
Jeremy Allison
6cd35ce945 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.
(This used to be commit 6a3394a285)
1998-03-26 19:11:31 +00:00
Jeremy Allison
039761b05c Added the ability to differentiate between workstation and server
accounts when adding machine account types.
Jeremy.
(This used to be commit a402b5070f)
1998-03-26 02:22:08 +00:00
Jeremy Allison
1edcbd31fc 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.
(This used to be commit 0601a41993)
1998-03-26 02:14:40 +00:00
Jeremy Allison
2dc1712d31 nameconf.c is a stray .c file that shouldn't be in the
distribution. It's a left over.
Jeremy.
(This used to be commit f6bf7baebe)
1998-03-25 20:24:26 +00:00
Jeremy Allison
811a075e39 Fix for is_in_path from "Steven Hartland" <steven_hartland@pa.press.net> -
hide files was not working.
Jeremy.
(This used to be commit 8d686f3b6b)
1998-03-25 20:10:58 +00:00
Herb Lewis
b637378685 no longer make smbpasswd setuid root
(This used to be commit b14551d316)
1998-03-25 17:53:00 +00:00
Christopher R. Hertel
ab79f2a5f2 Just fiddled with the README.UBI file.
(This used to be commit abcc9705af)
1998-03-25 15:10:28 +00:00
Jeremy Allison
a1db330263 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.
(This used to be commit a31aa09173)
1998-03-25 01:27:27 +00:00
Herb Lewis
ff71b96f42 added check for one more error case
(This used to be commit 6cba6919eb)
1998-03-25 00:20:52 +00:00
Jeremy Allison
8c5c093b96 Added writing of '[XXX]' account control bits into gcos
field when adding a user via smbpasswd.
Jeremy.
(This used to be commit 607c64fadb)
1998-03-24 21:44:49 +00:00
Jeremy Allison
242e7ae4d6 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.
(This used to be commit c66966ff00)
1998-03-24 21:04:36 +00:00
Jeremy Allison
e2060b58e0 Fixed 'unused variable' warnings found with gcc -Wall -Werror.
Jeremy.
(This used to be commit 6eca266fe5)
1998-03-24 19:56:24 +00:00
Samba Release Account
1a264998ca 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.
(This used to be commit 051ec104fe)
1998-03-24 19:21:27 +00:00
Jeremy Allison
5d7c8375e4 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.
(This used to be commit 7f74970838)
1998-03-24 00:37:53 +00:00
John Terpstra
4ddd855d70 Updating note thanks to comments from Franky Liederkerke.
(This used to be commit 94d5b33559)
1998-03-23 22:23:01 +00:00
Andrew Tridgell
e0b8bc8ab1 a pointless commit to check on a problem Luke reported with CVS
(This used to be commit a947d9ceba)
1998-03-23 01:17:51 +00:00
Andrew Tridgell
93b3c58136 - 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
(This used to be commit 45553771f9)
1998-03-22 01:31:50 +00:00
John Terpstra
bee4067bd4 Getting ready for first Red Hat Linux RPMs for 1.9.19 pre-alpha release
(This used to be commit 4e424d0ba6)
1998-03-21 03:03:59 +00:00
Herb Lewis
5767ec9278 added comments about printcap name
(This used to be commit b916d225af)
1998-03-20 16:07:08 +00:00
John Terpstra
1ab10eb365 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.
(This used to be commit 3dfe0b135d)
1998-03-20 13:37:46 +00:00
Jeremy Allison
4269286835 Finally made OS/2 WP fix the default.
Jeremy.
(This used to be commit 7cc7a65dec)
1998-03-19 21:44:30 +00:00
Jeremy Allison
7abbf368f9 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.
(This used to be commit 20770b6f1c)
1998-03-19 20:06:47 +00:00
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