netatalk.git
9 years agoSet DEFAULTS for volumes upriv and usedots netatalk-2-1-beta2
franklahm [Thu, 8 Apr 2010 17:14:15 +0000 (17:14 +0000)]
Set DEFAULTS for volumes upriv and usedots

9 years agoMinor corrections
franklahm [Thu, 8 Apr 2010 17:13:17 +0000 (17:13 +0000)]
Minor corrections

9 years agoalign 80 chars
hat001 [Thu, 8 Apr 2010 16:29:36 +0000 (16:29 +0000)]
align 80 chars

9 years agoRevert upriv default change
franklahm [Thu, 8 Apr 2010 08:40:51 +0000 (08:40 +0000)]
Revert upriv default change

9 years agoRevert upriv -> noupriv change
franklahm [Thu, 8 Apr 2010 05:51:16 +0000 (05:51 +0000)]
Revert upriv -> noupriv change

9 years agoFix 5436neta_cv_eas value
hat001 [Wed, 7 Apr 2010 14:25:24 +0000 (14:25 +0000)]
Fix 5436neta_cv_eas value

9 years agoREADME.platforms -> README.AppleTalk
hat001 [Wed, 7 Apr 2010 13:30:38 +0000 (13:30 +0000)]
README.platforms -> README.AppleTalk

9 years agoDocumentation for changed upriv -> noupriv option
franklahm [Tue, 6 Apr 2010 12:00:27 +0000 (12:00 +0000)]
Documentation for changed upriv -> noupriv option

9 years agoIgnore stuff
franklahm [Tue, 6 Apr 2010 10:03:53 +0000 (10:03 +0000)]
Ignore stuff

9 years agoRev versions to 2.1beta2, checkin changed manpages
franklahm [Mon, 5 Apr 2010 10:06:20 +0000 (10:06 +0000)]
Rev versions to 2.1beta2, checkin changed manpages

9 years agodropkludge is same as dropbox
hat001 [Sun, 4 Apr 2010 16:08:01 +0000 (16:08 +0000)]
dropkludge is same as dropbox

9 years agoRemove incomplete mapchars option
franklahm [Sun, 4 Apr 2010 15:04:45 +0000 (15:04 +0000)]
Remove incomplete mapchars option

9 years agoforgotten volume options
hat001 [Sun, 4 Apr 2010 14:17:23 +0000 (14:17 +0000)]
forgotten volume options

9 years agoLog error if open of EA content file fails
franklahm [Sun, 4 Apr 2010 08:24:38 +0000 (08:24 +0000)]
Log error if open of EA content file fails

9 years agoPatches for OpenBSD
franklahm [Sat, 3 Apr 2010 07:11:33 +0000 (07:11 +0000)]
Patches for OpenBSD

9 years agoforgotten options
hat001 [Fri, 2 Apr 2010 16:17:18 +0000 (16:17 +0000)]
forgotten options

9 years agoclustering support: new per volume option cnidserver
franklahm [Wed, 31 Mar 2010 09:47:32 +0000 (09:47 +0000)]
clustering support: new per volume option cnidserver

9 years agoAdjust what gets distributed
franklahm [Tue, 30 Mar 2010 14:18:24 +0000 (14:18 +0000)]
Adjust what gets distributed

9 years agoRename README.acls to README.ACLs
franklahm [Tue, 30 Mar 2010 14:16:42 +0000 (14:16 +0000)]
Rename README.acls to README.ACLs

9 years agoRename README.platforms to README.AppleTalk as suggested by HAT
franklahm [Tue, 30 Mar 2010 14:11:46 +0000 (14:11 +0000)]
Rename README.platforms to README.AppleTalk as suggested by HAT

9 years agoFBCIndex and stuff, from HAT
franklahm [Tue, 30 Mar 2010 14:07:13 +0000 (14:07 +0000)]
FBCIndex and stuff, from HAT

9 years agoAllow opening symlinks r/w, but don't actually allow writing. Fixes test426
franklahm [Tue, 30 Mar 2010 12:55:26 +0000 (12:55 +0000)]
Allow opening symlinks r/w, but don't actually allow writing. Fixes test426

9 years agomax 80 cols, from HAT
franklahm [Tue, 30 Mar 2010 12:48:40 +0000 (12:48 +0000)]
max 80 cols, from HAT

9 years agoFix typos
franklahm [Tue, 30 Mar 2010 12:44:35 +0000 (12:44 +0000)]
Fix typos

9 years agoPrevent security attack guessing valid server accounts
franklahm [Tue, 30 Mar 2010 10:25:49 +0000 (10:25 +0000)]
Prevent security attack guessing valid server accounts

9 years agoDoc for new AFP signature stuff, from HAT
franklahm [Mon, 29 Mar 2010 20:24:27 +0000 (20:24 +0000)]
Doc for new AFP signature stuff, from HAT

9 years agoNew AFP signature algorithm, from HAT
franklahm [Mon, 29 Mar 2010 15:22:57 +0000 (15:22 +0000)]
New AFP signature algorithm, from HAT

9 years agoConvert afp_moveandrename and all called funcs to XXXat semantics if available after-renameat
franklahm [Fri, 12 Mar 2010 15:16:48 +0000 (15:16 +0000)]
Convert afp_moveandrename and all called funcs to XXXat semantics if available

9 years agoInitialize AFPobj for AFP over AT too before-renameat
franklahm [Tue, 9 Mar 2010 06:55:12 +0000 (06:55 +0000)]
Initialize AFPobj for AFP over AT too

9 years agoacltoownermode: check if UUID support is on
franklahm [Mon, 8 Mar 2010 19:49:59 +0000 (19:49 +0000)]
acltoownermode: check if UUID support is on

9 years agoad_metadata don't try to open adouble file read write if ADFLAGS_CREATE is not set
didg [Sun, 7 Mar 2010 18:27:59 +0000 (18:27 +0000)]
ad_metadata don't try to open adouble file read write if ADFLAGS_CREATE is not set

9 years agoprevious commit 'use ad_close_metadata after ad_metadata' didn't compile
didg [Tue, 2 Mar 2010 18:07:13 +0000 (18:07 +0000)]
previous commit 'use ad_close_metadata after ad_metadata' didn't compile

9 years agocosmetic: use ad_close_metadata after ad_metadata
didg [Tue, 2 Mar 2010 13:29:31 +0000 (13:29 +0000)]
cosmetic: use ad_close_metadata after ad_metadata

9 years agostreamline deletefile, open the resource fork only once
didg [Tue, 2 Mar 2010 12:45:31 +0000 (12:45 +0000)]
streamline deletefile, open the resource fork only once

9 years agoad_open: unset O_TRUNC and O_CREAT in adf_flags if the resource fork is already open
didg [Mon, 1 Mar 2010 21:11:06 +0000 (21:11 +0000)]
ad_open: unset O_TRUNC and O_CREAT in adf_flags if the resource fork is already open

9 years agocreate_special_folder: cosmetic, replace ad_open with ad_open_metadata
didg [Mon, 1 Mar 2010 05:05:46 +0000 (05:05 +0000)]
create_special_folder: cosmetic, replace ad_open with ad_open_metadata

9 years agoprevious commit 'lchdir: use chdir + getcwd' was only testing for symlink outside...
didg [Sun, 28 Feb 2010 22:29:15 +0000 (22:29 +0000)]
previous commit 'lchdir: use chdir + getcwd' was only testing for symlink outside the volume's root directory, hopefully this one is correct

9 years agolchdir: use chdir + getcwd
didg [Sun, 28 Feb 2010 17:02:49 +0000 (17:02 +0000)]
lchdir: use chdir + getcwd

9 years agoad_size: if it's a symlink don't use fstat
didg [Fri, 26 Feb 2010 14:13:16 +0000 (14:13 +0000)]
ad_size: if it's a symlink don't use fstat

9 years agolock don't call fcntl if fd == 0, it's a symlink
didg [Fri, 26 Feb 2010 12:57:50 +0000 (12:57 +0000)]
lock don't call fcntl if fd == 0, it's a symlink

9 years agogetforkparms: lstat the symlink not /dev/null
didg [Fri, 26 Feb 2010 12:31:02 +0000 (12:31 +0000)]
getforkparms: lstat the symlink not /dev/null

9 years agoDefault type/creator. From HAT
franklahm [Mon, 22 Feb 2010 08:51:03 +0000 (08:51 +0000)]
Default type/creator. From HAT

9 years agoMove lchdir() to libatalk/util/unix.c and use that in catsearch.c.
franklahm [Fri, 19 Feb 2010 11:29:51 +0000 (11:29 +0000)]
Move lchdir() to libatalk/util/unix.c and use that in catsearch.c.

9 years agoRemove v_realpath from struct dir, normalize v_path instead
franklahm [Fri, 19 Feb 2010 10:51:59 +0000 (10:51 +0000)]
Remove v_realpath from struct dir, normalize v_path instead

9 years agouse volume real path for chdir
didg [Fri, 19 Feb 2010 01:26:03 +0000 (01:26 +0000)]
use volume real path for chdir

9 years agomove static variables only used in catsearch inside the function, test for chdir...
didg [Fri, 19 Feb 2010 00:32:22 +0000 (00:32 +0000)]
move static variables only used in catsearch inside the function, test for chdir return code, we have to use symlink safe chdir here

9 years agoOSX return AFPERR_NOOBJ rather than AFPERR_PARAM
didg [Thu, 18 Feb 2010 08:08:01 +0000 (08:08 +0000)]
OSX return AFPERR_NOOBJ rather than AFPERR_PARAM

9 years agokeep the source file open when parsing parameters in afp_copyfile. Really return...
didg [Thu, 18 Feb 2010 02:02:30 +0000 (02:02 +0000)]
keep the source file open when parsing parameters in afp_copyfile. Really return an error if dest dir is not a dir, AFAIK this parameter is always empty

9 years agolog type_configs data is used by uams modules, define it as UAM_MODULE_EXPORT
didg [Wed, 17 Feb 2010 01:46:14 +0000 (01:46 +0000)]
log type_configs data is used by uams modules, define it as UAM_MODULE_EXPORT

9 years agoin setfilparam when switching to a symlink use of_stat rathert than lstat, of_stat...
didg [Wed, 17 Feb 2010 01:41:58 +0000 (01:41 +0000)]
in setfilparam when switching to a symlink use of_stat rathert than lstat, of_stat also set path->errno

9 years agoremove a gcc warning: 'suggest parentheses around assignment used as truth value'
didg [Wed, 17 Feb 2010 01:19:51 +0000 (01:19 +0000)]
remove a gcc warning: 'suggest parentheses around assignment used as truth value'

9 years agouse the right test for noadouble volumes
didg [Tue, 16 Feb 2010 02:43:36 +0000 (02:43 +0000)]
use the right test for noadouble volumes

9 years agoremove a gcc warning: ‘static’ is not at beginning of declaration
didg [Tue, 16 Feb 2010 02:37:38 +0000 (02:37 +0000)]
remove a gcc warning: ‘static’ is not at beginning of declaration

9 years agoFix some uninitialized warnings
franklahm [Mon, 15 Feb 2010 13:58:38 +0000 (13:58 +0000)]
Fix some uninitialized warnings

9 years agoMake LOG macro fast again
franklahm [Mon, 15 Feb 2010 12:00:36 +0000 (12:00 +0000)]
Make LOG macro fast again

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