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

1264 Commits

Author SHA1 Message Date
Jeremy Allison
3b56fbc11e includes.h: Added semaphore fix for HPUX10.x
server.c trans2.c: Added oplock deadlock bug fix.
lib/rpc/server/srv_netlog.c: Made code that changes machine account password the default.
Jeremy.
-
Andrew Tridgell
f2d1e39a66 the default for old style accounts should be workstation trust
account, not server trust account.
-
Jeremy Allison
188fb28d7b 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.
-
Jeremy Allison
38391b51cd Added extra remote password changing error codes from lmerr.h on NT.
Jeremy.
-
John Terpstra
7775b0f2aa Added remote machine and address to debug message in make_connection() function.
contributor: <ado@flower.nci.nih.gov>
-
Jeremy Allison
4ac50c0f0a 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.
-
Jeremy Allison
c9e066037a 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.
-
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.
-
Herb Lewis
b14551d316 no longer make smbpasswd setuid root -
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.
-
Herb Lewis
6cba6919eb added check for one more error case -
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.
-
John Terpstra
94d5b33559 Updating note thanks to comments from Franky Liederkerke. -
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 -
Herb Lewis
b916d225af added comments about printcap name -
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.
-
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 -