netatalk.git
9 years agoLast manpage checkin from XML sources before 2.1beta1 release netatalk-2-1-beta1
franklahm [Sun, 14 Feb 2010 11:18:38 +0000 (11:18 +0000)]
Last manpage checkin from XML sources before 2.1beta1 release

9 years agoUpdate
franklahm [Sun, 14 Feb 2010 10:47:46 +0000 (10:47 +0000)]
Update

9 years agoSome stuff was missing
franklahm [Thu, 11 Feb 2010 16:01:18 +0000 (16:01 +0000)]
Some stuff was missing

9 years agoMerge symlink branch HEAD-after-symlink-merge
franklahm [Wed, 10 Feb 2010 14:05:36 +0000 (14:05 +0000)]
Merge symlink branch

9 years agoShow CNID defaults in configure --help HEAD-before-symlink-merge
franklahm [Tue, 9 Feb 2010 14:17:31 +0000 (14:17 +0000)]
Show CNID defaults in configure --help

9 years agotdb CNID backend must be enabled by default
franklahm [Tue, 9 Feb 2010 14:06:53 +0000 (14:06 +0000)]
tdb CNID backend must be enabled by default

9 years agoSIGINT enables max_debug logging to /tmp/afpd.PID.XXXXXX
franklahm [Mon, 8 Feb 2010 13:39:56 +0000 (13:39 +0000)]
SIGINT enables max_debug logging to /tmp/afpd.PID.XXXXXX

9 years agoRemove volume option debugfile
franklahm [Mon, 8 Feb 2010 10:29:22 +0000 (10:29 +0000)]
Remove volume option debugfile

9 years agogcrypt version is a string
franklahm [Sat, 6 Feb 2010 09:53:02 +0000 (09:53 +0000)]
gcrypt version is a string

9 years ago2.1beta1
franklahm [Thu, 4 Feb 2010 10:53:03 +0000 (10:53 +0000)]
2.1beta1

9 years agovolume option debugfile
franklahm [Thu, 4 Feb 2010 10:52:29 +0000 (10:52 +0000)]
volume option debugfile

9 years agoShow msg dir in afpd -V
franklahm [Wed, 3 Feb 2010 11:35:58 +0000 (11:35 +0000)]
Show msg dir in afpd -V

9 years agomegatron, fix errors introduced in Sun Feb 6 10:16:00 2005 commit, 'replace a wrong... branch-dircache-rewrite-start
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' .

9 years agouse open and fchdir rather than getcwd in catsearch
didg [Wed, 27 Jan 2010 12:36:42 +0000 (12:36 +0000)]
use open and fchdir rather than getcwd in catsearch

9 years agoremove a 'discard const ...' warning in papd cups
didg [Tue, 26 Jan 2010 20:43:11 +0000 (20:43 +0000)]
remove a 'discard const ...' warning in papd cups

9 years agouse the right test for file/dir invisible attribute bit modification and parent direc...
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

9 years agoRemove mtab CNID backend
franklahm [Tue, 26 Jan 2010 18:13:48 +0000 (18:13 +0000)]
Remove mtab CNID backend

9 years agoprevious commit :don't send a server notification on volume time modification if...
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

9 years agoreturn the right error code when deleting afp current directory if it's already been...
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

9 years agodon't use & in getcwd parameter
didg [Tue, 26 Jan 2010 08:05:17 +0000 (08:05 +0000)]
don't use & in getcwd parameter

9 years agodon't send a server notification on volume time modification if AFP > 3.1, client...
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

9 years agoReturn correct error if EA already exists
franklahm [Sat, 23 Jan 2010 14:54:43 +0000 (14:54 +0000)]
Return correct error if EA already exists

9 years agoMissing error codes
franklahm [Sat, 23 Jan 2010 14:44:42 +0000 (14:44 +0000)]
Missing error codes

9 years agoRemove cvsignore
franklahm [Fri, 22 Jan 2010 08:56:32 +0000 (08:56 +0000)]
Remove cvsignore

9 years agoadd/remove comment: test parent directory perms for volumes with unix priv too
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

9 years agoafpd set the logger default to log_info and move some log msgs to log_debug
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

9 years agotry to get the directory's cnid from the adouble header when adding it to the cache...
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

9 years agoMore logging
franklahm [Wed, 20 Jan 2010 13:22:13 +0000 (13:22 +0000)]
More logging

9 years agoFix for type (file/dir) mismatch in dbd_lookup. Also fixes:
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

9 years agoFix to arg in log statement
franklahm [Tue, 19 Jan 2010 14:51:18 +0000 (14:51 +0000)]
Fix to arg in log statement

9 years agoAdd debug log statement to afp_getfildirparms.
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.

9 years agoEnumeration didn't write CNID data to adouble file when creating
franklahm [Mon, 18 Jan 2010 11:45:37 +0000 (11:45 +0000)]
Enumeration didn't write CNID data to adouble file when creating

9 years agoUpdate apple_dump:
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.

9 years agoOutput of service atalk status was wrong
franklahm [Sat, 16 Jan 2010 13:02:34 +0000 (13:02 +0000)]
Output of service atalk status was wrong

9 years agoDont install PAM stuff if not requested
franklahm [Mon, 11 Jan 2010 13:06:02 +0000 (13:06 +0000)]
Dont install PAM stuff if not requested

9 years agoAdd debug message
franklahm [Mon, 11 Jan 2010 11:09:36 +0000 (11:09 +0000)]
Add debug message

9 years agoRemove struct dir.d_uname_len and its dependencies. It is now
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.

9 years agoAdd some description of dir caching in afpd
franklahm [Wed, 6 Jan 2010 15:37:01 +0000 (15:37 +0000)]
Add some description of dir caching in afpd

9 years agoOnly update adouble file with CNID on mismatch.
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.

9 years agoForgot test for noadbouble vol in ad_metadata in previous commit
franklahm [Wed, 6 Jan 2010 12:59:10 +0000 (12:59 +0000)]
Forgot test for noadbouble vol in ad_metadata in previous commit

9 years agoReintroduce adouble file creation on enumeration
franklahm [Wed, 6 Jan 2010 11:08:53 +0000 (11:08 +0000)]
Reintroduce adouble file creation on enumeration

9 years agodirectories cache, update d_u_name_len when d_u_name is modified
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

9 years agoMore doxygen style API documentation
franklahm [Tue, 5 Jan 2010 19:05:52 +0000 (19:05 +0000)]
More doxygen style API documentation

9 years agoRemove ADVOL_NOADOUBLE check. It prevented creation of .AppleDouble dirs
franklahm [Tue, 5 Jan 2010 15:46:13 +0000 (15:46 +0000)]
Remove ADVOL_NOADOUBLE check. It prevented creation of .AppleDouble dirs

9 years agoFixes for changed ADVOL_NOADOUBLE flag passing
franklahm [Tue, 5 Jan 2010 15:12:19 +0000 (15:12 +0000)]
Fixes for changed ADVOL_NOADOUBLE flag passing

9 years agoFix LOG call
franklahm [Tue, 5 Jan 2010 14:31:58 +0000 (14:31 +0000)]
Fix LOG call

9 years agoAdd static getcwd and use it for debugging in ad_open
franklahm [Tue, 5 Jan 2010 13:48:47 +0000 (13:48 +0000)]
Add static getcwd and use it for debugging in ad_open

9 years agoSubstitute ADFLAGS_NOADOUBLE with ADVOL_NOADOUBLE, which gets automatically stuffed...
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.

9 years agoBeautify
franklahm [Tue, 5 Jan 2010 10:37:29 +0000 (10:37 +0000)]
Beautify

9 years agoStart adouble documentation in Doxygen style
franklahm [Mon, 4 Jan 2010 13:49:48 +0000 (13:49 +0000)]
Start adouble documentation in Doxygen style

9 years agoRename asaddump to apple_dump
franklahm [Mon, 4 Jan 2010 10:02:18 +0000 (10:02 +0000)]
Rename asaddump to apple_dump

9 years agoLots of improvements. From HAT
franklahm [Mon, 4 Jan 2010 09:46:39 +0000 (09:46 +0000)]
Lots of improvements. From HAT

9 years agoLast commit message mentionend the wrong CNID backends! branch-symlink-start
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"

9 years agoremove hash files
franklahm [Tue, 29 Dec 2009 10:02:58 +0000 (10:02 +0000)]
remove hash files

9 years agoRemove db3 files
franklahm [Tue, 29 Dec 2009 09:58:45 +0000 (09:58 +0000)]
Remove db3 files

9 years agoNicely print dev/ino data. From HAT.
franklahm [Sun, 27 Dec 2009 09:50:45 +0000 (09:50 +0000)]
Nicely print dev/ino data. From HAT.

9 years agoCheckin all manpages freshly from XML for 2.1beta. Merry christmas!
franklahm [Thu, 24 Dec 2009 08:05:39 +0000 (08:05 +0000)]
Checkin all manpages freshly from XML for 2.1beta. Merry christmas!

9 years agoasaddump: dump AppleSingle/Double files. From HAT.
franklahm [Wed, 23 Dec 2009 15:53:15 +0000 (15:53 +0000)]
asaddump: dump AppleSingle/Double files. From HAT.

9 years agoEnhance readability. From HAT.
franklahm [Wed, 23 Dec 2009 14:14:09 +0000 (14:14 +0000)]
Enhance readability. From HAT.

9 years agoea option
franklahm [Wed, 23 Dec 2009 12:41:53 +0000 (12:41 +0000)]
ea option

9 years agoSupport long usernames. From Alain Richard.
franklahm [Wed, 23 Dec 2009 11:09:25 +0000 (11:09 +0000)]
Support long usernames. From Alain Richard.

9 years agoUntabify and reindent
franklahm [Wed, 23 Dec 2009 10:18:48 +0000 (10:18 +0000)]
Untabify and reindent

9 years agoCheck if entries are present before using them
franklahm [Wed, 23 Dec 2009 07:21:08 +0000 (07:21 +0000)]
Check if entries are present before using them

9 years agoRemove bogus checks
franklahm [Tue, 22 Dec 2009 14:45:38 +0000 (14:45 +0000)]
Remove bogus checks

9 years agoAdd debug log messages
franklahm [Tue, 22 Dec 2009 13:37:27 +0000 (13:37 +0000)]
Add debug log messages

9 years agoAdd all EA opts to volinfo
franklahm [Tue, 22 Dec 2009 10:46:28 +0000 (10:46 +0000)]
Add all EA opts to volinfo

9 years agoCompletely ignore symlinks
franklahm [Tue, 22 Dec 2009 09:43:15 +0000 (09:43 +0000)]
Completely ignore symlinks

9 years agoChange logging
franklahm [Mon, 21 Dec 2009 17:00:17 +0000 (17:00 +0000)]
Change logging

9 years agoDistinguish between intra-share and extra-share symlinks
franklahm [Mon, 21 Dec 2009 14:41:00 +0000 (14:41 +0000)]
Distinguish between intra-share and extra-share symlinks

9 years agosymlink support
franklahm [Mon, 21 Dec 2009 09:35:55 +0000 (09:35 +0000)]
symlink support

9 years agologger: write to fd 1 directly instead of /dev/tty. The latter cant be redirected
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

9 years agoooops! Previous commit requested 64 GB cache instead of 64 MB...
franklahm [Mon, 21 Dec 2009 07:32:01 +0000 (07:32 +0000)]
ooops! Previous commit requested 64 GB cache instead of 64 MB...

9 years agoSet cachesize for rebuild db
franklahm [Mon, 21 Dec 2009 06:41:09 +0000 (06:41 +0000)]
Set cachesize for rebuild db

9 years agoLogfile removal was not working
franklahm [Sun, 20 Dec 2009 16:04:21 +0000 (16:04 +0000)]
Logfile removal was not working

9 years agoRaise bdb cache size to 64 MB
franklahm [Sun, 20 Dec 2009 14:17:23 +0000 (14:17 +0000)]
Raise bdb cache size to 64 MB

9 years agoFix EA support detection. New ea option values none and auto
franklahm [Fri, 18 Dec 2009 19:18:40 +0000 (19:18 +0000)]
Fix EA support detection. New ea option values none and auto

9 years agoRemoved nu. Use macusers instead
franklahm [Fri, 18 Dec 2009 13:01:15 +0000 (13:01 +0000)]
Removed nu. Use macusers instead

9 years agoSome options where listed under options: options wrongly.
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.

9 years agoFix ea:sys check
franklahm [Thu, 17 Dec 2009 09:25:40 +0000 (09:25 +0000)]
Fix ea:sys check

9 years agoRemove spurious log message
franklahm [Sun, 13 Dec 2009 17:33:09 +0000 (17:33 +0000)]
Remove spurious log message

9 years agoFix searching for lib on 64bit platforms
franklahm [Sun, 13 Dec 2009 11:59:11 +0000 (11:59 +0000)]
Fix searching for lib on 64bit platforms

9 years agoUpdate slp macro, default is disabled now
franklahm [Sun, 13 Dec 2009 11:58:30 +0000 (11:58 +0000)]
Update slp macro, default is disabled now

9 years agoadd a draft for 2.1 release note/TODO
didg [Sun, 13 Dec 2009 03:19:05 +0000 (03:19 +0000)]
add a draft for 2.1 release note/TODO

9 years agoupdate config template with new options
didg [Sun, 13 Dec 2009 03:07:21 +0000 (03:07 +0000)]
update config template with new options

9 years agoatalkd don't spam syslog if an interface is down, XXX atalkd still advertise routes...
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

9 years agoatalkd the function as_timer is way to big, use longer lines
didg [Sun, 13 Dec 2009 01:17:16 +0000 (01:17 +0000)]
atalkd the function as_timer is way to big, use longer lines

9 years agosplit horizon on router tables, wihout it poisoned routes are never deleted
didg [Sun, 13 Dec 2009 00:33:58 +0000 (00:33 +0000)]
split horizon on router tables, wihout it poisoned routes are never deleted

9 years agodon't dump core if there's no zone for on a seeded interface
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

9 years agoNew default for ea volume option is "sys".
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.

9 years agoAdd command string and symbol for AFP_GETUSERINFO
franklahm [Fri, 11 Dec 2009 13:11:18 +0000 (13:11 +0000)]
Add command string and symbol for AFP_GETUSERINFO

9 years agoUntabify and reindent
franklahm [Fri, 11 Dec 2009 10:14:02 +0000 (10:14 +0000)]
Untabify and reindent

9 years agoAdd support for ea:ad volumes
franklahm [Thu, 10 Dec 2009 17:40:25 +0000 (17:40 +0000)]
Add support for ea:ad volumes

9 years agoUpdate spec with how we use the hint
franklahm [Wed, 9 Dec 2009 15:37:32 +0000 (15:37 +0000)]
Update spec with how we use the hint

9 years agoAdjust dbd to use the same fixup logic as afpd ie call dbd_lookup with 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

9 years agoNot all systems define AI_NUMERICSERV
didg [Tue, 8 Dec 2009 22:34:37 +0000 (22:34 +0000)]
Not all systems define AI_NUMERICSERV

9 years agodon't spam the log with 'Invalid cnid, corrupted DB?' msg if cnid functions retun...
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\)

9 years agoUpdate spec
franklahm [Tue, 8 Dec 2009 10:26:12 +0000 (10:26 +0000)]
Update spec

9 years agoatalkd workaround for Linux 2.6 AT kmodule bug
franklahm [Tue, 8 Dec 2009 09:01:14 +0000 (09:01 +0000)]
atalkd workaround for Linux 2.6 AT kmodule bug

9 years agoatalkd: linux 2.6 sends broadcast queries to the first available socket (in our case...
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

9 years agoRename Solaris initscript installed name to netatalk
franklahm [Mon, 7 Dec 2009 14:59:35 +0000 (14:59 +0000)]
Rename Solaris initscript installed name to netatalk