]> arthur.barton.de Git - netatalk.git/log
netatalk.git
22 years agoBackport from stabilizing branch: Changed my e-mail address partly back to
srittau [Thu, 7 Feb 2002 23:33:24 +0000 (23:33 +0000)]
Backport from stabilizing branch: Changed my e-mail address partly back to
srittau@jroger.in-berlin.de, added Sumit's last name.

22 years agoAutomatically detect the temp directory. The tmpdir() code is taken from
jmarcus [Thu, 7 Feb 2002 21:45:07 +0000 (21:45 +0000)]
Automatically detect the temp directory.  The tmpdir() code is taken from
File::Spec, and brought to my attention by MacMan One <power2themacs@yahoo.com>.

22 years agoGREP no longer needs to be editable. Also, add a blurb about the script, and
jmarcus [Thu, 7 Feb 2002 16:10:29 +0000 (16:10 +0000)]
GREP no longer needs to be editable.  Also, add a blurb about the script, and
the $Id$ tag.

22 years agoAdd a missing bin element to the db_verify and db_stat paths. Also, change
jmarcus [Thu, 7 Feb 2002 15:57:39 +0000 (15:57 +0000)]
Add a missing bin element to the db_verify and db_stat paths.  Also, change
the default db_* commands to something more reasonable.

22 years agoAdd support for the cnid_maint script.
jmarcus [Thu, 7 Feb 2002 05:10:28 +0000 (05:10 +0000)]
Add support for the cnid_maint script.

22 years agoChange the name of the Perl-check macro to reflect the fact we are now using
jmarcus [Thu, 7 Feb 2002 05:09:59 +0000 (05:09 +0000)]
Change the name of the Perl-check macro to reflect the fact we are now using
a standard version.  Also, add support for the cnid_maint script.

22 years agoAdd macros to check for grep and ps.
jmarcus [Thu, 7 Feb 2002 05:09:01 +0000 (05:09 +0000)]
Add macros to check for grep and ps.

22 years agoAdd DB3_PATH for the cnid_maint script.
jmarcus [Thu, 7 Feb 2002 05:08:36 +0000 (05:08 +0000)]
Add DB3_PATH for the cnid_maint script.

22 years agoFix the Perl-check macro so that it acutally checks for Perl.
jmarcus [Thu, 7 Feb 2002 05:06:48 +0000 (05:06 +0000)]
Fix the Perl-check macro so that it acutally checks for Perl.

22 years agoAdd a missing $(DESTDIR) to fix make install. Thanks to Eddie
jmarcus [Thu, 7 Feb 2002 04:28:15 +0000 (04:28 +0000)]
Add a missing $(DESTDIR) to fix make install.  Thanks to Eddie
epl@unimelb.edu.au for pointing this out.

22 years agoAdd the -server_notif server flag to specify whether or not to advertise
jmarcus [Wed, 6 Feb 2002 21:58:47 +0000 (21:58 +0000)]
Add the -server_notif server flag to specify whether or not to advertise
server notification support.  If this flag is not specified, then the clients
will poll the server every 10 seconds for directory changes.

22 years agoFixed some misleading log messages.
srittau [Tue, 5 Feb 2002 20:42:04 +0000 (20:42 +0000)]
Fixed some misleading log messages.

22 years ago*** empty log message ***
morgana [Sun, 3 Feb 2002 22:10:43 +0000 (22:10 +0000)]
*** empty log message ***

22 years agoMake bin/afppasswd setuid root during install. This lets local users call
morgana [Sun, 3 Feb 2002 22:03:59 +0000 (22:03 +0000)]
Make bin/afppasswd setuid root during install.  This lets local users call
afppasswd to update their afppasswd password, similar to the standard unix
passwd program.  Fixes sourceforge bug #230524.

22 years agoFix a problem where overquota() will report false if the user has no
jmarcus [Sun, 3 Feb 2002 05:01:09 +0000 (05:01 +0000)]
Fix a problem where overquota() will report false if the user has no
set time limit.

22 years agoFix a race condition on reading and writing data to the same fork. Also,
jmarcus [Sun, 3 Feb 2002 04:57:38 +0000 (04:57 +0000)]
Fix a race condition on reading and writing data to the same fork.  Also,
correct a lock contention issue where one afpd process could lock a
byte region, and then only unlock part of that region.  The next afpd
process to access the same reason would receive AFPERR_LOCK.  Submitted by
didier <dgautheron@magic.fr>.

22 years agoIf the DSI command block is invalid, afpd will disconnect without indicating
jmarcus [Sat, 2 Feb 2002 21:09:13 +0000 (21:09 +0000)]
If the DSI command block is invalid, afpd will disconnect without indicating
an error.  Submitted by didier <dgautheron@magic.fr>.

22 years agoDon't try and derefernce freed memory. Submitted by
jmarcus [Sat, 2 Feb 2002 21:08:21 +0000 (21:08 +0000)]
Don't try and derefernce freed memory.  Submitted by
didier <dgautheron@magic.fr>.

22 years agoMove CNID_INVALID to include/atak/cnid.h to make it public.
jmarcus [Sat, 2 Feb 2002 19:12:31 +0000 (19:12 +0000)]
Move CNID_INVALID to include/atak/cnid.h to make it public.

22 years agocnid_t is a unsigned variable, Joe! Thanks to Didier for pointing this out.
jmarcus [Sat, 2 Feb 2002 19:11:33 +0000 (19:11 +0000)]
cnid_t is a unsigned variable, Joe!  Thanks to Didier for pointing this out.

22 years agoYank out all the recovery code. This will be replaced by a run-from-cron
jmarcus [Fri, 1 Feb 2002 19:51:09 +0000 (19:51 +0000)]
Yank out all the recovery code.  This will be replaced by a run-from-cron
script.

22 years agodlopen should use RTLD_LAZY instead of RTLD_NOW on NetBSD. Patch #502168.
morgana [Fri, 1 Feb 2002 07:03:49 +0000 (07:03 +0000)]
dlopen should use RTLD_LAZY instead of RTLD_NOW on NetBSD.  Patch #502168.

22 years agoBack-ported NEWS entry from 1.5.1 from stabilizing branch.
srittau [Fri, 1 Feb 2002 06:19:42 +0000 (06:19 +0000)]
Back-ported NEWS entry from 1.5.1 from stabilizing branch.

22 years agoFixed a typo and improved formatting of Q15.
srittau [Fri, 1 Feb 2002 06:15:34 +0000 (06:15 +0000)]
Fixed a typo and improved formatting of Q15.

22 years agoSmall change to increase code readability.
srittau [Fri, 1 Feb 2002 06:14:39 +0000 (06:14 +0000)]
Small change to increase code readability.

22 years agoUpdate the CNID code again to allow for 4G CNIDs, and a little somethin'
jmarcus [Tue, 29 Jan 2002 21:12:14 +0000 (21:12 +0000)]
Update the CNID code again to allow for 4G CNIDs, and a little somethin'
somethin' to try and fix the issue when a client holding the recovery lock
on a database unexpectedly disconnects without closing the database.

22 years agoForced commit. As of rev 1.34 of cnid_open.c CNID works again in HEAD.
jmarcus [Thu, 24 Jan 2002 16:46:53 +0000 (16:46 +0000)]
Forced commit. As of rev 1.34 of cnid_open.c CNID works again in HEAD.

22 years agoFix a potential buffer overflow. Thanks to didier <dgautheron@magic.fr>.
jmarcus [Thu, 24 Jan 2002 16:32:12 +0000 (16:32 +0000)]
Fix a potential buffer overflow.  Thanks to didier <dgautheron@magic.fr>.

22 years agoSanity check this code more since it is run by root. Also clean up the style
jmarcus [Thu, 24 Jan 2002 16:31:20 +0000 (16:31 +0000)]
Sanity check this code more since it is run by root.  Also clean up the style
some.  Thanks to didier <dgautheron@magic.fr>.

22 years agoDo some more sanity checking to ensure data integrity. Thanks to
jmarcus [Thu, 24 Jan 2002 16:27:31 +0000 (16:27 +0000)]
Do some more sanity checking to ensure data integrity.  Thanks to
didier <dgautheron@magic.fr>.

22 years agoerrno is meaningless if len == 0. Thanks to didier <dgautheron@magic.fr>.
jmarcus [Thu, 24 Jan 2002 16:24:26 +0000 (16:24 +0000)]
errno is meaningless if len == 0.  Thanks to didier <dgautheron@magic.fr>.

22 years agoProper checking for errors when remove() fails.
jmarcus [Thu, 24 Jan 2002 16:22:16 +0000 (16:22 +0000)]
Proper checking for errors when remove() fails.

22 years agoForced commit. As of rev 1.34 of cnid_open.c CNID works again in HEAD.
jmarcus [Thu, 24 Jan 2002 15:15:48 +0000 (15:15 +0000)]
Forced commit.  As of rev 1.34 of cnid_open.c CNID works again in HEAD.

22 years agoAdd a message indicating what version of BDB is being used.
jmarcus [Wed, 23 Jan 2002 02:31:32 +0000 (02:31 +0000)]
Add a message indicating what version of BDB is being used.

22 years agoChange didname database to a hash instead of btree. Since we're using a
jmarcus [Mon, 21 Jan 2002 04:48:14 +0000 (04:48 +0000)]
Change didname database to a hash instead of btree.  Since we're using a
red-black tree within afpd to keep directories in line, this is sort of
redundant.  Also, the compare function seems to be buggy.

This is still a todo item, but as of now, the hash seems to work well, and
increase database resiliency.  This commit obsoletes the didname verify
tool in bin.  I'm going to leave the tool in for now pending further
investigation of this problem.

22 years agoFix some obvious problems in the new CNID code. However, things are still
jmarcus [Mon, 21 Jan 2002 04:06:41 +0000 (04:06 +0000)]
Fix some obvious problems in the new CNID code.  However, things are still
broken, and need to be looked at.

22 years agost is not a pointer here. Pass its address.
jmarcus [Sun, 20 Jan 2002 01:34:40 +0000 (01:34 +0000)]
st is not a pointer here.  Pass its address.

22 years agoFix a bogon compile error.
jmarcus [Sun, 20 Jan 2002 01:32:45 +0000 (01:32 +0000)]
Fix a bogon compile error.

22 years agoStyle police.
jmarcus [Sat, 19 Jan 2002 21:42:08 +0000 (21:42 +0000)]
Style police.

22 years agoStyle police.
jmarcus [Sat, 19 Jan 2002 21:29:54 +0000 (21:29 +0000)]
Style police.

22 years agoWhen the user's disk usage exceeds quota hard limit, report bytes free as 0,
jmarcus [Sat, 19 Jan 2002 17:27:20 +0000 (17:27 +0000)]
When the user's disk usage exceeds quota hard limit, report bytes free as 0,
and bytes total as the number of types the user is currently using.

22 years agoIgnore some (now) generated files.
srittau [Sat, 19 Jan 2002 14:44:20 +0000 (14:44 +0000)]
Ignore some (now) generated files.

22 years agoBack out previous commit. There is still a point of contention on what the
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.

22 years agoWhen a user exceeds her soft quota, report disk space free is 0 bytes.
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.

22 years agoFix up some comments to reflect the last CNID change.
jmarcus [Fri, 18 Jan 2002 05:23:25 +0000 (05:23 +0000)]
Fix up some comments to reflect the last CNID change.

22 years agoChange the first CNID from 3 to 17. According to the AFP 3.0 spec on page
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.

22 years agoDisable asynchronous transactions again. This may be contributing to some
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.

22 years agoMake the error generated when the actual CNID add fails a little more
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.

22 years agoForced commit to clean up the code.
jmarcus [Fri, 18 Jan 2002 04:46:19 +0000 (04:46 +0000)]
Forced commit to clean up the code.

22 years agoWhoops! Add back some missing txn_abort()'s.
jmarcus [Fri, 18 Jan 2002 04:45:38 +0000 (04:45 +0000)]
Whoops!  Add back some missing txn_abort()'s.

22 years agoImplement a round of CNID DB fixes per suggestions by
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.

22 years agoFixes from didier <dgautheron@magic.fr> to not use a freed pointer in
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).

22 years agoMore Solaris cleanups for 64bit compatibility.
srittau [Thu, 17 Jan 2002 07:11:12 +0000 (07:11 +0000)]
More Solaris cleanups for 64bit compatibility.

22 years agosignal patches from NetBSD package via David Rankin
srittau [Thu, 17 Jan 2002 06:13:44 +0000 (06:13 +0000)]
signal patches from NetBSD package via David Rankin

22 years agoCleanups that aim towards the 64bit fixes.
srittau [Thu, 17 Jan 2002 06:13:02 +0000 (06:13 +0000)]
Cleanups that aim towards the 64bit fixes.

22 years agoHead fixes and cleanup.
srittau [Thu, 17 Jan 2002 06:12:02 +0000 (06:12 +0000)]
Head fixes and cleanup.

22 years agotermcap patches from NetBSD package by Christos Zoulas
srittau [Thu, 17 Jan 2002 06:10:43 +0000 (06:10 +0000)]
termcap patches from NetBSD package by Christos Zoulas

22 years agoAdded padding to a structure. Patch by David Rankin.
srittau [Thu, 17 Jan 2002 06:10:12 +0000 (06:10 +0000)]
Added padding to a structure. Patch by David Rankin.

22 years agoType imporvements.
srittau [Thu, 17 Jan 2002 06:08:55 +0000 (06:08 +0000)]
Type imporvements.

22 years agoFixed typo that prevented compilation.
srittau [Thu, 17 Jan 2002 06:05:41 +0000 (06:05 +0000)]
Fixed typo that prevented compilation.

22 years agoNetBSD init scripts by David Rankin.
srittau [Thu, 17 Jan 2002 06:04:35 +0000 (06:04 +0000)]
NetBSD init scripts by David Rankin.

22 years agoUse new variable NLSPATH.
srittau [Thu, 17 Jan 2002 06:03:17 +0000 (06:03 +0000)]
Use new variable NLSPATH.

22 years agoAuto-generate Perl scripts so the the path to the interpreter will be
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.

22 years agoNew configure switch: --enable-netbsd.
srittau [Thu, 17 Jan 2002 05:57:04 +0000 (05:57 +0000)]
New configure switch: --enable-netbsd.

22 years agoDon't define DEBUG is --enable-debug isn't given. Patch by
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.

22 years agoNew substituted variable: NLSDIR. Equals $PKGCONFDIR/nls for now.
srittau [Thu, 17 Jan 2002 05:53:57 +0000 (05:53 +0000)]
New substituted variable: NLSDIR. Equals $PKGCONFDIR/nls for now.

22 years agoUse new macros NETATALK_PROG_PERL and NETATALK_AFS_CHECK.
srittau [Thu, 17 Jan 2002 05:50:38 +0000 (05:50 +0000)]
Use new macros NETATALK_PROG_PERL and NETATALK_AFS_CHECK.

22 years agoNew macro to check for AFS support.
srittau [Thu, 17 Jan 2002 05:48:51 +0000 (05:48 +0000)]
New macro to check for AFS support.

22 years agoAdded proper comments.
srittau [Thu, 17 Jan 2002 05:48:00 +0000 (05:48 +0000)]
Added proper comments.

22 years agoNew macro to check for Perl (just assumes that perl is in /usr/bin for now).
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).

22 years agoAdded David Rankin as NetBSD contributor.
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.)

22 years agoAdd support for all the DID schemes to fork.c.
jmarcus [Wed, 16 Jan 2002 19:55:15 +0000 (19:55 +0000)]
Add support for all the DID schemes to fork.c.

22 years agoFNum for a fork needs to go out in network byte order.
jmarcus [Wed, 16 Jan 2002 19:46:52 +0000 (19:46 +0000)]
FNum for a fork needs to go out in network byte order.

22 years agoFix typo in finding SRVLOC libs. Thanks to Burkhard Schmidt <bs@cpfs.mpg.de>.
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>.

22 years agosocklen_t is not standardized. Use size_t, instead.
srittau [Tue, 15 Jan 2002 13:42:58 +0000 (13:42 +0000)]
socklen_t is not standardized. Use size_t, instead.

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.