cvs2svn Import User [Tue, 24 Nov 1998 00:59:04 +0000 (00:59 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-0-0beta2'.
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
cvs2svn Import User [Mon, 16 Nov 1998 13:31:54 +0000 (13:31 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_0'.
John Terpstra [Mon, 16 Nov 1998 13:31:53 +0000 (13:31 +0000)]
Set sticky bit on /var/spool/samba.
Further security review.
John Terpstra [Mon, 16 Nov 1998 12:25:50 +0000 (12:25 +0000)]
Reviewed file permissions and removed other execute on samba start/stop script.
John Terpstra [Mon, 16 Nov 1998 12:23:47 +0000 (12:23 +0000)]
Removed smbwrappers from build specs and from installation specs.
John Terpstra [Mon, 16 Nov 1998 12:21:02 +0000 (12:21 +0000)]
Added Example binary packaging instructions.
John Terpstra [Mon, 16 Nov 1998 12:03:16 +0000 (12:03 +0000)]
Updated packaging files (new for Caldera).
Andrew Tridgell [Mon, 16 Nov 1998 01:27:51 +0000 (01:27 +0000)]
fixed lmhosts parsing. We were using sizeof(name) where name was char*
John Terpstra [Mon, 16 Nov 1998 01:12:36 +0000 (01:12 +0000)]
Updates to handle glob.h - was causing problems on SCO 5.0.4
Andrew Tridgell [Sun, 15 Nov 1998 23:07:54 +0000 (23:07 +0000)]
change ROUNDUP to SMB_ROUNDUP to prevent conflicts with system macros
Andrew Tridgell [Sat, 14 Nov 1998 23:52:49 +0000 (23:52 +0000)]
compile with optimisation by default on all compilers
this has 2 effects:
1) non gcc platforms get some optimisation
2) it disables -g by default which means the samba binaries won't be
so huge (they were over 60MB on some systems)
John Terpstra [Sat, 14 Nov 1998 13:01:34 +0000 (13:01 +0000)]
Added first cut of the new packaging scripts for Digital Unix.
Note: This will be extended for all other OS's so that it can be
maintained by the samba release scripts.
Andrew Tridgell [Sat, 14 Nov 1998 06:34:57 +0000 (06:34 +0000)]
support.txt is now maintained solely on the web pages
Samba Release Account [Sat, 14 Nov 1998 05:11:34 +0000 (05:11 +0000)]
preparing for release of 2.0.0beta1
cvs2svn Import User [Sat, 14 Nov 1998 04:22:32 +0000 (04:22 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_0'.
Jeremy Allison [Sat, 14 Nov 1998 04:22:31 +0000 (04:22 +0000)]
Fixed swat packaging & man page packaging.
Jeremy.
Andrew Tridgell [Sat, 14 Nov 1998 04:16:07 +0000 (04:16 +0000)]
automatically uppercase server and share names (win95 won't handle
lowercase share names!)
Andrew Tridgell [Sat, 14 Nov 1998 04:08:19 +0000 (04:08 +0000)]
fixed setmode in smbclient
Jeremy Allison [Sat, 14 Nov 1998 04:03:58 +0000 (04:03 +0000)]
Fixes to get the manpages from the right place.
Jeremy.
Andrew Tridgell [Sat, 14 Nov 1998 03:53:24 +0000 (03:53 +0000)]
- handle servers that don't support getattrE (ie. NT)
- use * in clitar instead of *.*
Jeremy Allison [Sat, 14 Nov 1998 03:48:26 +0000 (03:48 +0000)]
(Hopefully) correct patch files for RedHat & TurboLinux.
In fixing this I have learned more about RPM than I *ever*
wanted to know....
Jeremy.
Jeremy Allison [Sat, 14 Nov 1998 03:34:44 +0000 (03:34 +0000)]
Fixed problem with smbclient issuing '*.*' to NT server when an
NT server needs '*'. Win95/98 doesn't care either way :-).
Jeremy.
Jeremy Allison [Sat, 14 Nov 1998 03:13:08 +0000 (03:13 +0000)]
Updated from smb.conf.5.html
Jeremy.
Jeremy Allison [Sat, 14 Nov 1998 03:01:40 +0000 (03:01 +0000)]
Update for 2.0beta1.
Jeremy.
Andrew Tridgell [Sat, 14 Nov 1998 02:34:19 +0000 (02:34 +0000)]
prompt for password on smbclient -L
Andrew Tridgell [Sat, 14 Nov 1998 02:29:38 +0000 (02:29 +0000)]
- new prototypes
- much as I hate doing it I've removed the "commit changes" button for
users that don't have write access to smb.conf (Jeremy insisted)
Andrew Tridgell [Sat, 14 Nov 1998 02:14:30 +0000 (02:14 +0000)]
allow all user to view the config
Andrew Tridgell [Sat, 14 Nov 1998 02:10:55 +0000 (02:10 +0000)]
remove code that allows installation via cgi
swat will now give an error message if run via cgi
Andrew Tridgell [Sat, 14 Nov 1998 02:10:07 +0000 (02:10 +0000)]
removed information on installing via cgi
Herb Lewis [Sat, 14 Nov 1998 01:57:25 +0000 (01:57 +0000)]
missed a .B
Jeremy Allison [Sat, 14 Nov 1998 01:04:13 +0000 (01:04 +0000)]
Removed acconfig.h configure configure.in include/config.h.in: Made smbwrapper not made
by default.
nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include
file problem...sigh.
Jeremy.
Jeremy Allison [Sat, 14 Nov 1998 01:02:38 +0000 (01:02 +0000)]
Fixed munging of sample file in man pages.
Jeremy.
Jeremy Allison [Sat, 14 Nov 1998 00:50:41 +0000 (00:50 +0000)]
Fixed makefile problem due to change from SMB_PASSWD to PASSWD_PROGRAM.
Thanks to Michael H. Warfield <mhw@wittsend.com> for that.
Jeremy.
Jeremy Allison [Sat, 14 Nov 1998 00:29:38 +0000 (00:29 +0000)]
Added --with-smbwrapper to configure lines in spec files so JohnT's
scripts work ok.
Jeremy.
Herb Lewis [Sat, 14 Nov 1998 00:14:47 +0000 (00:14 +0000)]
ran spell check and other minor tweaks
John Terpstra [Fri, 13 Nov 1998 23:10:32 +0000 (23:10 +0000)]
Added packing release script.
Jeremy Allison [Fri, 13 Nov 1998 22:43:28 +0000 (22:43 +0000)]
Updated for 2.0beta1.
Jeremy Allison [Fri, 13 Nov 1998 21:49:19 +0000 (21:49 +0000)]
Change to beta1.
Jeremy Allison [Fri, 13 Nov 1998 21:41:01 +0000 (21:41 +0000)]
Makefile.in configure configure.in include/config.h.in: Changes for DGUX and UNIXWARE.
groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf.
include/includes.h: Fix YP problem.
include/smb.h: Fix ZERO_STRUCTP.
lib/util_sock.c: Added strerror() in debugs.
passdb/ldap.c: Don't use snprinf, use slprintf.
rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf.
script/installman.sh: DGUX changes.
smbd/open.c smbd/oplock.c: Fixed gcc warnings.
web/swat.c: Changes USER to SWAT_USER.
Andrew Tridgell [Fri, 13 Nov 1998 21:26:58 +0000 (21:26 +0000)]
reverted includes change for FreeBSD as it breaks IRIX
Luke Leighton [Fri, 13 Nov 1998 20:39:25 +0000 (20:39 +0000)]
need 32 bit status codes to be negotiated because of STUPID dos "error more
data needed" message gets treated as a serious error code (which it isn't)
so the client code terminates.
Michael Warfield [Fri, 13 Nov 1998 20:32:22 +0000 (20:32 +0000)]
Fixed timing window created by daemonize function. Smbmount was going daemon
before the mount was actually completed. This caused weird problems when
used with autofs such as empty directories on first listing or files which
would appear in "ls" but would return "no such file or directory" under
"ls -l". Note to Volker: Initial attempt from CIFS conference didn't work.
Had to move daemonize function inside of loop after ioctl.
Luke Leighton [Fri, 13 Nov 1998 20:19:06 +0000 (20:19 +0000)]
LOCAL_GRP and DOMAIN_GRP are return types
Luke Leighton [Fri, 13 Nov 1998 19:07:28 +0000 (19:07 +0000)]
ZERO_STRUCTP not PN
Luke Leighton [Fri, 13 Nov 1998 19:03:07 +0000 (19:03 +0000)]
oops - ZERO_STRUCTP() issues again...
Jeremy Allison [Fri, 13 Nov 1998 18:19:36 +0000 (18:19 +0000)]
Problems found by Herb.
Jeremy.
Luke Leighton [Fri, 13 Nov 1998 17:36:42 +0000 (17:36 +0000)]
use ZERO_STRUCTPN (checks for NULL) not ZERO_STRUCTP (doesn't check for NULL)
Luke Leighton [Fri, 13 Nov 1998 17:26:44 +0000 (17:26 +0000)]
ZERO_STRUCTP does not check argument for NULL.
ZERO_STRUCTPN _does_ check argument for NULL.
Andrew Tridgell [Fri, 13 Nov 1998 03:37:01 +0000 (03:37 +0000)]
fixes for OSF1 compilation
Jeremy Allison [Fri, 13 Nov 1998 02:07:07 +0000 (02:07 +0000)]
include/smb.h: Re-added zero pointer protection to ZERO_STRUCTP.
lib/util_sock.c: Added strerror() calls to getpeername failures (which seem to be giving IRIX trouble at the moment).
rpc_parse/parse_sec.c: Changed use of ZERO_STRUCTPN to ZERO_STRUCTP which again does zero pointer protection.
smbd/quotas.c: Fixed typo.
Jeremy.
Luke Leighton [Fri, 13 Nov 1998 01:38:41 +0000 (01:38 +0000)]
security descriptors
Luke Leighton [Fri, 13 Nov 1998 01:08:28 +0000 (01:08 +0000)]
sids in rpctorture changed from fstrings to DOM_SID
Andrew Tridgell [Fri, 13 Nov 1998 01:05:25 +0000 (01:05 +0000)]
fixed compile for FreeBSD
Andrew Tridgell [Thu, 12 Nov 1998 23:59:59 +0000 (23:59 +0000)]
%\ is an interesting printf argument, but I prefer %s