]>
arthur.barton.de Git - netatalk.git/log
franklahm [Mon, 1 Feb 2010 11:15:17 +0000 (11:15 +0000)]
Remove inadvertenlty added files
franklahm [Mon, 1 Feb 2010 10:56:08 +0000 (10:56 +0000)]
commit dircache rewrite.
----------------------------------------------------------------------
Modified Files:
Tag: branch-dircache-rewrite
Makefile.am configure.in etc/afpd/Makefile.am
etc/afpd/afp_dsi.c etc/afpd/appl.c etc/afpd/catsearch.c
etc/afpd/desktop.c etc/afpd/directory.c etc/afpd/directory.h
etc/afpd/enumerate.c etc/afpd/file.c etc/afpd/file.h
etc/afpd/filedir.c etc/afpd/globals.h etc/afpd/mangle.c
etc/afpd/ofork.c etc/afpd/volume.c include/atalk/Makefile.am
include/atalk/directory.h include/atalk/volume.h
libatalk/Makefile.am libatalk/util/Makefile.am
Added Files:
Tag: branch-dircache-rewrite
etc/afpd/dircache.c etc/afpd/dircache.h
include/atalk/bstradd.h include/atalk/bstrlib.h
include/atalk/queue.h libatalk/bstring/.cvsignore
libatalk/bstring/Makefile.am libatalk/bstring/bstradd.c
libatalk/bstring/bstrlib.c libatalk/util/queue.c
test/.cvsignore test/Makefile.am test/afpd/.cvsignore
test/afpd/Makefile test/afpd/Makefile.am test/afpd/Makefile.in
test/afpd/afpfunc_helpers.c test/afpd/afpfunc_helpers.h
test/afpd/subtests.c test/afpd/subtests.h test/afpd/test.c
test/afpd/test.h test/afpd/test.sh
----------------------------------------------------------------------
didg [Wed, 27 Jan 2010 21:27:53 +0000 (21:27 +0000)]
megatron, fix errors introduced in Sun Feb 6 10:16:00 2005 commit, 'replace a wrong test for protecting against buffers underflow by ... a buffer underflow, always' .
didg [Wed, 27 Jan 2010 12:36:42 +0000 (12:36 +0000)]
use open and fchdir rather than getcwd in catsearch
didg [Tue, 26 Jan 2010 20:43:11 +0000 (20:43 +0000)]
remove a 'discard const ...' warning in papd cups
didg [Tue, 26 Jan 2010 20:39:52 +0000 (20:39 +0000)]
use the right test for file/dir invisible attribute bit modification and parent directory modification date update
franklahm [Tue, 26 Jan 2010 18:13:48 +0000 (18:13 +0000)]
Remove mtab CNID backend
didg [Tue, 26 Jan 2010 09:31:59 +0000 (09:31 +0000)]
previous commit :don't send a server notification on volume time modification if AFP > 3.1, client able to speak 3.2 are now smart enough, wasn't using the right test
didg [Tue, 26 Jan 2010 08:14:09 +0000 (08:14 +0000)]
return the right error code when deleting afp current directory if it's already been deleted by another afpd process
didg [Tue, 26 Jan 2010 08:05:17 +0000 (08:05 +0000)]
don't use & in getcwd parameter
didg [Mon, 25 Jan 2010 18:39:05 +0000 (18:39 +0000)]
don't send a server notification on volume time modification if AFP > 3.1, client able to speak 3.2 are now smart enough
franklahm [Sat, 23 Jan 2010 14:54:43 +0000 (14:54 +0000)]
Return correct error if EA already exists
franklahm [Sat, 23 Jan 2010 14:44:42 +0000 (14:44 +0000)]
Missing error codes
franklahm [Fri, 22 Jan 2010 08:56:32 +0000 (08:56 +0000)]
Remove cvsignore
didg [Fri, 22 Jan 2010 04:40:38 +0000 (04:40 +0000)]
add/remove comment: test parent directory perms for volumes with unix priv too
didg [Thu, 21 Jan 2010 14:14:49 +0000 (14:14 +0000)]
afpd set the logger default to log_info and move some log msgs to log_debug
didg [Thu, 21 Jan 2010 12:10:19 +0000 (12:10 +0000)]
try to get the directory's cnid from the adouble header when adding it to the cache, from Frank
franklahm [Wed, 20 Jan 2010 13:22:13 +0000 (13:22 +0000)]
More logging
franklahm [Tue, 19 Jan 2010 14:57:11 +0000 (14:57 +0000)]
Fix for type (file/dir) mismatch in dbd_lookup. Also fixes:
* db_strerror was called several times with the wrong variable
* factorize some functions, thereby also
* hide/encapsulate the problem of relative pathnames for logfiles and in check_upgrade
franklahm [Tue, 19 Jan 2010 14:51:18 +0000 (14:51 +0000)]
Fix to arg in log statement
franklahm [Mon, 18 Jan 2010 12:55:28 +0000 (12:55 +0000)]
Add debug log statement to afp_getfildirparms.
Add logging of AFP return code.
franklahm [Mon, 18 Jan 2010 11:45:37 +0000 (11:45 +0000)]
Enumeration didn't write CNID data to adouble file when creating
franklahm [Sun, 17 Jan 2010 15:04:09 +0000 (15:04 +0000)]
Update apple_dump:
* readbility
* newer FinderInfo
* warn and exit if both .AppleDouble/FILE and ._FILE exist.
* dump EAs
From HAT.
franklahm [Sat, 16 Jan 2010 13:02:34 +0000 (13:02 +0000)]
Output of service atalk status was wrong
franklahm [Mon, 11 Jan 2010 13:06:02 +0000 (13:06 +0000)]
Dont install PAM stuff if not requested
franklahm [Mon, 11 Jan 2010 11:09:36 +0000 (11:09 +0000)]
Add debug message
franklahm [Sun, 10 Jan 2010 10:58:24 +0000 (10:58 +0000)]
Remove struct dir.d_uname_len and its dependencies. It is now
evaluated in the hash function itself.
franklahm [Wed, 6 Jan 2010 15:37:01 +0000 (15:37 +0000)]
Add some description of dir caching in afpd
franklahm [Wed, 6 Jan 2010 14:05:15 +0000 (14:05 +0000)]
Only update adouble file with CNID on mismatch.
ad_setid: compared sizeof(dev_t) with the wrong adouble entrylen.
ad_metadata: alos check if really ADVOL_CACHE for adouble file creation.
franklahm [Wed, 6 Jan 2010 12:59:10 +0000 (12:59 +0000)]
Forgot test for noadbouble vol in ad_metadata in previous commit
franklahm [Wed, 6 Jan 2010 11:08:53 +0000 (11:08 +0000)]
Reintroduce adouble file creation on enumeration
didg [Wed, 6 Jan 2010 06:06:20 +0000 (06:06 +0000)]
directories cache, update d_u_name_len when d_u_name is modified
franklahm [Tue, 5 Jan 2010 19:05:52 +0000 (19:05 +0000)]
More doxygen style API documentation
franklahm [Tue, 5 Jan 2010 15:46:13 +0000 (15:46 +0000)]
Remove ADVOL_NOADOUBLE check. It prevented creation of .AppleDouble dirs
franklahm [Tue, 5 Jan 2010 15:12:19 +0000 (15:12 +0000)]
Fixes for changed ADVOL_NOADOUBLE flag passing
franklahm [Tue, 5 Jan 2010 14:31:58 +0000 (14:31 +0000)]
Fix LOG call
franklahm [Tue, 5 Jan 2010 13:48:47 +0000 (13:48 +0000)]
Add static getcwd and use it for debugging in ad_open
franklahm [Tue, 5 Jan 2010 12:06:33 +0000 (12:06 +0000)]
Substitute ADFLAGS_NOADOUBLE with ADVOL_NOADOUBLE, which gets automatically stuffed into
struct adouble via ad_init. This eleminates the need to call vol_no_adouble(vol) every time
in ad_open in order to pass ADFLAGS_NOADOUBLE with adflags, instead inside ad_open the func checks
ad->ad_options.
Remove forced adouble file creation from ad_metadata, this broke the clean ad_* API semantics of
only creating files with O_CREATE. Instead do it explicitly in enumerate where the original force
adouble patch grew from.
franklahm [Tue, 5 Jan 2010 10:37:29 +0000 (10:37 +0000)]
Beautify
franklahm [Mon, 4 Jan 2010 13:49:48 +0000 (13:49 +0000)]
Start adouble documentation in Doxygen style
franklahm [Mon, 4 Jan 2010 10:02:18 +0000 (10:02 +0000)]
Rename asaddump to apple_dump
franklahm [Mon, 4 Jan 2010 09:46:39 +0000 (09:46 +0000)]
Lots of improvements. From HAT
franklahm [Tue, 29 Dec 2009 10:07:32 +0000 (10:07 +0000)]
Last commit message mentionend the wrong CNID backends!
For clarity: these are now still avaialable:
"last mtab cdb dbd tdb"
franklahm [Tue, 29 Dec 2009 10:02:58 +0000 (10:02 +0000)]
remove hash files
franklahm [Tue, 29 Dec 2009 09:58:45 +0000 (09:58 +0000)]
Remove db3 files
franklahm [Sun, 27 Dec 2009 09:50:45 +0000 (09:50 +0000)]
Nicely print dev/ino data. From HAT.
franklahm [Thu, 24 Dec 2009 08:05:39 +0000 (08:05 +0000)]
Checkin all manpages freshly from XML for 2.1beta. Merry christmas!
franklahm [Wed, 23 Dec 2009 15:53:15 +0000 (15:53 +0000)]
asaddump: dump AppleSingle/Double files. From HAT.
franklahm [Wed, 23 Dec 2009 14:14:09 +0000 (14:14 +0000)]
Enhance readability. From HAT.
franklahm [Wed, 23 Dec 2009 12:41:53 +0000 (12:41 +0000)]
ea option
franklahm [Wed, 23 Dec 2009 11:09:25 +0000 (11:09 +0000)]
Support long usernames. From Alain Richard.
franklahm [Wed, 23 Dec 2009 10:18:48 +0000 (10:18 +0000)]
Untabify and reindent
franklahm [Wed, 23 Dec 2009 07:21:08 +0000 (07:21 +0000)]
Check if entries are present before using them
franklahm [Tue, 22 Dec 2009 14:45:38 +0000 (14:45 +0000)]
Remove bogus checks
franklahm [Tue, 22 Dec 2009 13:37:27 +0000 (13:37 +0000)]
Add debug log messages
franklahm [Tue, 22 Dec 2009 10:46:28 +0000 (10:46 +0000)]
Add all EA opts to volinfo
franklahm [Tue, 22 Dec 2009 09:43:15 +0000 (09:43 +0000)]
Completely ignore symlinks
franklahm [Mon, 21 Dec 2009 17:00:17 +0000 (17:00 +0000)]
Change logging
franklahm [Mon, 21 Dec 2009 14:41:00 +0000 (14:41 +0000)]
Distinguish between intra-share and extra-share symlinks
franklahm [Mon, 21 Dec 2009 09:35:55 +0000 (09:35 +0000)]
symlink support
franklahm [Mon, 21 Dec 2009 07:49:44 +0000 (07:49 +0000)]
logger: write to fd 1 directly instead of /dev/tty. The latter cant be redirected
franklahm [Mon, 21 Dec 2009 07:32:01 +0000 (07:32 +0000)]
ooops! Previous commit requested 64 GB cache instead of 64 MB...
franklahm [Mon, 21 Dec 2009 06:41:09 +0000 (06:41 +0000)]
Set cachesize for rebuild db
franklahm [Sun, 20 Dec 2009 16:04:21 +0000 (16:04 +0000)]
Logfile removal was not working
franklahm [Sun, 20 Dec 2009 14:17:23 +0000 (14:17 +0000)]
Raise bdb cache size to 64 MB
franklahm [Fri, 18 Dec 2009 19:18:40 +0000 (19:18 +0000)]
Fix EA support detection. New ea option values none and auto
franklahm [Fri, 18 Dec 2009 13:01:15 +0000 (13:01 +0000)]
Removed nu. Use macusers instead
franklahm [Thu, 17 Dec 2009 17:59:35 +0000 (17:59 +0000)]
Some options where listed under options: options wrongly.
Missing #.
Realign for 80 character terminals.
From HAT.
franklahm [Thu, 17 Dec 2009 09:25:40 +0000 (09:25 +0000)]
Fix ea:sys check
franklahm [Sun, 13 Dec 2009 17:33:09 +0000 (17:33 +0000)]
Remove spurious log message
franklahm [Sun, 13 Dec 2009 11:59:11 +0000 (11:59 +0000)]
Fix searching for lib on 64bit platforms
franklahm [Sun, 13 Dec 2009 11:58:30 +0000 (11:58 +0000)]
Update slp macro, default is disabled now
didg [Sun, 13 Dec 2009 03:19:05 +0000 (03:19 +0000)]
add a draft for 2.1 release note/TODO
didg [Sun, 13 Dec 2009 03:07:21 +0000 (03:07 +0000)]
update config template with new options
didg [Sun, 13 Dec 2009 02:21:47 +0000 (02:21 +0000)]
atalkd don't spam syslog if an interface is down, XXX atalkd still advertise routes to it
didg [Sun, 13 Dec 2009 01:17:16 +0000 (01:17 +0000)]
atalkd the function as_timer is way to big, use longer lines
didg [Sun, 13 Dec 2009 00:33:58 +0000 (00:33 +0000)]
split horizon on router tables, wihout it poisoned routes are never deleted
didg [Sun, 13 Dec 2009 00:31:50 +0000 (00:31 +0000)]
don't dump core if there's no zone for on a seeded interface
franklahm [Fri, 11 Dec 2009 13:26:44 +0000 (13:26 +0000)]
New default for ea volume option is "sys".
Fallback to "ad" if volume doesn't support EAs. Checked at volume mount time.
franklahm [Fri, 11 Dec 2009 13:11:18 +0000 (13:11 +0000)]
Add command string and symbol for AFP_GETUSERINFO
franklahm [Fri, 11 Dec 2009 10:14:02 +0000 (10:14 +0000)]
Untabify and reindent
franklahm [Thu, 10 Dec 2009 17:40:25 +0000 (17:40 +0000)]
Add support for ea:ad volumes
franklahm [Wed, 9 Dec 2009 15:37:32 +0000 (15:37 +0000)]
Update spec with how we use the hint
franklahm [Wed, 9 Dec 2009 15:25:28 +0000 (15:25 +0000)]
Adjust dbd to use the same fixup logic as afpd ie call dbd_lookup with hint
didg [Tue, 8 Dec 2009 22:34:37 +0000 (22:34 +0000)]
Not all systems define AI_NUMERICSERV
didg [Tue, 8 Dec 2009 22:33:33 +0000 (22:33 +0000)]
don't spam the log with 'Invalid cnid, corrupted DB?' msg if cnid functions retun 0 \(CNID_INVALID\)
franklahm [Tue, 8 Dec 2009 10:26:12 +0000 (10:26 +0000)]
Update spec
franklahm [Tue, 8 Dec 2009 09:01:14 +0000 (09:01 +0000)]
atalkd workaround for Linux 2.6 AT kmodule bug
didg [Tue, 8 Dec 2009 03:21:16 +0000 (03:21 +0000)]
atalkd: linux 2.6 sends broadcast queries to the first available socket (in our case the last configured), try to find the right one. Note: now a misconfigured or plugged router can broadcast
franklahm [Mon, 7 Dec 2009 14:59:35 +0000 (14:59 +0000)]
Rename Solaris initscript installed name to netatalk
franklahm [Mon, 7 Dec 2009 11:08:51 +0000 (11:08 +0000)]
Append newline to EXTATTRTYPE
franklahm [Mon, 7 Dec 2009 09:13:52 +0000 (09:13 +0000)]
Some fixes from HAT.
franklahm [Fri, 4 Dec 2009 10:26:10 +0000 (10:26 +0000)]
Return right error for requested but non-existing EA.
Thanks to Stephan Budach for reporting this.
franklahm [Thu, 3 Dec 2009 13:33:44 +0000 (13:33 +0000)]
Dont just exit, use longjmp to exit with cleanup
franklahm [Thu, 3 Dec 2009 12:47:36 +0000 (12:47 +0000)]
Write EA mode to volinfo file
franklahm [Wed, 2 Dec 2009 10:59:44 +0000 (10:59 +0000)]
Apple downstream Debian patch
franklahm [Tue, 1 Dec 2009 16:36:14 +0000 (16:36 +0000)]
Nicely move all volinfo file code to libatalk
franklahm [Tue, 1 Dec 2009 13:37:20 +0000 (13:37 +0000)]
dbd must call ad_setfuid(0) in order to inherit perms correctly
franklahm [Mon, 30 Nov 2009 15:51:30 +0000 (15:51 +0000)]
Scan mode wasn't called
franklahm [Mon, 30 Nov 2009 15:30:47 +0000 (15:30 +0000)]
Log debug supplementary groups