]>
arthur.barton.de Git - netatalk.git/log
srittau [Sat, 19 Jan 2002 14:44:20 +0000 (14:44 +0000)]
Ignore some (now) generated files.
jmarcus [Sat, 19 Jan 2002 00:22:23 +0000 (00:22 +0000)]
Back out previous commit. There is still a point of contention on what the
correct way to handle quotas.
jmarcus [Fri, 18 Jan 2002 22:42:24 +0000 (22:42 +0000)]
When a user exceeds her soft quota, report disk space free is 0 bytes.
This is in line with the way Samba does things apparently.
jmarcus [Fri, 18 Jan 2002 05:23:25 +0000 (05:23 +0000)]
Fix up some comments to reflect the last CNID change.
jmarcus [Fri, 18 Jan 2002 05:19:26 +0000 (05:19 +0000)]
Change the first CNID from 3 to 17. According to the AFP 3.0 spec on page
31 of the PDF file, DIDs 1 through 16 are reserved.
jmarcus [Fri, 18 Jan 2002 04:53:48 +0000 (04:53 +0000)]
Disable asynchronous transactions again. This may be contributing to some
database instability people are seeing.
jmarcus [Fri, 18 Jan 2002 04:51:27 +0000 (04:51 +0000)]
Make the error generated when the actual CNID add fails a little more
descriptive.
jmarcus [Fri, 18 Jan 2002 04:46:19 +0000 (04:46 +0000)]
Forced commit to clean up the code.
jmarcus [Fri, 18 Jan 2002 04:45:38 +0000 (04:45 +0000)]
Whoops! Add back some missing txn_abort()'s.
jmarcus [Thu, 17 Jan 2002 16:19:06 +0000 (16:19 +0000)]
Implement a round of CNID DB fixes per suggestions by
didier <dgautheron@magic.fr>. These changes enforce non-reusable DIDs
and FNums, and remove some transaction nesting in cnid_add.
Also, if cnid_add fails for whatever reason, functions that call it will
return errors instead of proceding.
jmarcus [Thu, 17 Jan 2002 16:13:34 +0000 (16:13 +0000)]
Fixes from didier <dgautheron@magic.fr> to not use a freed pointer in
when closing an afp_dsi session, and to not return 0 for as an
OForkRefNum (per Apple spec).
srittau [Thu, 17 Jan 2002 07:11:12 +0000 (07:11 +0000)]
More Solaris cleanups for 64bit compatibility.
srittau [Thu, 17 Jan 2002 06:13:44 +0000 (06:13 +0000)]
signal patches from NetBSD package via David Rankin
srittau [Thu, 17 Jan 2002 06:13:02 +0000 (06:13 +0000)]
Cleanups that aim towards the 64bit fixes.
srittau [Thu, 17 Jan 2002 06:12:02 +0000 (06:12 +0000)]
Head fixes and cleanup.
srittau [Thu, 17 Jan 2002 06:10:43 +0000 (06:10 +0000)]
termcap patches from NetBSD package by Christos Zoulas
srittau [Thu, 17 Jan 2002 06:10:12 +0000 (06:10 +0000)]
Added padding to a structure. Patch by David Rankin.
srittau [Thu, 17 Jan 2002 06:08:55 +0000 (06:08 +0000)]
Type imporvements.
srittau [Thu, 17 Jan 2002 06:05:41 +0000 (06:05 +0000)]
Fixed typo that prevented compilation.
srittau [Thu, 17 Jan 2002 06:04:35 +0000 (06:04 +0000)]
NetBSD init scripts by David Rankin.
srittau [Thu, 17 Jan 2002 06:03:17 +0000 (06:03 +0000)]
Use new variable NLSPATH.
srittau [Thu, 17 Jan 2002 05:59:25 +0000 (05:59 +0000)]
Auto-generate Perl scripts so the the path to the interpreter will be
set correctly.
srittau [Thu, 17 Jan 2002 05:57:04 +0000 (05:57 +0000)]
New configure switch: --enable-netbsd.
srittau [Thu, 17 Jan 2002 05:55:41 +0000 (05:55 +0000)]
Don't define DEBUG is --enable-debug isn't given. Patch by
epl@ariel.ucs.unimelb.edu.au.
srittau [Thu, 17 Jan 2002 05:53:57 +0000 (05:53 +0000)]
New substituted variable: NLSDIR. Equals $PKGCONFDIR/nls for now.
srittau [Thu, 17 Jan 2002 05:50:38 +0000 (05:50 +0000)]
Use new macros NETATALK_PROG_PERL and NETATALK_AFS_CHECK.
srittau [Thu, 17 Jan 2002 05:48:51 +0000 (05:48 +0000)]
New macro to check for AFS support.
srittau [Thu, 17 Jan 2002 05:48:00 +0000 (05:48 +0000)]
Added proper comments.
srittau [Thu, 17 Jan 2002 05:46:53 +0000 (05:46 +0000)]
New macro to check for Perl (just assumes that perl is in /usr/bin for now).
srittau [Thu, 17 Jan 2002 05:45:11 +0000 (05:45 +0000)]
Added David Rankin as NetBSD contributor.
Sumit's name is actually Sumit Bose AFAIK.
Partly changed my e-mail address back to jroger.in-berlin.de. (debian.org is
just for my Debian packaging job.)
jmarcus [Wed, 16 Jan 2002 19:55:15 +0000 (19:55 +0000)]
Add support for all the DID schemes to fork.c.
jmarcus [Wed, 16 Jan 2002 19:46:52 +0000 (19:46 +0000)]
FNum for a fork needs to go out in network byte order.
jmarcus [Tue, 15 Jan 2002 16:33:25 +0000 (16:33 +0000)]
Fix typo in finding SRVLOC libs. Thanks to Burkhard Schmidt <bs@cpfs.mpg.de>.
srittau [Tue, 15 Jan 2002 13:42:58 +0000 (13:42 +0000)]
socklen_t is not standardized. Use size_t, instead.
jmarcus [Sun, 13 Jan 2002 07:22:02 +0000 (07:22 +0000)]
Patch from Egon Niederacher <niederacher@fh-vorarlberg.ac.at> to fix quota
support on FreeBSD. I also fixed a potention multiplatform bug with
group quotas.
jmarcus [Thu, 10 Jan 2002 01:36:23 +0000 (01:36 +0000)]
Fix a problem with the new logger code.
jmarcus [Mon, 7 Jan 2002 16:21:00 +0000 (16:21 +0000)]
Update AppleVolumes.system from Kazuhiko Okudaira <kokudaira@hotmail.com>
in dedication to Miss Tamaki Imazu.
sibaz [Fri, 4 Jan 2002 22:03:41 +0000 (22:03 +0000)]
added cnid logtype to the list
sibaz [Fri, 4 Jan 2002 04:45:46 +0000 (04:45 +0000)]
merged logging code into main branch. use configure option --without-logfile to turn the new code off
sibaz [Thu, 3 Jan 2002 17:49:38 +0000 (17:49 +0000)]
replaced all #include <sys/syslog.h> with #include <syslog.h>
sibaz [Thu, 3 Jan 2002 17:29:10 +0000 (17:29 +0000)]
altered the layout of code calling syslog witha space to conform with the rest of the code which calls it wihout (syslog( rather than syslog ( )
srittau [Wed, 2 Jan 2002 21:14:10 +0000 (21:14 +0000)]
Disallow leading and trailing spaces in MSWINDOWS volumes. This is based on
SourceForge patch #480115, submitted by Patrick Bihan-Faou (pbf) and
crediting Hervé Masson and addresses SF bug #434934.
srittau [Mon, 31 Dec 2001 20:01:17 +0000 (20:01 +0000)]
Re-added const qualifier to the argument to parseline. Instead, introduce a
new non-const tmp variable called tmpbuf. (Joe, you were half a minute quicker
than I.)
jmarcus [Mon, 31 Dec 2001 18:40:08 +0000 (18:40 +0000)]
Remove some const attributes on variables that change. This should
get this to compile correctly.
srittau [Sun, 30 Dec 2001 18:36:21 +0000 (18:36 +0000)]
Added new file from stable branch.
srittau [Sun, 30 Dec 2001 18:34:25 +0000 (18:34 +0000)]
Call this version 1.6cvs.
srittau [Sun, 30 Dec 2001 18:30:52 +0000 (18:30 +0000)]
Allocate memory for parsing and storing configuration dynamically.
srittau [Sun, 30 Dec 2001 18:26:14 +0000 (18:26 +0000)]
Removed unused length parameters.
jmarcus [Sat, 29 Dec 2001 08:22:23 +0000 (08:22 +0000)]
Add some missing breaks to preserve correct error reporting.
jmarcus [Sat, 29 Dec 2001 08:16:21 +0000 (08:16 +0000)]
Add some missing breaks to preserve correct error reporting.
jmarcus [Sat, 29 Dec 2001 04:55:32 +0000 (04:55 +0000)]
Remove another call to length. This should take out the last reference to
an uninitialized variable.
TODO: Remove any mention of the length variable entirely.
srittau [Sat, 29 Dec 2001 03:17:45 +0000 (03:17 +0000)]
Fix for SourceForge bugs #471911 and #495260. Overzealous argument validity
checking.
jmarcus [Sun, 23 Dec 2001 01:19:55 +0000 (01:19 +0000)]
Remove some syslog messages from the new tickle code.
jmarcus [Wed, 19 Dec 2001 06:40:38 +0000 (06:40 +0000)]
--with-msg-dir has been replaced with --with-message-dir
srittau [Wed, 19 Dec 2001 06:02:19 +0000 (06:02 +0000)]
--enable-srvloc isn't "EXPERIMENTAL" anymore.
jmarcus [Wed, 19 Dec 2001 05:30:05 +0000 (05:30 +0000)]
Close the SOCKSTAT pipe handle.
jmarcus [Wed, 19 Dec 2001 05:28:46 +0000 (05:28 +0000)]
Retain compatibility with other platforms as well as provide some code
cleanup.
jmarcus [Wed, 19 Dec 2001 05:26:23 +0000 (05:26 +0000)]
Add some FreeBSD-specific patches.
jmarcus [Wed, 19 Dec 2001 01:21:31 +0000 (01:21 +0000)]
Clean up the tickle handler comment.
TODO: The tickle handler syslog message needs to come out at some point.
jmarcus [Sun, 16 Dec 2001 19:45:17 +0000 (19:45 +0000)]
Remove the snprintf() argument from the sprintf() calls. Thanks to
Burkhard Schmidt for catching this.
jmarcus [Sun, 16 Dec 2001 18:52:46 +0000 (18:52 +0000)]
Certain platforms do not support snprintf() (e.g. Tru64). Remove that
function call, and replace it with sprintf() after verifying we aren't
going to overflow srvloc_url.
srittau [Sun, 16 Dec 2001 18:39:34 +0000 (18:39 +0000)]
Use conditional compilation for cnid_didname_verify instead of an #ifdef
in the code.
srittau [Sun, 16 Dec 2001 18:37:57 +0000 (18:37 +0000)]
Remove redundant AC_PREFIX_DEFAULT.
srittau [Sun, 16 Dec 2001 18:37:20 +0000 (18:37 +0000)]
Use new SLP checking macro.
srittau [Sun, 16 Dec 2001 18:36:44 +0000 (18:36 +0000)]
Use SLP_LIBS and SLP_CFLAGS.
srittau [Sun, 16 Dec 2001 18:36:02 +0000 (18:36 +0000)]
New macro to check for SLP.
srittau [Sat, 15 Dec 2001 23:59:12 +0000 (23:59 +0000)]
Added variable ACLOCAL_AMFLAGS. This should fix problems when aclocal is
re-run by automake.
jmarcus [Sat, 15 Dec 2001 18:34:39 +0000 (18:34 +0000)]
Revert 1.10. This was pointless anyway.
srittau [Sat, 15 Dec 2001 13:53:05 +0000 (13:53 +0000)]
CLEANFILES = $(GENERATED_FILES) instead of mentioning them explicitly.
srittau [Sat, 15 Dec 2001 13:45:38 +0000 (13:45 +0000)]
Fix distribution of lp2pap.sh(.tmpl).
srittau [Sat, 15 Dec 2001 12:13:10 +0000 (12:13 +0000)]
Applied patch from Joe to fix Solaris endian issues.
jmarcus [Sat, 15 Dec 2001 06:25:43 +0000 (06:25 +0000)]
Add a new -timeout option to afpd. This option specifies how many tickles
should be sent before the server closes a AFPoTCP (DSI) session. The default
is 4 tickles 30 seconds apart, for a timeout of 2 minutes. This option
should be used instead of -tickleval to control timeouts.
srittau [Fri, 14 Dec 2001 23:01:47 +0000 (23:01 +0000)]
Define the conditional COMPILE_CNID for use in Makefiles.
srittau [Fri, 14 Dec 2001 22:53:33 +0000 (22:53 +0000)]
Removed the --with-cflags and --with-libs flags.
jmarcus [Fri, 14 Dec 2001 19:55:20 +0000 (19:55 +0000)]
Change sleep() calls to select() calls. Using sleep() effectively kills
all SIGALRM handlers on Solaris.
jmarcus [Fri, 14 Dec 2001 03:10:37 +0000 (03:10 +0000)]
Hopefully fix a problem when multiple clients mount and unmount a volume
repeatedly. Also, make the cnid.recover file a little more fool-proof.
jmarcus [Thu, 13 Dec 2001 15:15:05 +0000 (15:15 +0000)]
Have log_archive return absolute pathnames to logs. This saves us from doing
a chdir to .AppleDB which can cause problems for other clients.
jmarcus [Thu, 13 Dec 2001 03:31:34 +0000 (03:31 +0000)]
Clean up code after all the recent commits.
jmarcus [Thu, 13 Dec 2001 02:39:37 +0000 (02:39 +0000)]
Fix a bug where certain clients may sleep forever trying to connect to the
server if for some reason a controlling afpd quit before removing the
recover.cnid file.
Also, do a full checkpoint when the last client disconnects, and remove any
logfiles that might be lingering around.
jmarcus [Wed, 12 Dec 2001 09:16:20 +0000 (09:16 +0000)]
Fix a potential bug if cnid_update is called directly after cnid_lookup.
Also, improve performance when adding new CNIDs.
srittau [Tue, 11 Dec 2001 00:38:50 +0000 (00:38 +0000)]
--enable-fhs does now set mandir correctly.
jmarcus [Mon, 10 Dec 2001 23:45:53 +0000 (23:45 +0000)]
Fix braino in last commit.
jmarcus [Mon, 10 Dec 2001 22:55:13 +0000 (22:55 +0000)]
Re-enable previous DB corruption fix.
jmarcus [Mon, 10 Dec 2001 21:04:46 +0000 (21:04 +0000)]
Fix compilation with db3 3.1.17.
srittau [Mon, 10 Dec 2001 20:16:43 +0000 (20:16 +0000)]
Warning fixes.
srittau [Mon, 10 Dec 2001 20:15:13 +0000 (20:15 +0000)]
Cast argument of diatoupper and diatolower to (unsigned char).
srittau [Mon, 10 Dec 2001 20:14:09 +0000 (20:14 +0000)]
Don't use --with-cflags configure option in example, use CFLAGS variable,
instead.
srittau [Mon, 10 Dec 2001 20:12:11 +0000 (20:12 +0000)]
Added cnid_didname_verify.1 to netatalk.undocumented.
jmarcus [Mon, 10 Dec 2001 18:39:00 +0000 (18:39 +0000)]
Fix a bug in the new DB_RECOVER code that allowed for multiple clients
to open the same DB ENV with DB_RECOVER.
jmarcus [Mon, 10 Dec 2001 07:34:39 +0000 (07:34 +0000)]
Make dbname into a #define just to make it easier to spot if it ever
needs changing.
jmarcus [Mon, 10 Dec 2001 07:29:09 +0000 (07:29 +0000)]
Still compile if CNID DID scheme isn't selected.
jmarcus [Mon, 10 Dec 2001 07:21:22 +0000 (07:21 +0000)]
Initial import into CVS.
jmarcus [Mon, 10 Dec 2001 07:20:37 +0000 (07:20 +0000)]
Fix up cnid_didname_verify so that it works with automake/autoconf.
jmarcus [Mon, 10 Dec 2001 07:04:27 +0000 (07:04 +0000)]
Add a utility to check the consistency of didname.db. Using the stock
db_verify that comes with Berkeley DB will fail since CNID DB uses a
custom comparison routine to sort the didname BTree.
jmarcus [Mon, 10 Dec 2001 03:51:56 +0000 (03:51 +0000)]
Fix a problem with DB corruption when multiple clients open the same volume
at the same time. Also correct a possible deadlock when deleting files
at the same time another client is copying files to the same volume.
pooba53 [Fri, 7 Dec 2001 18:18:04 +0000 (18:18 +0000)]
Modified script so that spaces could be used in zone name and
server's nbp name. <bobo@bocklabs.wisc.edu>
jmarcus [Fri, 7 Dec 2001 17:29:06 +0000 (17:29 +0000)]
Make sure cnid.lock goes in the .AppleDB directory. This was requested
by Alistair Riddell <ali@gwc.org.uk>.
jmarcus [Fri, 7 Dec 2001 17:13:17 +0000 (17:13 +0000)]
Update with recent CNID commit.
jmarcus [Fri, 7 Dec 2001 16:58:45 +0000 (16:58 +0000)]
Re-enable synchronous transactions in the CNID DB code. This should improve
performance.
jmarcus [Tue, 4 Dec 2001 16:57:42 +0000 (16:57 +0000)]
Add patch to allow afpd to correctly share out NFSv3 mounts. Effectively,
we replace access() calls with stat() calls. Thanks to
Pierre Beyssac <beyssac@enst.fr> for the patch.