]> arthur.barton.de Git - netatalk.git/log
netatalk.git
22 years agoPatch from Egon Niederacher <niederacher@fh-vorarlberg.ac.at> to fix quota point-backport-1-5-1
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.

22 years agoFix a problem with the new logger code.
jmarcus [Thu, 10 Jan 2002 01:36:23 +0000 (01:36 +0000)]
Fix a problem with the new logger code.

22 years agoUpdate AppleVolumes.system from Kazuhiko Okudaira <kokudaira@hotmail.com>
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.

22 years agoadded cnid logtype to the list
sibaz [Fri, 4 Jan 2002 22:03:41 +0000 (22:03 +0000)]
added cnid logtype to the list

22 years agomerged logging code into main branch. use configure option --without-logfile to...
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

22 years agoreplaced all #include <sys/syslog.h> with #include <syslog.h>
sibaz [Thu, 3 Jan 2002 17:49:38 +0000 (17:49 +0000)]
replaced all #include <sys/syslog.h> with #include <syslog.h>

22 years agoaltered the layout of code calling syslog witha space to conform with the rest of...
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 ( )

22 years agoDisallow leading and trailing spaces in MSWINDOWS volumes. This is based on
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.

22 years agoRe-added const qualifier to the argument to parseline. Instead, introduce a
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.)

22 years agoRemove some const attributes on variables that change. This should
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.

22 years agoAdded new file from stable branch.
srittau [Sun, 30 Dec 2001 18:36:21 +0000 (18:36 +0000)]
Added new file from stable branch.

22 years agoCall this version 1.6cvs.
srittau [Sun, 30 Dec 2001 18:34:25 +0000 (18:34 +0000)]
Call this version 1.6cvs.

22 years agoAllocate memory for parsing and storing configuration dynamically.
srittau [Sun, 30 Dec 2001 18:30:52 +0000 (18:30 +0000)]
Allocate memory for parsing and storing configuration dynamically.

22 years agoRemoved unused length parameters.
srittau [Sun, 30 Dec 2001 18:26:14 +0000 (18:26 +0000)]
Removed unused length parameters.

22 years agoAdd some missing breaks to preserve correct error reporting.
jmarcus [Sat, 29 Dec 2001 08:22:23 +0000 (08:22 +0000)]
Add some missing breaks to preserve correct error reporting.

22 years agoAdd 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.

22 years agoRemove another call to length. This should take out the last reference to
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.

22 years agoFix for SourceForge bugs #471911 and #495260. Overzealous argument validity
srittau [Sat, 29 Dec 2001 03:17:45 +0000 (03:17 +0000)]
Fix for SourceForge bugs #471911 and #495260. Overzealous argument validity
checking.

22 years agoRemove some syslog messages from the new tickle code.
jmarcus [Sun, 23 Dec 2001 01:19:55 +0000 (01:19 +0000)]
Remove some syslog messages from the new tickle code.

22 years ago--with-msg-dir has been replaced with --with-message-dir
jmarcus [Wed, 19 Dec 2001 06:40:38 +0000 (06:40 +0000)]
--with-msg-dir has been replaced with --with-message-dir

22 years ago--enable-srvloc isn't "EXPERIMENTAL" anymore.
srittau [Wed, 19 Dec 2001 06:02:19 +0000 (06:02 +0000)]
--enable-srvloc isn't "EXPERIMENTAL" anymore.

22 years agoClose the SOCKSTAT pipe handle.
jmarcus [Wed, 19 Dec 2001 05:30:05 +0000 (05:30 +0000)]
Close the SOCKSTAT pipe handle.

22 years agoRetain compatibility with other platforms as well as provide some code
jmarcus [Wed, 19 Dec 2001 05:28:46 +0000 (05:28 +0000)]
Retain compatibility with other platforms as well as provide some code
cleanup.

22 years agoAdd some FreeBSD-specific patches.
jmarcus [Wed, 19 Dec 2001 05:26:23 +0000 (05:26 +0000)]
Add some FreeBSD-specific patches.

22 years agoClean up the tickle handler comment.
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.

22 years agoRemove the snprintf() argument from the sprintf() calls. Thanks to
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.

22 years agoCertain platforms do not support snprintf() (e.g. Tru64). Remove that
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.

22 years agoUse conditional compilation for cnid_didname_verify instead of an #ifdef
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.

22 years agoRemove redundant AC_PREFIX_DEFAULT.
srittau [Sun, 16 Dec 2001 18:37:57 +0000 (18:37 +0000)]
Remove redundant AC_PREFIX_DEFAULT.

22 years agoUse new SLP checking macro.
srittau [Sun, 16 Dec 2001 18:37:20 +0000 (18:37 +0000)]
Use new SLP checking macro.

22 years agoUse SLP_LIBS and SLP_CFLAGS.
srittau [Sun, 16 Dec 2001 18:36:44 +0000 (18:36 +0000)]
Use SLP_LIBS and SLP_CFLAGS.

22 years agoNew macro to check for SLP.
srittau [Sun, 16 Dec 2001 18:36:02 +0000 (18:36 +0000)]
New macro to check for SLP.

22 years agoAdded variable ACLOCAL_AMFLAGS. This should fix problems when aclocal is
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.

22 years agoRevert 1.10. This was pointless anyway.
jmarcus [Sat, 15 Dec 2001 18:34:39 +0000 (18:34 +0000)]
Revert 1.10.  This was pointless anyway.

22 years agoCLEANFILES = $(GENERATED_FILES) instead of mentioning them explicitly.
srittau [Sat, 15 Dec 2001 13:53:05 +0000 (13:53 +0000)]
CLEANFILES = $(GENERATED_FILES) instead of mentioning them explicitly.

22 years agoFix distribution of lp2pap.sh(.tmpl).
srittau [Sat, 15 Dec 2001 13:45:38 +0000 (13:45 +0000)]
Fix distribution of lp2pap.sh(.tmpl).

22 years agoApplied patch from Joe to fix Solaris endian issues.
srittau [Sat, 15 Dec 2001 12:13:10 +0000 (12:13 +0000)]
Applied patch from Joe to fix Solaris endian issues.

22 years agoAdd a new -timeout option to afpd. This option specifies how many tickles
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.

22 years agoDefine the conditional COMPILE_CNID for use in Makefiles.
srittau [Fri, 14 Dec 2001 23:01:47 +0000 (23:01 +0000)]
Define the conditional COMPILE_CNID for use in Makefiles.

22 years agoRemoved the --with-cflags and --with-libs flags.
srittau [Fri, 14 Dec 2001 22:53:33 +0000 (22:53 +0000)]
Removed the --with-cflags and --with-libs flags.

22 years agoChange sleep() calls to select() calls. Using sleep() effectively kills
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.

22 years agoHopefully fix a problem when multiple clients mount and unmount a volume
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.

22 years agoHave log_archive return absolute pathnames to logs. This saves us from doing
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.

22 years agoClean up code after all the recent commits.
jmarcus [Thu, 13 Dec 2001 03:31:34 +0000 (03:31 +0000)]
Clean up code after all the recent commits.

22 years agoFix a bug where certain clients may sleep forever trying to connect to the
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.

22 years agoFix a potential bug if cnid_update is called directly after cnid_lookup.
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.

22 years ago--enable-fhs does now set mandir correctly.
srittau [Tue, 11 Dec 2001 00:38:50 +0000 (00:38 +0000)]
--enable-fhs does now set mandir correctly.

22 years agoFix braino in last commit.
jmarcus [Mon, 10 Dec 2001 23:45:53 +0000 (23:45 +0000)]
Fix braino in last commit.

22 years agoRe-enable previous DB corruption fix.
jmarcus [Mon, 10 Dec 2001 22:55:13 +0000 (22:55 +0000)]
Re-enable previous DB corruption fix.

22 years agoFix compilation with db3 3.1.17.
jmarcus [Mon, 10 Dec 2001 21:04:46 +0000 (21:04 +0000)]
Fix compilation with db3 3.1.17.

22 years agoWarning fixes.
srittau [Mon, 10 Dec 2001 20:16:43 +0000 (20:16 +0000)]
Warning fixes.

22 years agoCast argument of diatoupper and diatolower to (unsigned char).
srittau [Mon, 10 Dec 2001 20:15:13 +0000 (20:15 +0000)]
Cast argument of diatoupper and diatolower to (unsigned char).

22 years agoDon't use --with-cflags configure option in example, use CFLAGS variable,
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.

22 years agoAdded cnid_didname_verify.1 to netatalk.undocumented.
srittau [Mon, 10 Dec 2001 20:12:11 +0000 (20:12 +0000)]
Added cnid_didname_verify.1 to netatalk.undocumented.

22 years agoFix a bug in the new DB_RECOVER code that allowed for multiple clients
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.

22 years agoMake dbname into a #define just to make it easier to spot if it ever
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.

22 years agoStill compile if CNID DID scheme isn't selected.
jmarcus [Mon, 10 Dec 2001 07:29:09 +0000 (07:29 +0000)]
Still compile if CNID DID scheme isn't selected.

22 years agoInitial import into CVS.
jmarcus [Mon, 10 Dec 2001 07:21:22 +0000 (07:21 +0000)]
Initial import into CVS.

22 years agoFix up cnid_didname_verify so that it works with automake/autoconf.
jmarcus [Mon, 10 Dec 2001 07:20:37 +0000 (07:20 +0000)]
Fix up cnid_didname_verify so that it works with automake/autoconf.

22 years agoAdd a utility to check the consistency of didname.db. Using the stock
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.

22 years agoFix a problem with DB corruption when multiple clients open the same volume
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.

22 years agoModified script so that spaces could be used in zone name and
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>

22 years agoMake sure cnid.lock goes in the .AppleDB directory. This was requested
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>.

22 years agoUpdate with recent CNID commit.
jmarcus [Fri, 7 Dec 2001 17:13:17 +0000 (17:13 +0000)]
Update with recent CNID commit.

22 years agoRe-enable synchronous transactions in the CNID DB code. This should improve
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.

22 years agoAdd patch to allow afpd to correctly share out NFSv3 mounts. Effectively,
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.

22 years agoFixed --with-ssl-dir.
srittau [Mon, 3 Dec 2001 19:31:33 +0000 (19:31 +0000)]
Fixed --with-ssl-dir.

22 years agoDon't include time.h as it can be less portable. Instead, include sys/time.h.
jmarcus [Mon, 3 Dec 2001 15:50:06 +0000 (15:50 +0000)]
Don't include time.h as it can be less portable.  Instead, include sys/time.h.

22 years agoTru64 does not define timeval in time.h. Make sure we check for time.h and
jmarcus [Mon, 3 Dec 2001 15:46:29 +0000 (15:46 +0000)]
Tru64 does not define timeval in time.h.  Make sure we check for time.h and
cma.h to add better portability.

22 years agoUpdated with afpd changes.
jmarcus [Mon, 3 Dec 2001 05:15:02 +0000 (05:15 +0000)]
Updated with afpd changes.

22 years agoBIG commit to improve code style using astyle as well as fix up CNID DB
jmarcus [Mon, 3 Dec 2001 05:03:38 +0000 (05:03 +0000)]
BIG commit to improve code style using astyle as well as fix up CNID DB
so it might actually fair in production.  Also, removed a compiler warning
when an unsinged variable was being tested as being less than 0.

22 years agoRemoved checks for libs that cause problems on OpenBSD. Use new quota check.
srittau [Sat, 1 Dec 2001 15:26:41 +0000 (15:26 +0000)]
Removed checks for libs that cause problems on OpenBSD. Use new quota check.

22 years agoNew quota check macro.
srittau [Sat, 1 Dec 2001 15:25:54 +0000 (15:25 +0000)]
New quota check macro.

22 years agoRemove obsolete --with-did configure option.
srittau [Sat, 1 Dec 2001 15:24:40 +0000 (15:24 +0000)]
Remove obsolete --with-did configure option.

22 years agoMinor cleanups.
srittau [Sat, 1 Dec 2001 15:17:33 +0000 (15:17 +0000)]
Minor cleanups.

22 years agoAdded pam-check.m4 to distributed files.
srittau [Sat, 1 Dec 2001 15:15:38 +0000 (15:15 +0000)]
Added pam-check.m4 to distributed files.

22 years agoSmall change to the AC_MSG_RESULT of --with-did=hash.
srittau [Fri, 30 Nov 2001 05:52:36 +0000 (05:52 +0000)]
Small change to the AC_MSG_RESULT of --with-did=hash.

22 years agoFix a potential divide by zero problem.
jmarcus [Wed, 28 Nov 2001 03:10:01 +0000 (03:10 +0000)]
Fix a potential divide by zero problem.

22 years agoClean up --with-did check: "hash" is now an explicit argument.
srittau [Wed, 28 Nov 2001 01:02:21 +0000 (01:02 +0000)]
Clean up --with-did check: "hash" is now an explicit argument.

22 years ago--with-cnid-db was now merged with --with-did. Document this.
srittau [Wed, 28 Nov 2001 00:12:03 +0000 (00:12 +0000)]
--with-cnid-db was now merged with --with-did. Document this.

22 years agoBig commit to improve database throughput and fix deadlocks. This also
jmarcus [Tue, 27 Nov 2001 23:38:17 +0000 (23:38 +0000)]
Big commit to improve database throughput and fix deadlocks.  This also
cleans up the source code with a nice call to astyle.

22 years agoRemoved the --with-cnid-db configure option, and replaced it with
jmarcus [Tue, 27 Nov 2001 22:40:52 +0000 (22:40 +0000)]
Removed the --with-cnid-db configure option, and replaced it with
--with-did=cnid.  This makes things more consistent, and avoids dual
DID calculation schemes.

22 years agoForward-Ports from the stabilizing branch.
srittau [Sun, 25 Nov 2001 21:48:01 +0000 (21:48 +0000)]
Forward-Ports from the stabilizing branch.

22 years agoPAM cleanups, removed unused USE_SHADOWPW conditional.
srittau [Sat, 24 Nov 2001 18:32:31 +0000 (18:32 +0000)]
PAM cleanups, removed unused USE_SHADOWPW conditional.

22 years agoDon't add db3 flags to CFLAGS and LIBS, but use DB3_CFLAGS and DB3_LIBS
srittau [Fri, 23 Nov 2001 22:45:23 +0000 (22:45 +0000)]
Don't add db3 flags to CFLAGS and LIBS, but use DB3_CFLAGS and DB3_LIBS
directly, where they are needed.

22 years agoRemoved obsolete --with-config-dir option.
srittau [Fri, 23 Nov 2001 07:35:12 +0000 (07:35 +0000)]
Removed obsolete --with-config-dir option.

22 years agoRemoved obsolete file. Please modify your local acinclude.m4 file as described
srittau [Fri, 23 Nov 2001 07:34:29 +0000 (07:34 +0000)]
Removed obsolete file. Please modify your local acinclude.m4 file as described
in doc/DEVELOPER if you're building for Tru64 or are creating tar-balls.

22 years agoFixed a typo in script. pooba53 <bobo@bocklabs.wisc.edu>
pooba53 [Wed, 21 Nov 2001 16:22:33 +0000 (16:22 +0000)]
Fixed a typo in script.  pooba53 <bobo@bocklabs.wisc.edu>

22 years agoMostly reverted Dan's patch after a short discussion with him, but fixed
srittau [Tue, 20 Nov 2001 19:06:46 +0000 (19:06 +0000)]
Mostly reverted Dan's patch after a short discussion with him, but fixed
the problem regarding --with-config-dir overwriting sysconfdir even if
the former option wasn't even given.

22 years agoMake module known as uams_dhx_pam as well as uams_dhx.
srittau [Tue, 20 Nov 2001 17:07:18 +0000 (17:07 +0000)]
Make module known as uams_dhx_pam as well as uams_dhx.

22 years agoDon't print scary (but harmless) errors, when links in $(prefix)/sbin can't
srittau [Tue, 20 Nov 2001 17:06:38 +0000 (17:06 +0000)]
Don't print scary (but harmless) errors, when links in $(prefix)/sbin can't
be removed in "make install".

22 years agoWarning fixes.
srittau [Tue, 20 Nov 2001 17:03:30 +0000 (17:03 +0000)]
Warning fixes.

22 years agoDocument the problems with libtool and Tru64 and add the patch that needs
srittau [Tue, 20 Nov 2001 17:01:19 +0000 (17:01 +0000)]
Document the problems with libtool and Tru64 and add the patch that needs
to be applied to acinclude.m4.

22 years agoFixed file so --sysconfdir works correctly as well as adding code to
pooba53 [Tue, 20 Nov 2001 16:04:23 +0000 (16:04 +0000)]
Fixed file so --sysconfdir works correctly as well as adding code to
capture --prefix=DIR and handle it correctly.

22 years ago Modified distib/initscripts/Makefile.am so that SuSE init script ends up
pooba53 [Mon, 19 Nov 2001 19:12:56 +0000 (19:12 +0000)]
 Modified distib/initscripts/Makefile.am so that SuSE init script ends up
in /etc/rc.d instead of sbin/init.d.

22 years agoModify directory where SuSE initscript is. It was going to /sbin/init.d/ but should
pooba53 [Mon, 19 Nov 2001 19:09:42 +0000 (19:09 +0000)]
Modify directory where SuSE initscript is. It was going to /sbin/init.d/ but should
be in /etc/rc.d.  pooba53 <bobo@bocklabs.wisc.edu>

22 years ago modified config/AppleVolumes.default to not
pooba53 [Mon, 19 Nov 2001 13:47:33 +0000 (13:47 +0000)]
 modified config/AppleVolumes.default to not
          have the "/Home Directory" text in it as this is not the
          proper way of allowing default Home directory access.

22 years agoModify the line that contains the tilde giving access to Home directories.
pooba53 [Mon, 19 Nov 2001 13:44:04 +0000 (13:44 +0000)]
Modify the line that contains the tilde giving access to Home directories.

22 years agoUpdated to current Debian work-in-progress.
srittau [Sun, 18 Nov 2001 14:22:33 +0000 (14:22 +0000)]
Updated to current Debian work-in-progress.

22 years agoMoved acinclude.m4 into macros directory.
srittau [Sat, 17 Nov 2001 23:47:22 +0000 (23:47 +0000)]
Moved acinclude.m4 into macros directory.