Herb Lewis [Thu, 19 Nov 1998 21:17:58 +0000 (21:17 +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 04:15:23 +0000 (04:15 +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.
Jeremy Allison [Wed, 18 Nov 1998 22:04:24 +0000 (22:04 +0000)]
Added OSF1 changes to HEAD (-lsecurity etc.)
groupdb/groupdb.c: Fixed compile error caught by IRIX compiler.
utils/smbpasswd.c: Fixed SunOS optind, optarg problem.
Jeremy.
Jeremy Allison [Wed, 18 Nov 1998 19:06:51 +0000 (19:06 +0000)]
Fixed crash bug which was assuming that fd_ptr was always non-null
(which is not the case with open directories).
Jeremy.
John Terpstra [Wed, 18 Nov 1998 12:44:29 +0000 (12:44 +0000)]
Updated packaging files in line with restructuring of Makefile.in
Herb Lewis [Wed, 18 Nov 1998 02:15:35 +0000 (02:15 +0000)]
change to new prefix path
Jeremy Allison [Wed, 18 Nov 1998 01:19:32 +0000 (01:19 +0000)]
Fixed problem with HAVE_NETGROUP being used on platforms
that cannot support it.
Jeremy.
Jeremy Allison [Tue, 17 Nov 1998 23:44:52 +0000 (23:44 +0000)]
Fixed NT modify timestamp issue.
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 22:06:59 +0000 (22:06 +0000)]
Changed Makefile.in to use autoconf prefixes.
NOTE: The packaging scripts will have to be changed !!!!
Jeremy.
Jeremy Allison [Tue, 17 Nov 1998 20:50:07 +0000 (20:50 +0000)]
Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.
Tidied up some of the mess (no other word for it). Still doesn't
compile cleanly. There are calls with incorrect parameters that
don't seem to be doing the right thing.
This code still needs surgery :-(.
Jeremy.
Luke Leighton [Tue, 17 Nov 1998 19:32:06 +0000 (19:32 +0000)]
lookup_alias_name() %s not %d for sid_str
Luke Leighton [Tue, 17 Nov 1998 18:50:14 +0000 (18:50 +0000)]
somehow this file got missed in the groupdb commit.
Luke Leighton [Tue, 17 Nov 1998 18:01:43 +0000 (18:01 +0000)]
make_uni_hdr() reverted accidentally with a -1 on username length
Luke Leighton [Tue, 17 Nov 1998 17:38:13 +0000 (17:38 +0000)]
swapped username:uid:[groupridlist]:[aliasridlist] to
u:u:a:g
Luke Leighton [Tue, 17 Nov 1998 16:19:04 +0000 (16:19 +0000)]
- group database API. oops and oh dear, the threat has been carried out:
the pre-alpha "domain group" etc parameters have disappeared.
- interactive debug detection
- re-added mem_man (andrew's memory management, detects memory corruption)
- american spellings of "initialise" replaced with english spelling of
"initialise".
- started on "lookup_name()" and "lookup_sid()" functions. proper ones.
- moved lots of functions around. created some modules of commonly used
code. e.g the password file locking code, which is used in groupfile.c
and aliasfile.c and smbpass.c
- moved RID_TYPE_MASK up another bit. this is really unfortunate, but
there is no other "fast" way to identify users from groups from aliases.
i do not believe that this code saves us anything (the multipliers)
and puts us at a disadvantage (reduces the useable rid space).
the designers of NT aren't silly: if they can get away with a user-
interface-speed LsaLookupNames / LsaLookupSids, then so can we. i
spoke with isaac at the cifs conference, the only time for example that
they do a security context check is on file create. certainly not on
individual file reads / writes, which would drastically hit their
performance and ours, too.
- renamed myworkgroup to global_sam_name, amongst other things, when used
in the rpc code. there is also a global_member_name, as we are always
responsible for a SAM database, the scope of which is limited by the role
of the machine (e.g if a member of a workgroup, your SAM is for _local_
logins only, and its name is the name of your server. you even still
have a SID. see LsaQueryInfoPolicy, levels 3 and 5).
- updated functionality of groupname.c to be able to cope with names
like DOMAIN\group and SERVER\alias. used this code to be able to
do aliases as well as groups. this code may actually be better
off being used in username mapping, too.
- created a connect to serverlist function in clientgen.c and used it
in password.c
- initialisation in server.c depends on the role of the server. well,
it does now.
- rpctorture. smbtorture. EXERCISE EXTREME CAUTION.
Jeremy Allison [Tue, 17 Nov 1998 01:44:25 +0000 (01:44 +0000)]
Fixed missing NULL check in tar op.
Jeremy.
Jeremy Allison [Tue, 17 Nov 1998 00:31:39 +0000 (00:31 +0000)]
Moved PRINTCAP_NAME from smb.h to includes to allow it to
be tuned per system type.
Jeremy.
Jeremy Allison [Mon, 16 Nov 1998 23:28:59 +0000 (23:28 +0000)]
Makefile.in: Re-added quotes round ROFF call for DGUX.
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 21:38:13 +0000 (21:38 +0000)]
O_EXCL fixes for printing files & oplocks.
Jeremy.
Jeremy Allison [Mon, 16 Nov 1998 20:19:57 +0000 (20:19 +0000)]
Added fixes for machine accounts.
Jeremy.
Herb Lewis [Mon, 16 Nov 1998 16:36:57 +0000 (16:36 +0000)]
add some more comments and clean it up a little more.
Herb Lewis [Mon, 16 Nov 1998 13:47:22 +0000 (13:47 +0000)]
some fixes for IRIX 5.3 builds
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
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
Andrew Tridgell [Thu, 12 Nov 1998 23:57:18 +0000 (23:57 +0000)]
we don't have any jpeg images any more
Herb Lewis [Thu, 12 Nov 1998 23:49:32 +0000 (23:49 +0000)]
Removed code that used printf/fprintf in password changin libraries.
Now passes strings instead.
Andrew Tridgell [Thu, 12 Nov 1998 23:36:03 +0000 (23:36 +0000)]
no longer needed
Andrew Tridgell [Thu, 12 Nov 1998 23:35:11 +0000 (23:35 +0000)]
changed the fonts in the images a bit to be readable at a higher
resolution
Luke Leighton [Thu, 12 Nov 1998 23:35:05 +0000 (23:35 +0000)]
security descriptors.
kanji const char* warnings.
Andrew Tridgell [Thu, 12 Nov 1998 23:10:48 +0000 (23:10 +0000)]
please remember to check that code compiles before checkin!
Herb Lewis [Thu, 12 Nov 1998 22:49:55 +0000 (22:49 +0000)]
missed one
Herb Lewis [Thu, 12 Nov 1998 22:47:17 +0000 (22:47 +0000)]
smaller images so they fit on one line of a 640/480 display
Herb Lewis [Thu, 12 Nov 1998 22:42:07 +0000 (22:42 +0000)]
Commiting tt fix.
Herb Lewis [Thu, 12 Nov 1998 22:38:12 +0000 (22:38 +0000)]
Fixed missing parens in tt entry.
Herb Lewis [Thu, 12 Nov 1998 22:17:51 +0000 (22:17 +0000)]
.cvsignore: Removed old entries.
client/client.c:
include/client.h: Added some debug messages that the old client used to
generate. These are needed to make scripts such as
'findsmb' work - there may be other changes to keep
backwards output compatibility. Do we need a -old-client-compat
argument ?
libsmb/clientgen.c: Fixed crash bug where malloc'ed data wasn't being
cleared - corrupted malloc chains.
web/swat.c: John's changes to get rid of "ghost" table entries.
Jeremy Allison [Thu, 12 Nov 1998 20:41:36 +0000 (20:41 +0000)]
Use spaces not tabs.
Jeremy.
Jeremy Allison [Thu, 12 Nov 1998 20:22:11 +0000 (20:22 +0000)]
Fixed smbpasswd so that enabling a user who already has a password
doesn't require a new password entry. Sets the 'enable/disable' code
back to being symmetrical.
Jeremy.
Jeremy Allison [Thu, 12 Nov 1998 19:40:33 +0000 (19:40 +0000)]
include/kanji.h include/proto.h lib/kanji.c: Added const parameters in string wrappers.
printing/printing.c: Added OSF1 fix.
Jeremy.
Herb Lewis [Thu, 12 Nov 1998 19:34:40 +0000 (19:34 +0000)]
clear trailing / from directory names in idb file
Luke Leighton [Thu, 12 Nov 1998 19:21:20 +0000 (19:21 +0000)]
jean-f. sent me some S-1-3-0,1,2,3 SIDs and names. S-1-3 doesn't exist.
security descriptor testing. hey wow, you can get a SD then send it back!
Herb Lewis [Thu, 12 Nov 1998 18:44:16 +0000 (18:44 +0000)]
changes from John Sygulla for changing remote passwords
Herb Lewis [Thu, 12 Nov 1998 18:29:22 +0000 (18:29 +0000)]
remove .po and .po32 files from inst package
Luke Leighton [Thu, 12 Nov 1998 17:02:29 +0000 (17:02 +0000)]
formatting
Luke Leighton [Thu, 12 Nov 1998 16:41:19 +0000 (16:41 +0000)]
minor update.
Luke Leighton [Thu, 12 Nov 1998 16:36:20 +0000 (16:36 +0000)]
spelling. added line about command-line tools equivalent to nt admin tools.
Luke Leighton [Thu, 12 Nov 1998 16:35:02 +0000 (16:35 +0000)]
spelling corrections and such-like.
Luke Leighton [Thu, 12 Nov 1998 16:07:00 +0000 (16:07 +0000)]
cleaning up conflicts between group code not yet committed and
changes from yesterday by me, jeremy and andrew.
jeremy, your ACB_PWNOTREQ mod would have caused a crash if the user
didn't exist (first check should be for smb_pass != NULL)
Luke Leighton [Thu, 12 Nov 1998 16:03:35 +0000 (16:03 +0000)]
security descriptors and registry.
Herb Lewis [Thu, 12 Nov 1998 16:02:32 +0000 (16:02 +0000)]
no longer needed
Andrew Tridgell [Thu, 12 Nov 1998 07:35:12 +0000 (07:35 +0000)]
remove my name from welcome page so I don't get mail about it.
Andrew Tridgell [Thu, 12 Nov 1998 07:32:33 +0000 (07:32 +0000)]
handle null usernames
Andrew Tridgell [Thu, 12 Nov 1998 07:28:29 +0000 (07:28 +0000)]
show all buttons in demo mode