]>
arthur.barton.de Git - netatalk.git/log
jmarcus [Thu, 7 Mar 2002 15:59:53 +0000 (15:59 +0000)]
Wrap the case of no shell into a #ifndef DISABLE_SHELLCHECK block. Also,
throw a log message if this situation is encountered.
Prompted by: Rolf Schoepfer <rolf@samplezone.ch>
MFH after: 3 days
srittau [Tue, 5 Mar 2002 23:21:05 +0000 (23:21 +0000)]
Really fixed the installation problem.
srittau [Tue, 5 Mar 2002 15:42:47 +0000 (15:42 +0000)]
Fix a problem with the PAM install.
jmarcus [Tue, 5 Mar 2002 02:04:46 +0000 (02:04 +0000)]
Fix a problem where afp_deleteid() would delete the parent directory,
and not the specified file id.
Submitted by: didier <dgautheron@magic.fr>
MFH after: 3 days
srittau [Tue, 5 Mar 2002 01:41:36 +0000 (01:41 +0000)]
Removed any special masking of chmod calls. Also fixed a strerror() call.
jmarcus [Thu, 28 Feb 2002 21:20:39 +0000 (21:20 +0000)]
Sanitized some LOG messages.
MFH in: 2 days
srittau [Mon, 25 Feb 2002 22:59:49 +0000 (22:59 +0000)]
Install acleandir.rc.
srittau [Mon, 25 Feb 2002 22:58:13 +0000 (22:58 +0000)]
Re-reverted my last patch. (Why did I revert it in the first place - I must
have been dreaming.) Also added Gerry Tomlinsom as a former contributor.
srittau [Thu, 21 Feb 2002 10:10:04 +0000 (10:10 +0000)]
Fixed description of -passwdfile option. Thanks to Thomas Kaiser for
bringing this up.
srittau [Thu, 21 Feb 2002 09:59:24 +0000 (09:59 +0000)]
Removed the UMich address.
srittau [Thu, 21 Feb 2002 09:58:27 +0000 (09:58 +0000)]
Removed obsolete file.
srittau [Tue, 19 Feb 2002 16:32:17 +0000 (16:32 +0000)]
DEBUG fixes, include cleanups.
srittau [Tue, 19 Feb 2002 15:17:23 +0000 (15:17 +0000)]
Reverted patch from 1.13: start net is now set to 0 again.
morgana [Sat, 16 Feb 2002 19:52:34 +0000 (19:52 +0000)]
Updated to reflect some completed items.
srittau [Sat, 16 Feb 2002 17:14:54 +0000 (17:14 +0000)]
Warning fixes.
srittau [Sat, 16 Feb 2002 17:12:53 +0000 (17:12 +0000)]
Removed superfluous includes of atalk/logger.h (formerly syslog.h). It's
not used by megatron.
srittau [Sat, 16 Feb 2002 17:12:13 +0000 (17:12 +0000)]
Don't fail when PAM files can't be installed.
srittau [Sat, 16 Feb 2002 17:11:31 +0000 (17:11 +0000)]
Enhance readability.
srittau [Sat, 16 Feb 2002 17:10:07 +0000 (17:10 +0000)]
Hopefully fixing a compilation problem when --enable-srcloc is given without
arguments.
sibaz [Sat, 16 Feb 2002 15:29:49 +0000 (15:29 +0000)]
altered a char comparison with a NULL to a comparison with 0, to remove a suspicious type conversion warning
srittau [Sat, 16 Feb 2002 11:58:25 +0000 (11:58 +0000)]
News for 1.5.2 from stabilizing branch.
srittau [Sat, 16 Feb 2002 11:05:16 +0000 (11:05 +0000)]
Removed a redundant invocation of umask().
srittau [Sat, 16 Feb 2002 11:04:50 +0000 (11:04 +0000)]
Use strtoul() instead of strtol() when converting the umask option.
srittau [Sat, 16 Feb 2002 10:46:42 +0000 (10:46 +0000)]
Remove useless strerror()'s.
srittau [Fri, 15 Feb 2002 22:35:53 +0000 (22:35 +0000)]
Added grep-check.m4 and ps-check.m4.
morgana [Fri, 15 Feb 2002 16:15:21 +0000 (16:15 +0000)]
Use VERSION string instead of hard-coded value in gq_rbispoolerid response.
morgana [Fri, 15 Feb 2002 07:22:27 +0000 (07:22 +0000)]
*** empty log message ***
morgana [Fri, 15 Feb 2002 07:20:13 +0000 (07:20 +0000)]
Small typo in Authentication Failed response to client.
morgana [Fri, 15 Feb 2002 07:12:41 +0000 (07:12 +0000)]
Added support for "ADOIsBinaryOK?" query from client. Papd responds with true. This fixes bug #455001.
jmarcus [Thu, 14 Feb 2002 18:02:04 +0000 (18:02 +0000)]
Fix the comments.
jmarcus [Thu, 14 Feb 2002 05:59:51 +0000 (05:59 +0000)]
Fix the error message reported when of_find fails to find a valid fork. Since
of_find() doesn't set errno, there's really no since in calling strerror()
on a "dirty" value.
Prompted by: didier <dgautheron@magic.fr>
srittau [Wed, 13 Feb 2002 18:26:31 +0000 (18:26 +0000)]
Typo.
srittau [Wed, 13 Feb 2002 16:56:20 +0000 (16:56 +0000)]
NetBSD fix by Juergen Hannken-Illjes. First network is now set to 1 instead
of 0. I'm really not sure what this does and if it breaks something on
other platforms. So please *test*.
srittau [Wed, 13 Feb 2002 16:48:10 +0000 (16:48 +0000)]
Quick and dirty hack to fix build on NetBSD hosts with ELF support. Patch
by David Rankin.
srittau [Wed, 13 Feb 2002 16:44:59 +0000 (16:44 +0000)]
Tru64 SIA fixes and Eddie and Burkhard.
srittau [Wed, 13 Feb 2002 16:44:02 +0000 (16:44 +0000)]
New command line option: --with-nls-dir, moved pkgdir check into its own
file.
jmarcus [Wed, 13 Feb 2002 15:09:40 +0000 (15:09 +0000)]
Fix a potential NULL pointer dereference if a /etc/services entry didn't
exist for afpovertcp.
Reported by: Burkhard Schmidt <bs@cpfs.mpg.de>
jmarcus [Mon, 11 Feb 2002 21:14:33 +0000 (21:14 +0000)]
Add a check for uid 0.
jmarcus [Mon, 11 Feb 2002 21:10:00 +0000 (21:10 +0000)]
Correct the script name in one more place.
jmarcus [Mon, 11 Feb 2002 21:04:16 +0000 (21:04 +0000)]
Fix the output of -v so that it reports the correct name of the program.
jmarcus [Mon, 11 Feb 2002 21:02:00 +0000 (21:02 +0000)]
Don't try to recover a DB environment that doesn't exist.
Prompted by: Daniel E. Lautenschleger <dan@bocklabs.wisc.edu>
jmarcus [Mon, 11 Feb 2002 16:17:09 +0000 (16:17 +0000)]
Clarify that client_polling may take a toll on slower networks.
Submitted by: Thomas Kaiser <Thomas.Kaiser@phg-online.de>
jmarcus [Sat, 9 Feb 2002 20:29:40 +0000 (20:29 +0000)]
Add a missing '/'.
jmarcus [Sat, 9 Feb 2002 17:13:52 +0000 (17:13 +0000)]
Redo the server notification flag. Revert to having server notifications
enabled by default, and rename the flag to -client_polling which will
disable server notifications.
Update documentation to reflect this new flag.
srittau [Sat, 9 Feb 2002 14:42:38 +0000 (14:42 +0000)]
Fixed wrong line breaks. Thanks to Jonas Smedegaard <dr@jones.dk>.
jmarcus [Fri, 8 Feb 2002 17:43:15 +0000 (17:43 +0000)]
Revert previous commit. It breaks CNID.
Submitted by: author
jmarcus [Fri, 8 Feb 2002 16:42:31 +0000 (16:42 +0000)]
Fix for two things:
(1) General: Using --enable-srvloc results in compile-time errors when
libslp.a is not installed in a standard location searched by the linker.
This is due to the missing third argument in AC_CHECK_LIB(slp,
SLPOpen, , AC_MSG_ERROR([SLP installation not found])) on line 32 in
macros/srvloc.m4: This sets LIBS="-lslp $LIBS" globally in configure,
instead of just setting SLP_LIBS and SLP_CFLAGS.
(2) Tru64-specific: In libatalk/utils/logger.c, the function vsnprintf()
is used. Up to and including version 4.0F, Tru64 doesn't have this
function in its standard C library, although the DEC C compiler has a
prototype for it. Instead, vsnprintf() is contained in libdb.a (not to
be confused with libdb3.a), which must be given as a separate flag to
the linker.
Submitted by Burkhard Schmidt <bs@cpfs.mpg.de>.
jmarcus [Fri, 8 Feb 2002 16:26:31 +0000 (16:26 +0000)]
Remove cnid_didname_verify.c. It is not needed since didname.db has been
changed to a hash.
This file may make a reappearance when the analysis of the BTree problems
is complete.
srittau [Thu, 7 Feb 2002 23:35:49 +0000 (23:35 +0000)]
Added $id$ tags.
srittau [Thu, 7 Feb 2002 23:35:10 +0000 (23:35 +0000)]
Stabilizing branch streamlining: removed a superfluous break.
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.
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>.
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.
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.
jmarcus [Thu, 7 Feb 2002 05:10:28 +0000 (05:10 +0000)]
Add support for the cnid_maint script.
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.
jmarcus [Thu, 7 Feb 2002 05:09:01 +0000 (05:09 +0000)]
Add macros to check for grep and ps.
jmarcus [Thu, 7 Feb 2002 05:08:36 +0000 (05:08 +0000)]
Add DB3_PATH for the cnid_maint script.
jmarcus [Thu, 7 Feb 2002 05:06:48 +0000 (05:06 +0000)]
Fix the Perl-check macro so that it acutally checks for Perl.
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.
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.
srittau [Tue, 5 Feb 2002 20:42:04 +0000 (20:42 +0000)]
Fixed some misleading log messages.
morgana [Sun, 3 Feb 2002 22:10:43 +0000 (22:10 +0000)]
*** empty log message ***
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.
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.
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>.
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>.
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>.
jmarcus [Sat, 2 Feb 2002 19:12:31 +0000 (19:12 +0000)]
Move CNID_INVALID to include/atak/cnid.h to make it public.
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.
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.
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.
srittau [Fri, 1 Feb 2002 06:19:42 +0000 (06:19 +0000)]
Back-ported NEWS entry from 1.5.1 from stabilizing branch.
srittau [Fri, 1 Feb 2002 06:15:34 +0000 (06:15 +0000)]
Fixed a typo and improved formatting of Q15.
srittau [Fri, 1 Feb 2002 06:14:39 +0000 (06:14 +0000)]
Small change to increase code readability.
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.
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.
jmarcus [Thu, 24 Jan 2002 16:32:12 +0000 (16:32 +0000)]
Fix a potential buffer overflow. Thanks to didier <dgautheron@magic.fr>.
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>.
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>.
jmarcus [Thu, 24 Jan 2002 16:24:26 +0000 (16:24 +0000)]
errno is meaningless if len == 0. Thanks to didier <dgautheron@magic.fr>.
jmarcus [Thu, 24 Jan 2002 16:22:16 +0000 (16:22 +0000)]
Proper checking for errors when remove() fails.
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.
jmarcus [Wed, 23 Jan 2002 02:31:32 +0000 (02:31 +0000)]
Add a message indicating what version of BDB is being used.
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.
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.
jmarcus [Sun, 20 Jan 2002 01:34:40 +0000 (01:34 +0000)]
st is not a pointer here. Pass its address.
jmarcus [Sun, 20 Jan 2002 01:32:45 +0000 (01:32 +0000)]
Fix a bogon compile error.
jmarcus [Sat, 19 Jan 2002 21:42:08 +0000 (21:42 +0000)]
Style police.
jmarcus [Sat, 19 Jan 2002 21:29:54 +0000 (21:29 +0000)]
Style police.
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.
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.