cvs2svn Import User [Tue, 8 Dec 1998 00:15:25 +0000 (00:15 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-0-0beta3'.
Samba Release Account [Tue, 8 Dec 1998 00:15:24 +0000 (00:15 +0000)]
preparing for release of 2.0.0beta3
Jeremy Allison [Tue, 8 Dec 1998 00:13:38 +0000 (00:13 +0000)]
Updated to 2.0.0beta3
Jeremy Allison [Tue, 8 Dec 1998 00:12:48 +0000 (00:12 +0000)]
Added 'bugs' warning I discussed with John.
Jeremy.
Andrew Tridgell [Mon, 7 Dec 1998 22:53:05 +0000 (22:53 +0000)]
locking mask fixes from head branch
Andrew Tridgell [Mon, 7 Dec 1998 22:51:07 +0000 (22:51 +0000)]
reran autoconf
Andrew Tridgell [Mon, 7 Dec 1998 22:50:20 +0000 (22:50 +0000)]
we need to use $ac_default_prefix in help, not $(prefix), or bash
gives errors
Jeremy Allison [Mon, 7 Dec 1998 18:35:11 +0000 (18:35 +0000)]
Fixed testparm link in smb.conf (as from HEAD).
Jeremy.
Jeremy Allison [Mon, 7 Dec 1998 18:33:05 +0000 (18:33 +0000)]
Fixed stupid typo I added to script.
Jeremy.
Jeremy Allison [Sun, 6 Dec 1998 22:14:39 +0000 (22:14 +0000)]
smb.conf - Clarified syslog only parameter as Chris suggested.
source/script/makeyodldocs.sh: Don't bother copying html to web directory any more.
Jeremy.
Jeremy Allison [Sun, 6 Dec 1998 22:09:16 +0000 (22:09 +0000)]
Ooops. sys_open() always takes 3 args. open() can take 2....
Jeremy.
Jeremy Allison [Sun, 6 Dec 1998 22:01:26 +0000 (22:01 +0000)]
Added RELIANTUNIX define for specific header file order includes for large
file support.
Based on a patch from "Andrej Borsenkow" <borsenkow.msk@sni.de>.
lib/pidfile.c: Changed open() to sys_open().
Jeremy.
Jeremy Allison [Sun, 6 Dec 1998 20:29:22 +0000 (20:29 +0000)]
Fixes to get Solaris 2.6/2.7 large file support.
Fix test for getresgid.
Jeremy.
Jeremy Allison [Sun, 6 Dec 1998 20:14:30 +0000 (20:14 +0000)]
Changed "Joining a NT Domain" to "Joining an NT Domain" to be gramatically
correct. We get more bug reports on bad English than anything else.... :-).
Jeremy.
Herb Lewis [Sun, 6 Dec 1998 07:26:47 +0000 (07:26 +0000)]
one more try at getting the removeop correct.
Jeremy Allison [Sun, 6 Dec 1998 02:01:53 +0000 (02:01 +0000)]
Adding Andrew's pidfile fix to 2.0.
Jeremy.
Herb Lewis [Sat, 5 Dec 1998 16:51:23 +0000 (16:51 +0000)]
post installation instructions
Herb Lewis [Sat, 5 Dec 1998 16:50:34 +0000 (16:50 +0000)]
fix removeop and add post inst instructions
Andrew Tridgell [Sat, 5 Dec 1998 07:01:53 +0000 (07:01 +0000)]
new icons from head branch
Jeremy Allison [Sat, 5 Dec 1998 01:01:47 +0000 (01:01 +0000)]
Fixed critical bug with kernel oplock interface.....
This one was *nasty* to find... (sigh)
Jeremy.
Jeremy Allison [Fri, 4 Dec 1998 00:50:34 +0000 (00:50 +0000)]
Fix for non-termination of string in osf1_bigcrypt.
Jeremy.
John Terpstra [Fri, 4 Dec 1998 00:00:59 +0000 (00:00 +0000)]
Remove unused file from swat help area - incorrectly added previously.
Jeremy Allison [Thu, 3 Dec 1998 23:43:08 +0000 (23:43 +0000)]
Samba 2.0 wasn't building on Linux-alpha - so I added
HAVE_SETRESGID and HAVE_SETRESGID_DECL defines, based
on the HAVE_SETRESUID checks.
I also updated the places that setresgid was being called
based on HAVE_SETRESUID being defined and made sure *both*
were defined before allowing the call.
Jeremy.
John Terpstra [Thu, 3 Dec 1998 23:05:59 +0000 (23:05 +0000)]
Updated domain documentation to remove some ambiguities.
John Terpstra [Thu, 3 Dec 1998 22:35:49 +0000 (22:35 +0000)]
Fixed typo and added use of "valid users".
Jeremy Allison [Thu, 3 Dec 1998 20:53:48 +0000 (20:53 +0000)]
config.guess: UNIXWARE fix.
lib/util.c: Debug messages for getrlim/setrlim calls.
libsmb/clientgen.c: Added session redirect code back in.
smbd/nttrans.c smbd/pipes.c: Correct fix for NT printer problem - catches
openX as well as nttrans open.
Jeremy.
John Terpstra [Thu, 3 Dec 1998 11:04:12 +0000 (11:04 +0000)]
Oops, missed one typo.
John Terpstra [Thu, 3 Dec 1998 11:03:35 +0000 (11:03 +0000)]
More tidy up activity.
John Terpstra [Thu, 3 Dec 1998 09:43:20 +0000 (09:43 +0000)]
Added help files for SWAT. Oops type fixup.
Jeremy Allison [Thu, 3 Dec 1998 02:01:12 +0000 (02:01 +0000)]
client/clientutil.c: Changed workgroup to "" for smbmount (only code
that still uses clientutil.c).
passdb/passdb.c: Changed dos_mkdir to mkdir. Changed fchmod to chmod for
some UNIX's that don't have fchmod.
passdb/smbpass.c: Added test for uid with leading '-'.
smbd/ipc.c: Added fix for invalid info level from Scott Moomaw <scott@bridgewater.edu>.
Jeremy.
Jeremy Allison [Thu, 3 Dec 1998 01:01:14 +0000 (01:01 +0000)]
This file is not used in this branch.
Jeremy.
John Terpstra [Wed, 2 Dec 1998 13:15:25 +0000 (13:15 +0000)]
Getting ready for release of samba-2.0.0beta3.
Jeremy Allison [Wed, 2 Dec 1998 02:16:44 +0000 (02:16 +0000)]
Added check for STAT_STATVFS64 to deterimine is a system is SYSV - needed
to ensure the printing infrastructure is set up correctly.
Jeremy.
Jeremy Allison [Tue, 1 Dec 1998 19:30:33 +0000 (19:30 +0000)]
configure.in: Removed net/route.h from include checks.
include/includes.h: Removed net/route.h as it breaks SCO.
smbd/ipc.c: Memory leak fix from <jasper@Cal005208.student.utwente.nl>
Jeremy.
Jeremy Allison [Tue, 1 Dec 1998 00:27:26 +0000 (00:27 +0000)]
Added Andrej's russian charconv fix.
Jeremy.
Jeremy Allison [Tue, 1 Dec 1998 00:19:40 +0000 (00:19 +0000)]
Makefile.in: Implemented andrej's private and swat file changes.
configure.in: Implemented andrej's private and swat file changes and SINIX changes.
client/smbmount.c: Head branch race condition fix.
lib/system.c: Fix compile for OS's that don't have shared mmap.
smbd/dfree.c: Fix compile for STAT_STATVFS64 as well as STAT_STATVFS.
utils/smbpasswd.c: Tidied up error messages.
Jeremy.
Jeremy Allison [Mon, 30 Nov 1998 22:41:36 +0000 (22:41 +0000)]
Added 'add user script' and 'delete user script' docs.
Jeremy.
Jeremy Allison [Sun, 29 Nov 1998 19:31:03 +0000 (19:31 +0000)]
Ensure service is not "..". Sync up with HEAD.
Jeremy.
Jeremy Allison [Sat, 28 Nov 1998 08:14:23 +0000 (08:14 +0000)]
Added SWAT updates from HEAD.
Jeremy.
Jeremy Allison [Sat, 28 Nov 1998 07:27:58 +0000 (07:27 +0000)]
Now uninstalls man pages from correct source location.
Fix by Andrej Borsenkow <borsenkow.msk@sni.de>.
Jeremy.
Jeremy Allison [Sat, 28 Nov 1998 07:22:59 +0000 (07:22 +0000)]
Install all html docs in yodl help directory - sync with HEAD.
Jeremy.
Jeremy Allison [Sat, 28 Nov 1998 07:21:26 +0000 (07:21 +0000)]
Removed dangerous message command as per HEAD. Updated 'wins server'
entry as per HEAD.
Jeremy.
Jeremy Allison [Sat, 28 Nov 1998 07:17:14 +0000 (07:17 +0000)]
From HEAD - updated SWAT README to remove cgi-bin instructions.
Jeremy.
John Terpstra [Sat, 28 Nov 1998 02:57:51 +0000 (02:57 +0000)]
Fixed typo - browsable is an acronym for browseable.
Jeremy Allison [Thu, 26 Nov 1998 03:03:09 +0000 (03:03 +0000)]
I have done the evil thing :-).
I have added the 'crap applience' mode code to the 2.0 branch.
This allows smbd in security=server or security=domain mode
to create a UNIX user on the fly if the password server
accepts them but there is no local UNIX user.
It uses two new parameters
add user script
delete user script
and replaces %u with the username.
Note that I have violated my own rules by not yet
documenting this :-). But I intend to, after some
more testing.
It seems ok - but needs more testing.
Jeremy.
Jeremy Allison [Thu, 26 Nov 1998 00:24:22 +0000 (00:24 +0000)]
Added Luke's fix for the samlogon_user hack problem.
Jeremy.
Herb Lewis [Wed, 25 Nov 1998 23:09:29 +0000 (23:09 +0000)]
add removeop in different place now
Jeremy Allison [Wed, 25 Nov 1998 20:15:14 +0000 (20:15 +0000)]
Makefile.in: Added 'maintainer mode' fixes.
aclocal.m4: Added new function - AC_LIBTESTFUNC.
configure.in: Fixes for the messy -lsec, -lsecurity code.
include/includes.h: Added a default printcap define.
Jeremy.
Jeremy Allison [Wed, 25 Nov 1998 02:12:53 +0000 (02:12 +0000)]
Fixed parameter strings to slprintf for sid components.
Jeremy.
Jeremy Allison [Wed, 25 Nov 1998 00:27:21 +0000 (00:27 +0000)]
In my changes prevously to the dos_xxx calls I missed dos_readdir and
friends.
Jeremy.
Herb Lewis [Tue, 24 Nov 1998 23:44:56 +0000 (23:44 +0000)]
get rid of removeop - causes error
Jeremy Allison [Tue, 24 Nov 1998 23:41:03 +0000 (23:41 +0000)]
Added lib/doscalls.c : This file collects all the calls that use dos_to_unix()
to map filenames before accessing the UNIX filesystem.
The other changes are to make the code that previously allways called
the ambiguous functions (such as file_size(), that internally called
dos_to_unix()) to be unambiguous.
For example: file_size() becomes "dos_file_size()", that calls
dos_to_unix(), and file_size(), that does not.
It is now very explicit when we are calling a dos mapping call
and when we are not.
Also added string_to_sid unsigned fix by adding the strtoul from libg++
code into lib/replace.c and testing for strtoul in configure.in.
Jeremy.
Herb Lewis [Tue, 24 Nov 1998 18:54:59 +0000 (18:54 +0000)]
fix up exitops to use chroot so they will run from miniroot (if necessary)
Herb Lewis [Tue, 24 Nov 1998 01:19:41 +0000 (01:19 +0000)]
don't return error if stopping and samba was not running
Jeremy Allison [Tue, 24 Nov 1998 00:59:03 +0000 (00:59 +0000)]
Fixed gcc isdigit warning.
Jeremy.
Jeremy Allison [Tue, 24 Nov 1998 00:39:11 +0000 (00:39 +0000)]
Fixed bug in oplock test file path specification.
Jeremy.
Jeremy Allison [Mon, 23 Nov 1998 23:52:50 +0000 (23:52 +0000)]
Fixed warning with gcc -Wall -Wshadow.
Jeremy.
Samba Release Account [Mon, 23 Nov 1998 23:36:54 +0000 (23:36 +0000)]
preparing for release of 2.0.0beta2
Jeremy Allison [Mon, 23 Nov 1998 22:33:51 +0000 (22:33 +0000)]
Removed unused local var.
Jeremy.
Jeremy Allison [Mon, 23 Nov 1998 22:17:01 +0000 (22:17 +0000)]
Changed samba.anu.edu.au -> samba.org.
Jeremy.
Jeremy Allison [Mon, 23 Nov 1998 22:14:47 +0000 (22:14 +0000)]
Updated for samba.anu.edu.au -> samba.org
Jeremy.
Jeremy Allison [Mon, 23 Nov 1998 22:11:54 +0000 (22:11 +0000)]
Updated the samba.anu.edu.au -> samba.org for the docs.
Jeremy.
Jeremy Allison [Mon, 23 Nov 1998 21:46:53 +0000 (21:46 +0000)]
Changed samba.anu.edu.au -> samba.org
Added Andrew's all_string_sub changes.
Jeremy.
Jeremy Allison [Sat, 21 Nov 1998 02:30:46 +0000 (02:30 +0000)]
One more cut'n'paste bug. (Ooops).
Jeremy.
Jeremy Allison [Sat, 21 Nov 1998 02:12:16 +0000 (02:12 +0000)]
smbd/password.c: Fixed the HEAD branch changes that accidentally got propagated.
web/cgi.c web/swat.c: Updated with Andrew's latest fix.
Jeremy.
Jeremy Allison [Sat, 21 Nov 1998 01:49:54 +0000 (01:49 +0000)]
Fixed packaging Makefile.in patch with the latest sbin/bin change.
Jeremy
Jeremy Allison [Sat, 21 Nov 1998 01:45:34 +0000 (01:45 +0000)]
Added Andrew's latest HEAD changes back to 2.0
Jeremy.
Jeremy Allison [Sat, 21 Nov 1998 01:30:39 +0000 (01:30 +0000)]
Updated version info for Beta2.
Makefile.in: Fixes sbin/bin bug.
Jeremy.
Jeremy Allison [Sat, 21 Nov 1998 00:13:04 +0000 (00:13 +0000)]
smbd/password.c: Even though the password server is supposed to be a NetBIOS name,
allow a longer name and use a called name of *SMBSERVER is so.
web/swat.c: Changed hideous '?' help to a 'help<6 spaces> link. Looks *so* much
nicer :-).
Jeremy.
Jeremy Allison [Fri, 20 Nov 1998 23:22:25 +0000 (23:22 +0000)]
Instrumented hack fix with debug level 10 statements just in case :-).
Jeremy.
Jeremy Allison [Fri, 20 Nov 1998 20:08:50 +0000 (20:08 +0000)]
cconfig.h configure configure.in include/config.h.in: Changed autoconf to be more
intelligent about looking in -lsec and -lsecurity. Fewer special cases.
rpc_client/cli_netlogon.c: Removed 'matching bits' check in attempt to
get joining a domain hosted by a NT3.51 PDC working.
Jeremy.
Jeremy Allison [Fri, 20 Nov 1998 01:01:31 +0000 (01:01 +0000)]
Fixed stupid blunder where I moved getpwanam to getpwnam. Ooops.
Jeremy.
Herb Lewis [Fri, 20 Nov 1998 00:13:34 +0000 (00:13 +0000)]
wrong directory path for smbd and nmbd
Jeremy Allison [Thu, 19 Nov 1998 23:42:40 +0000 (23:42 +0000)]
Makefile.in: Added passing of CPPFLAGS into Makefile.
configure
configure.in
include/config.h.in: Fixes for AIX4.x. AIX *will not*
enable large file support of *any* description unless
either -D_LARGE_FILES or -D_LARGE_FILES_API are defined.
I chose "-D_LARGE_FILES" as this leads to cleaner code...
Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in.
Jeremy.
Jeremy Allison [Thu, 19 Nov 1998 22:02:54 +0000 (22:02 +0000)]
smbd/nttrans.c: Added 'only print once' semantics for unimplemented NT SMB calls.
smbd/ipc.c: *Gross* and *disgusting* hack to try and make NT use old
Lanman printer semantics. Remove as *SOON* as we get the
correct SPOOLSS pipe code.......
Jeremy.
Herb Lewis [Thu, 19 Nov 1998 21:24:25 +0000 (21:24 +0000)]
smb.conf : explicitly state "printcap name=" and "security=" parameters
idb.pl : change default behaviour for installation of config files.
Herb Lewis [Thu, 19 Nov 1998 21:09:34 +0000 (21:09 +0000)]
update testparm with -s option so it doesn't require a carriage return
also allow specifying [host hostip] without [configfile]
updated man page
Jeremy Allison [Thu, 19 Nov 1998 19:56:23 +0000 (19:56 +0000)]
Fixes for autoconf on HPUX. Includes ANSI -Ae flag test for HPUX
compiler and check for getspnam in -lsec.
Jeremy.
Jeremy Allison [Thu, 19 Nov 1998 04:08:37 +0000 (04:08 +0000)]
Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.
acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1.
libsmb/nmblib.c: Fixes to nmbd jumps in scope names.
Jeremy.
Herb Lewis [Thu, 19 Nov 1998 01:39:33 +0000 (01:39 +0000)]
remove swat from inetd.conf and /etc/services if samba removed.
Herb Lewis [Thu, 19 Nov 1998 01:35:05 +0000 (01:35 +0000)]
added $(CPPFLAGS) to FLAGS1. This allows building with tools not in /
Herb Lewis [Thu, 19 Nov 1998 01:32:10 +0000 (01:32 +0000)]
don't strip binaries. create /usr/samba/scripts directory for utility
scripts. Start swat at end of install
Jeremy Allison [Thu, 19 Nov 1998 01:20:55 +0000 (01:20 +0000)]
Added auto detection of the (broken IMHO) typedefs for int32 and uint32
in rpc/types.h in DEC OSF1. Should correctly check on all platforms now.
Jeremy.
Jeremy Allison [Wed, 18 Nov 1998 21:40:29 +0000 (21:40 +0000)]
Added some of the fixes needed for OSF1 (Digital UNIX).
HAVE_PUTPRPWNAM is defined in -lsecurity.
<net/route.h> needed to stop compile complaints in <net/if.h>
smbpasswd: Moved SunOS optind/optarg to global scope.
Jeremy
Jeremy Allison [Wed, 18 Nov 1998 18:59:39 +0000 (18:59 +0000)]
Fixed crash bug found by russian codepage problem.... although how the
two are related I'm not sure :-). Problem was assuming that fd_ptr in
the files_struct was always non-null (which is not the case when directories
are open).
Jeremy.
John Terpstra [Wed, 18 Nov 1998 13:13:13 +0000 (13:13 +0000)]
Updated packaging files in line with Makefile.in changes.
Herb Lewis [Wed, 18 Nov 1998 02:11:19 +0000 (02:11 +0000)]
change to new prefix path
Jeremy Allison [Wed, 18 Nov 1998 01:08:14 +0000 (01:08 +0000)]
Added fixes to stop HAVE_NETGROUPS being defined on systems that
don't have a hope of having them.
Jeremy.
Jeremy Allison [Tue, 17 Nov 1998 23:21:39 +0000 (23:21 +0000)]
Fixed the modtime bug that Andrej <borsenkow.msk@sni.de> was moaning
about :-).
If a client does a modify timestamp on an open file (which will
do no good at all on UNIX :-) then keep the modify request pending
in the files_struct and apply it at close instead.
Jeremy.
Jeremy Allison [Tue, 17 Nov 1998 21:45:53 +0000 (21:45 +0000)]
Made the Makefile.in use the configure paths for :
BASEDIR, BINDIR, SBINDIR, LIBDIR, MANDIR.
The packaging files will need to be changed before
another release !
Jeremy.
Jeremy Allison [Tue, 17 Nov 1998 20:13:48 +0000 (20:13 +0000)]
Tidied up many string functions with const & size_t.
Jeremy.
Jeremy Allison [Tue, 17 Nov 1998 19:15:27 +0000 (19:15 +0000)]
Changed (most) open()/fopen()/creat()/mmap() calls to use sys_XXX() instead.
Needed as in the 64 bit file spec new open types are needed on many OS's
to be able to seek past 32bits.
Jeremy.
Jeremy Allison [Tue, 17 Nov 1998 00:32:35 +0000 (00:32 +0000)]
Moved PRINTCAP_NAME into includes to allow it to be tuned per
system type.
Jeremy.
Jeremy Allison [Mon, 16 Nov 1998 23:29:57 +0000 (23:29 +0000)]
source/Makefile.in: Added quotes around ROFF arg.
script/installman.sh: Make installman ignore ROFF argument if it is "".
smbd/oplock.c: Move location of oplock test file to lockdir.
Jeremy.
Jeremy Allison [Mon, 16 Nov 1998 23:27:36 +0000 (23:27 +0000)]
Forgot to add files in Examples/ packaging directory.
Jeremy.
Jeremy Allison [Mon, 16 Nov 1998 21:41:35 +0000 (21:41 +0000)]
Fixed O_EXCL problems with printing and oplocks.
Jeremy.
Jeremy Allison [Mon, 16 Nov 1998 20:21:05 +0000 (20:21 +0000)]
Added machine account fixes.
Jeremy.
Jeremy Allison [Mon, 16 Nov 1998 19:25:54 +0000 (19:25 +0000)]
Added fixes from HEAD into 2.0 branch.
These are :
configure.in: Check for glob.h added.
libsmb/namequery.c: Fix for broken parsing of lmhosts.
smbd/reply.c:
smbd/trans2.c:
include/smb.h: Change ROUNDUP to SMB_ROUNDUP.
include/includes.h: Fixed include of glob.h
Jeremy.
Jeremy Allison [Mon, 16 Nov 1998 18:45:57 +0000 (18:45 +0000)]
Updated HEAD branch changes into 2.0 branch.
Jeremy.
Jeremy Allison [Mon, 16 Nov 1998 18:44:12 +0000 (18:44 +0000)]
Updated all the changes people made in the HEAD branch into the 2.0
branch.
Jeremy