]>
arthur.barton.de Git - netatalk.git/log
lenneis [Fri, 9 Jan 2004 00:23:32 +0000 (00:23 +0000)]
Enable default startup of cnid_metad in various startup scripts.
lenneis [Thu, 8 Jan 2004 19:16:57 +0000 (19:16 +0000)]
afpd now also uses default values for cnidserver and port.
bfernhomberg [Thu, 8 Jan 2004 04:17:21 +0000 (04:17 +0000)]
remove v_umask from create_special_folders
bfernhomberg [Thu, 8 Jan 2004 03:50:56 +0000 (03:50 +0000)]
BUGFIX: we convert from v_volcharset to CH_UCS, not the other way round :-(
bfernhomberg [Thu, 8 Jan 2004 02:19:04 +0000 (02:19 +0000)]
large commit, replace the old manpages with the ones generated from Docbook XML
lenneis [Wed, 7 Jan 2004 21:34:00 +0000 (21:34 +0000)]
Enable all "supported" CNID backends in the default configuration.
lenneis [Wed, 7 Jan 2004 19:32:12 +0000 (19:32 +0000)]
Get rid of GNU make specific foreach in various instances of Makefile.am
lenneis [Wed, 7 Jan 2004 19:00:24 +0000 (19:00 +0000)]
Close one end of socketpair() in cnid_metad, saves one file descriptor
per child process.
lenneis [Wed, 7 Jan 2004 13:33:03 +0000 (13:33 +0000)]
Temporary fix for statfs/statvfs (FreeBSD 5.1 would not compile).
didg [Sun, 4 Jan 2004 21:36:20 +0000 (21:36 +0000)]
better errors handling in dbd
lenneis [Sat, 3 Jan 2004 23:01:40 +0000 (23:01 +0000)]
Rework file descriptor handling in cnid_metad and cnid_dbd. We now pass
the read end from socketpair() and the first client file descriptor
via the command line to cnid_dbd. That way there is no confusion with
descriptors 0 and 1 and the -d flag to cnid_metad is inheritited by cnid_dbd
(stdin/stdout/stderr remain open and useable). Also, we try to close all
descriptors not needed by cnid_dbd.
didg [Sat, 3 Jan 2004 22:42:55 +0000 (22:42 +0000)]
better errors handling in afpd for dbd cnid.
didg [Sat, 3 Jan 2004 22:21:08 +0000 (22:21 +0000)]
add nodev volume option (always use 0 for device number).
didg [Sat, 3 Jan 2004 22:16:32 +0000 (22:16 +0000)]
adv1tov2 use resource fork offset in adouble file rather than the default
bfernhomberg [Sat, 3 Jan 2004 01:49:54 +0000 (01:49 +0000)]
Fix some issues with older autoconf/automake.
Fix some test ==, should be test =
removed the db_create check from macros/db3-check.m4
renamed AM_ICONV to AC_CHECK_ICONV to avoid collisions
bfernhomberg [Fri, 2 Jan 2004 19:37:17 +0000 (19:37 +0000)]
Fix typo
didg [Fri, 2 Jan 2004 18:14:52 +0000 (18:14 +0000)]
Add a null pointer check and remove a // comment.
lenneis [Fri, 2 Jan 2004 17:20:57 +0000 (17:20 +0000)]
A FPEnumerate request with a reply size of ~8192 or more can cause
a buffer overrun in the dsi->data field. Revealed while testing with loadtest
from the testsuite. Use new constant REPLY_PARAM_MAXLEN to back off in time.
lenneis [Wed, 17 Dec 2003 17:19:20 +0000 (17:19 +0000)]
If a database path is specified for a db3/cdb/dbd backend and initializing the
backend fails, do not automatically switch to <volumepath>/.AppleDB.
If initializing a CNID backend fails, do not automatically switch to the
default CNID scheme.
lenneis [Tue, 16 Dec 2003 23:06:32 +0000 (23:06 +0000)]
Check for old version of the CNID database in the cdb backend now as well.
Checks adapted for both dbd and cdb to only look for "cnid.db" for now.
didg [Fri, 12 Dec 2003 19:54:31 +0000 (19:54 +0000)]
usockfd.c is not used by cnid_dbd
didg [Fri, 12 Dec 2003 19:34:27 +0000 (19:34 +0000)]
if resource fork size is 0 don't assume mode is RW
didg [Fri, 12 Dec 2003 19:29:55 +0000 (19:29 +0000)]
configure change for linux 2.6 from Thomas Kaiser
didg [Fri, 12 Dec 2003 19:27:57 +0000 (19:27 +0000)]
remove a debugging sleep and fix a typo in dbd_update.
didg [Fri, 12 Dec 2003 19:16:32 +0000 (19:16 +0000)]
OSX uses FPzzz command even if connected with AFP2.2 (via classic)
lenneis [Thu, 4 Dec 2003 21:33:25 +0000 (21:33 +0000)]
Replace flock() locking with fcntl() in cnid_dbd.
lenneis [Wed, 3 Dec 2003 15:21:36 +0000 (15:21 +0000)]
Added cnid2_create upgrade script to bin/cnid.
lenneis [Wed, 3 Dec 2003 14:56:12 +0000 (14:56 +0000)]
Add a check for old (CNID 1) databases to the dbd backend, refuse
to start if old version is present. Update/add some FIXME comments,
delete unused variables in dbd_stamp().
lenneis [Wed, 3 Dec 2003 00:40:20 +0000 (00:40 +0000)]
dbif_del was called with DBIF_IDX_DEVINO/DBIF_IDX_DIDNAME
as opposed to DBIF_IDX_CNID in dbd_update.
lenneis [Mon, 1 Dec 2003 22:24:50 +0000 (22:24 +0000)]
Check in cnid_dbd manpage.
lenneis [Mon, 1 Dec 2003 22:23:12 +0000 (22:23 +0000)]
Introduce default values for host, port and cnid_dbd
executeable in cnid_metad. Manual pages cnid_metad and cnid_dbd.
rlewczuk [Sun, 30 Nov 2003 22:07:36 +0000 (22:07 +0000)]
Update AppleVolumes.default manual page
rlewczuk [Sun, 30 Nov 2003 21:05:16 +0000 (21:05 +0000)]
Removed some entries. Only things I've been perfectly sure.
Note that propably all things in this file have been outdated.
didg [Sat, 29 Nov 2003 00:11:55 +0000 (00:11 +0000)]
fix small leak and a SIGSEGV on reload
bfernhomberg [Wed, 26 Nov 2003 03:57:09 +0000 (03:57 +0000)]
fix a mem leak
bfernhomberg [Wed, 26 Nov 2003 03:23:32 +0000 (03:23 +0000)]
fix typos, minor cleanup
lenneis [Tue, 25 Nov 2003 19:13:26 +0000 (19:13 +0000)]
Changed the cdb backend to store dev/ino as 8 bytes in network byte order
as well.
lenneis [Tue, 25 Nov 2003 13:28:54 +0000 (13:28 +0000)]
Make use of setresgid/setresuid conditional for systems
not supporting the calls in cnid_metad.
didg [Tue, 25 Nov 2003 05:05:43 +0000 (05:05 +0000)]
ad_v1tov2 was using a wrong offset for resource fork.
lenneis [Tue, 25 Nov 2003 00:41:30 +0000 (00:41 +0000)]
Change the dbd CNID backend to store dev/ino in 8 byte network order.
Added a new dbd backend function dbd_getstamp to handle cnid_getstamp requests.
bfernhomberg [Mon, 24 Nov 2003 17:16:51 +0000 (17:16 +0000)]
fix a linker problem with openbsd linker, reported by Joerg Lenneis
bfernhomberg [Mon, 24 Nov 2003 12:13:32 +0000 (12:13 +0000)]
fix a freeBSD compile problem, C99
didg [Tue, 18 Nov 2003 12:37:02 +0000 (12:37 +0000)]
Server signature in getstatus packet was modified after a config reload
(killall -1 afpd).
didg [Tue, 18 Nov 2003 12:32:46 +0000 (12:32 +0000)]
temporary fix, enable more clients for cnid_metad.
didg [Tue, 18 Nov 2003 12:30:47 +0000 (12:30 +0000)]
add a config variable $i for client IP address (without tcp port)
bfernhomberg [Sat, 15 Nov 2003 00:00:30 +0000 (00:00 +0000)]
allow extended characters in volume names
bfernhomberg [Fri, 14 Nov 2003 23:41:04 +0000 (23:41 +0000)]
some unicode fixes
didg [Fri, 14 Nov 2003 14:37:37 +0000 (14:37 +0000)]
fix a small leak in UAM handling.
didg [Thu, 13 Nov 2003 15:39:02 +0000 (15:39 +0000)]
unblock signals in children (cf previous commit for RH9 )
didg [Thu, 13 Nov 2003 15:29:01 +0000 (15:29 +0000)]
fix a small leak
bfernhomberg [Thu, 13 Nov 2003 00:19:45 +0000 (00:19 +0000)]
server messages were still broken :-(
didg [Wed, 12 Nov 2003 16:00:08 +0000 (16:00 +0000)]
value was used after freed
bfernhomberg [Tue, 11 Nov 2003 12:16:48 +0000 (12:16 +0000)]
bugfix: rbuflen was not set correctly with utf8 messages
didg [Tue, 11 Nov 2003 08:48:32 +0000 (08:48 +0000)]
RH9 and signal handlers deadlock fix.
bfernhomberg [Mon, 10 Nov 2003 00:32:04 +0000 (00:32 +0000)]
remove some debug noise
bfernhomberg [Thu, 6 Nov 2003 09:23:35 +0000 (09:23 +0000)]
unicode endian fixes
lenneis [Mon, 3 Nov 2003 20:56:59 +0000 (20:56 +0000)]
Get transaction support to work again against the new DB->associate() and
DB->open() interfaces of Berkeley DB 4.xx. dbif_stamp() needed to be wrapped
into a transaction as well.
bfernhomberg [Mon, 3 Nov 2003 20:51:48 +0000 (20:51 +0000)]
Panther FPGetSrvMsg fix, UTF8 strings have a 2 byte length
bfernhomberg [Mon, 3 Nov 2003 03:10:01 +0000 (03:10 +0000)]
fix demangling for pre OSX clients, after cnid_resolve id contains the DID
bfernhomberg [Sun, 2 Nov 2003 19:29:54 +0000 (19:29 +0000)]
fix some OSX compile issues, reported by Thomas Kaiser
bfernhomberg [Sat, 1 Nov 2003 07:45:56 +0000 (07:45 +0000)]
change AC_NETATALK_CNID to AC_NETATALK_CNID[berkeley required, berkeley not required]
bfernhomberg [Sat, 1 Nov 2003 07:37:56 +0000 (07:37 +0000)]
Fix endianess issues with unicode
bfernhomberg [Sat, 1 Nov 2003 02:38:09 +0000 (02:38 +0000)]
fix OSX build issues
bfernhomberg [Sat, 1 Nov 2003 02:14:56 +0000 (02:14 +0000)]
bugfix: check ext != NULL before strncat
bfernhomberg [Thu, 30 Oct 2003 10:03:19 +0000 (10:03 +0000)]
fix most solaris compile issues, flock is #ifdef as solaris has no flock implementation. Needs fixing.
bfernhomberg [Thu, 30 Oct 2003 09:58:43 +0000 (09:58 +0000)]
revert the (char*) casts, we want the const warnings to stay
bfernhomberg [Thu, 30 Oct 2003 09:38:46 +0000 (09:38 +0000)]
fix a solaris compiles issue, warning fixes
bfernhomberg [Thu, 30 Oct 2003 07:11:30 +0000 (07:11 +0000)]
OpenBSD compile fix: include utime.h after sys/types.h
bfernhomberg [Thu, 30 Oct 2003 06:43:44 +0000 (06:43 +0000)]
crypt requires _XOPEN_SOURCE 500 on netbsd
bfernhomberg [Thu, 30 Oct 2003 05:57:43 +0000 (05:57 +0000)]
fix solaris compile issues, warning fixes
bfernhomberg [Thu, 30 Oct 2003 05:02:53 +0000 (05:02 +0000)]
fix initscripts install on netbsd, sf patch 762584
bfernhomberg [Thu, 30 Oct 2003 04:53:01 +0000 (04:53 +0000)]
add missed LIST_ :-(
didg [Thu, 30 Oct 2003 03:48:12 +0000 (03:48 +0000)]
SRVLOC url is a server attribute not a global one.
bfernhomberg [Thu, 30 Oct 2003 03:39:09 +0000 (03:39 +0000)]
remove bogus #ifdef AFP3.x, we always need unicode.h and we don't need iconv.h
bfernhomberg [Thu, 30 Oct 2003 03:31:33 +0000 (03:31 +0000)]
LIST_HEAD collides with netbsd sys/queue.h, rename defines in atalk/list.h to ATALK_LIST_
bfernhomberg [Thu, 30 Oct 2003 01:17:26 +0000 (01:17 +0000)]
fix solaris compile issue
bfernhomberg [Thu, 30 Oct 2003 00:21:46 +0000 (00:21 +0000)]
add expired password handling. Thanks go to Leland Wallace for giving the right pointers.
bfernhomberg [Wed, 29 Oct 2003 23:53:23 +0000 (23:53 +0000)]
configure cleanup, some sync with HEAD, autoenable PAM, shadow and srvloc if found on the system, cnid backends moved to macros/cnid-backend.m4
didg [Tue, 28 Oct 2003 07:24:02 +0000 (07:24 +0000)]
don't log connect close sequence
didg [Sun, 26 Oct 2003 20:13:02 +0000 (20:13 +0000)]
setting UTF8 name in FPSetFileParms is an error.
didg [Sun, 26 Oct 2003 10:33:37 +0000 (10:33 +0000)]
configure option for fcntl locking
didg [Thu, 23 Oct 2003 04:29:16 +0000 (04:29 +0000)]
revert previous bogus change...
didg [Tue, 21 Oct 2003 17:47:30 +0000 (17:47 +0000)]
only link Berkeley DB when needed.
didg [Tue, 21 Oct 2003 16:23:54 +0000 (16:23 +0000)]
code cleaning (header) from Bjorn
rlewczuk [Tue, 21 Oct 2003 12:11:08 +0000 (12:11 +0000)]
Bugfix in copyfile(), AD attributes of copied wile were overwritten with default ones.
bfernhomberg [Fri, 17 Oct 2003 00:48:56 +0000 (00:48 +0000)]
linux broken sendfile: set source fd to offset if sendfile fails so we can continue with read
didg [Fri, 17 Oct 2003 00:01:10 +0000 (00:01 +0000)]
sendfile for LARGE_FILE. use sys_ftruncate in ad_open too, temporary fix with
dbd if socket is closed (sleep a little rather than DoS). use SIG_SETMASK
rather than SIG_UNBLOCK with dsi functions.
bfernhomberg [Tue, 14 Oct 2003 00:28:26 +0000 (00:28 +0000)]
check extensions on demangling
didg [Mon, 13 Oct 2003 22:05:17 +0000 (22:05 +0000)]
linux with vfat fs sends SIGXFSZ even for files with O_LARGEFILE. There's
unresolved issue with vfat and call to rename (.tempxxx,....) in AFP exchangefile.
didg [Mon, 13 Oct 2003 18:23:51 +0000 (18:23 +0000)]
fix for the case when ftruncate doesn't work with new size > current size
didg [Sun, 12 Oct 2003 16:25:19 +0000 (16:25 +0000)]
fix to a fix :(
didg [Sun, 12 Oct 2003 15:13:29 +0000 (15:13 +0000)]
fix a typo signals were always blocked in cnid code
didg [Sun, 12 Oct 2003 13:50:16 +0000 (13:50 +0000)]
use writev in reply.
didg [Sun, 12 Oct 2003 02:11:28 +0000 (02:11 +0000)]
if id < 17 it's not a valid mangled filename.
didg [Mon, 6 Oct 2003 15:17:08 +0000 (15:17 +0000)]
fix errors with Berkeley DB 4.0.x
didg [Wed, 1 Oct 2003 11:07:50 +0000 (11:07 +0000)]
deal with hostname for -h parameter.
didg [Tue, 30 Sep 2003 14:52:45 +0000 (14:52 +0000)]
ifdef code not used if no DEBUG1
didg [Tue, 30 Sep 2003 12:24:49 +0000 (12:24 +0000)]
try harder to avoid duplicate volumes creation date.
didg [Sun, 28 Sep 2003 13:58:55 +0000 (13:58 +0000)]
mangling fixes
bfernhomberg [Sat, 27 Sep 2003 03:05:41 +0000 (03:05 +0000)]
create and/or hide Network Trah Folder and Temporary Items on volume open