]> arthur.barton.de Git - netatalk.git/log
netatalk.git
20 years agoUse DB_PRIVATE attribute for dbd backend without transaction.
didg [Sat, 7 Feb 2004 18:45:46 +0000 (18:45 +0000)]
Use DB_PRIVATE attribute for dbd backend without transaction.

20 years agoadd the DID to AD2, reenumerate if db is out of sync. This should solve some problems...
bfernhomberg [Fri, 6 Feb 2004 13:39:51 +0000 (13:39 +0000)]
add the DID to AD2, reenumerate if db is out of sync. This should solve some problems with the volume modified outside afpd.

20 years agoremove MSG_MORE, sometime it's slower...
didg [Fri, 6 Feb 2004 13:34:35 +0000 (13:34 +0000)]
remove MSG_MORE, sometime it's slower...

20 years agodon't modify modification date in copyfile
didg [Fri, 6 Feb 2004 02:32:15 +0000 (02:32 +0000)]
don't modify modification date in copyfile

20 years agospecify USEDOTS with MSWINDOWS implicitely, we missed to add that before
bfernhomberg [Thu, 5 Feb 2004 16:55:19 +0000 (16:55 +0000)]
specify USEDOTS with MSWINDOWS implicitely, we missed to add that before

20 years agoremove a fixme on AD2 size calc
bfernhomberg [Sat, 31 Jan 2004 14:26:24 +0000 (14:26 +0000)]
remove a fixme on AD2 size calc

20 years agospeed optimisation for byte locking was broken on resource fork.
didg [Wed, 28 Jan 2004 10:15:39 +0000 (10:15 +0000)]
speed optimisation for byte locking was broken on resource fork.

20 years agoMake it compile again.
didg [Mon, 26 Jan 2004 16:11:58 +0000 (16:11 +0000)]
Make it compile again.

20 years agofix some 'Bjoern, think before you commit stupid code' issues.
bfernhomberg [Sun, 25 Jan 2004 11:52:14 +0000 (11:52 +0000)]
fix some 'Bjoern, think before you commit stupid code' issues.

20 years agolibiconv warning fix
bfernhomberg [Sun, 25 Jan 2004 00:06:50 +0000 (00:06 +0000)]
libiconv warning fix

20 years agofix a Solaris 9 compile problem, needs sys/time.h
bfernhomberg [Sun, 25 Jan 2004 00:04:53 +0000 (00:04 +0000)]
fix a Solaris 9 compile problem, needs sys/time.h

20 years agofix libiconv configure detection
bfernhomberg [Sun, 25 Jan 2004 00:02:38 +0000 (00:02 +0000)]
fix libiconv configure detection

20 years agooptions need strdup, remove a syslog call
bfernhomberg [Sat, 24 Jan 2004 18:05:26 +0000 (18:05 +0000)]
options need strdup, remove a syslog call

20 years agoSRVLOC changes: register with IP address instead of hostname by default, if -fqdn...
bfernhomberg [Fri, 23 Jan 2004 14:00:15 +0000 (14:00 +0000)]
SRVLOC changes: register with IP address instead of hostname by default, if -fqdn is specified register with FQDN.
Added extended character support for SLP, non ASCII characters are escaped
Added ZONE to registration

20 years agofix a SIGSEGV if UTF8 servername could not be set in status
bfernhomberg [Thu, 22 Jan 2004 19:37:46 +0000 (19:37 +0000)]
fix a SIGSEGV if UTF8 servername could not be set in status

20 years agoAdded more DEBUG log messages to cnid_dbd, fixed existing ones.
lenneis [Wed, 21 Jan 2004 21:28:42 +0000 (21:28 +0000)]
Added more DEBUG log messages to cnid_dbd, fixed existing ones.
We now also log dev/ino with DEBUG defined. Fixed minor
issue with dbd_delete always returning CNID_DBD_RES_NOTFOUND.

20 years agoVariable $v substitution: don't use name stored in adouble header but name
didg [Wed, 21 Jan 2004 13:02:04 +0000 (13:02 +0000)]
Variable $v substitution: don't use name stored in adouble header but name
defined in config files. Note: old code was wrong and adouble header was never used.

20 years agoatalkd: bprint is only available if we compile with DEBUG1.
lenneis [Wed, 21 Jan 2004 00:20:57 +0000 (00:20 +0000)]
atalkd: bprint is only available if we compile with DEBUG1.

20 years agofix uams_xxx.la is already going to be installed in uams warning
bfernhomberg [Sun, 18 Jan 2004 08:05:06 +0000 (08:05 +0000)]
fix uams_xxx.la is already going to be installed in uams warning

20 years agocleanup, remove obsolete stuff
bfernhomberg [Sun, 18 Jan 2004 07:28:57 +0000 (07:28 +0000)]
cleanup, remove obsolete stuff

20 years agomirror latest changes from XML sources
bfernhomberg [Sun, 18 Jan 2004 04:48:31 +0000 (04:48 +0000)]
mirror latest changes from XML sources

20 years agomirror latest changes from XML sources
bfernhomberg [Sun, 18 Jan 2004 04:35:10 +0000 (04:35 +0000)]
mirror latest changes from XML sources

20 years agoLog an error message if we cannot open the Berkeley DB environment
lenneis [Thu, 15 Jan 2004 19:18:27 +0000 (19:18 +0000)]
Log an error message if we cannot open the Berkeley DB environment
in the cdb backend.

20 years agoClean up internal structs in cnid_dbd_private.h.
lenneis [Thu, 15 Jan 2004 18:58:32 +0000 (18:58 +0000)]
Clean up internal structs in cnid_dbd_private.h.
Update log messages for the dbd backend in cnid_dbd.
Log more accurate warnings/errors if we cannot connect to
cnid_dbd repeatedly.

20 years agofix a compile nfsquota problem with redhat based distros, rpcsvc/rquota.h is in a...
bfernhomberg [Thu, 15 Jan 2004 08:12:57 +0000 (08:12 +0000)]
fix a compile nfsquota problem with redhat based distros, rpcsvc/rquota.h is in a separate package quota-3. If rquota.h is not found, compilation of *all* quota code is disabled

20 years agomake atalkd set interfaces to ALLMULTI on linux by default, added new atalkd.conf...
bfernhomberg [Thu, 15 Jan 2004 06:34:15 +0000 (06:34 +0000)]
make atalkd set interfaces to ALLMULTI on linux by default, added new atalkd.conf option -noallmulti to prevent this for an interface

20 years agoCheck if we can get a DB stamp sucessfully in afs_openvol and fail
lenneis [Wed, 14 Jan 2004 23:15:19 +0000 (23:15 +0000)]
Check if we can get a DB stamp sucessfully in afs_openvol and fail
the open if not.

20 years agomake sure auto enabled backends get into compiled_backends
bfernhomberg [Tue, 13 Jan 2004 12:43:58 +0000 (12:43 +0000)]
make sure auto enabled backends get into compiled_backends

20 years agorename the summary macros from AM_ to AC_
bfernhomberg [Tue, 13 Jan 2004 12:38:20 +0000 (12:38 +0000)]
rename the summary macros from AM_ to AC_

20 years agoFIX: btree does not support nelem in the ascii load files. netatalk-2-0-alpha1
lenneis [Mon, 12 Jan 2004 13:52:24 +0000 (13:52 +0000)]
FIX: btree does not support nelem in the ascii load files.

20 years agoUpdated NEWS, VERSION and a couple of .cvsignore files changed.
lenneis [Sun, 11 Jan 2004 22:38:36 +0000 (22:38 +0000)]
Updated NEWS, VERSION and a couple of .cvsignore files changed.

20 years agoadd some people to CONTRIBUTORS -this file is likely *very* incomplete-, update READM...
bfernhomberg [Sun, 11 Jan 2004 20:17:28 +0000 (20:17 +0000)]
add some people to CONTRIBUTORS -this file is likely *very* incomplete-, update README file to point to the new docs

20 years agoAdd .cvsignore files where missing.
lenneis [Sun, 11 Jan 2004 15:31:49 +0000 (15:31 +0000)]
Add .cvsignore files where missing.

20 years agofix a possible SIGSEGV with KerberosV auth, if k5service is missing
bfernhomberg [Sun, 11 Jan 2004 12:31:12 +0000 (12:31 +0000)]
fix a possible SIGSEGV with KerberosV auth, if k5service is missing

20 years agowe now use BTREE database
bfernhomberg [Sat, 10 Jan 2004 08:49:56 +0000 (08:49 +0000)]
we now use BTREE database

20 years agowarning fixes
bfernhomberg [Sat, 10 Jan 2004 08:42:39 +0000 (08:42 +0000)]
warning fixes

20 years agowarning fixes
bfernhomberg [Sat, 10 Jan 2004 08:24:23 +0000 (08:24 +0000)]
warning fixes

20 years agowarning fixes
bfernhomberg [Sat, 10 Jan 2004 08:09:12 +0000 (08:09 +0000)]
warning fixes

20 years agowarning fixes
bfernhomberg [Sat, 10 Jan 2004 08:01:36 +0000 (08:01 +0000)]
warning fixes

20 years agoprevious change wasn't great.
didg [Sat, 10 Jan 2004 07:44:39 +0000 (07:44 +0000)]
previous change wasn't great.

20 years agominor warning fixes
bfernhomberg [Sat, 10 Jan 2004 07:36:25 +0000 (07:36 +0000)]
minor warning fixes

20 years agomore gcc warnings.
didg [Sat, 10 Jan 2004 07:30:29 +0000 (07:30 +0000)]
more gcc warnings.

20 years agoadd cnid_init prototype
bfernhomberg [Sat, 10 Jan 2004 07:19:31 +0000 (07:19 +0000)]
add cnid_init prototype

20 years agominor warning fixes
bfernhomberg [Sat, 10 Jan 2004 07:00:59 +0000 (07:00 +0000)]
minor warning fixes

20 years agoUse btree method for dbd cnid.
didg [Sat, 10 Jan 2004 06:54:01 +0000 (06:54 +0000)]
Use btree method for dbd cnid.

20 years agofix minor gcc warnings.
didg [Sat, 10 Jan 2004 06:40:58 +0000 (06:40 +0000)]
fix minor gcc warnings.

20 years ago* change the database format from DB_HASH to DB_BTREE, should improve speed on large...
bfernhomberg [Sat, 10 Jan 2004 06:25:18 +0000 (06:25 +0000)]
* change the database format from DB_HASH to DB_BTREE, should improve speed on large volumes, old databases need to be converted
* add a check to compare the runtime BDB library version to the one we compiled with

20 years agoset db_env to NULL on error.
didg [Sat, 10 Jan 2004 06:18:43 +0000 (06:18 +0000)]
set db_env to NULL on error.

20 years agoadd a note: Netatalk docs are now kept in the netatalk-docs cvs module
bfernhomberg [Fri, 9 Jan 2004 23:13:20 +0000 (23:13 +0000)]
add a note: Netatalk docs are now kept in the netatalk-docs cvs module

20 years agoRemove out of date ChangeLog.
lenneis [Fri, 9 Jan 2004 22:58:26 +0000 (22:58 +0000)]
Remove out of date ChangeLog.

20 years agofix: relace a hardcoded path with :ETCDIR:, mirror XML change
bfernhomberg [Fri, 9 Jan 2004 22:46:59 +0000 (22:46 +0000)]
fix: relace a hardcoded path with :ETCDIR:, mirror XML change

20 years agoChange cnid_dbd backend files to GPL.
lenneis [Fri, 9 Jan 2004 21:05:50 +0000 (21:05 +0000)]
Change cnid_dbd backend files to GPL.

20 years agoremove deprecated documentation
bfernhomberg [Fri, 9 Jan 2004 21:00:34 +0000 (21:00 +0000)]
remove deprecated documentation

20 years agoStartup scripts for netbsd.
lenneis [Fri, 9 Jan 2004 20:27:12 +0000 (20:27 +0000)]
Startup scripts for netbsd.

20 years agomirror change from XML man
bfernhomberg [Fri, 9 Jan 2004 18:46:10 +0000 (18:46 +0000)]
mirror change from XML man

20 years agoEnable default startup of cnid_metad in various startup scripts.
lenneis [Fri, 9 Jan 2004 00:23:32 +0000 (00:23 +0000)]
Enable default startup of cnid_metad in various startup scripts.

20 years agoafpd now also uses default values for cnidserver and port.
lenneis [Thu, 8 Jan 2004 19:16:57 +0000 (19:16 +0000)]
afpd now also uses default values for cnidserver and port.

20 years agoremove v_umask from create_special_folders
bfernhomberg [Thu, 8 Jan 2004 04:17:21 +0000 (04:17 +0000)]
remove v_umask from create_special_folders

20 years agoBUGFIX: we convert from v_volcharset to CH_UCS, not the other way round :-(
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 :-(

20 years agolarge commit, replace the old manpages with the ones generated from Docbook XML
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

20 years agoEnable all "supported" CNID backends in the default configuration.
lenneis [Wed, 7 Jan 2004 21:34:00 +0000 (21:34 +0000)]
Enable all "supported" CNID backends in the default configuration.

20 years agoGet rid of GNU make specific foreach in various instances of Makefile.am
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

20 years agoClose one end of socketpair() in cnid_metad, saves one file descriptor
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.

20 years agoTemporary fix for statfs/statvfs (FreeBSD 5.1 would not compile).
lenneis [Wed, 7 Jan 2004 13:33:03 +0000 (13:33 +0000)]
Temporary fix for statfs/statvfs (FreeBSD 5.1 would not compile).

20 years agobetter errors handling in dbd
didg [Sun, 4 Jan 2004 21:36:20 +0000 (21:36 +0000)]
better errors handling in dbd

20 years agoRework file descriptor handling in cnid_metad and cnid_dbd. We now pass
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.

20 years agobetter errors handling in afpd for dbd cnid.
didg [Sat, 3 Jan 2004 22:42:55 +0000 (22:42 +0000)]
better errors handling in afpd for dbd cnid.

20 years agoadd nodev volume option (always use 0 for device number).
didg [Sat, 3 Jan 2004 22:21:08 +0000 (22:21 +0000)]
add nodev volume option (always use 0 for device number).

20 years agoadv1tov2 use resource fork offset in adouble file rather than the default
didg [Sat, 3 Jan 2004 22:16:32 +0000 (22:16 +0000)]
adv1tov2 use resource fork offset in adouble file rather than the default

20 years agoFix some issues with older autoconf/automake.
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

20 years agoFix typo
bfernhomberg [Fri, 2 Jan 2004 19:37:17 +0000 (19:37 +0000)]
Fix typo

20 years agoAdd a null pointer check and remove a // comment.
didg [Fri, 2 Jan 2004 18:14:52 +0000 (18:14 +0000)]
Add a null pointer check and remove a // comment.

20 years agoA FPEnumerate request with a reply size of ~8192 or more can cause
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.

20 years agoIf a database path is specified for a db3/cdb/dbd backend and initializing the
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.

20 years agoCheck for old version of the CNID database in the cdb backend now as well.
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.

20 years agousockfd.c is not used by cnid_dbd
didg [Fri, 12 Dec 2003 19:54:31 +0000 (19:54 +0000)]
usockfd.c is not used by cnid_dbd

20 years agoif resource fork size is 0 don't assume mode is RW
didg [Fri, 12 Dec 2003 19:34:27 +0000 (19:34 +0000)]
if resource fork size is 0 don't assume mode is RW

20 years agoconfigure change for linux 2.6 from Thomas Kaiser
didg [Fri, 12 Dec 2003 19:29:55 +0000 (19:29 +0000)]
configure change for linux 2.6 from Thomas Kaiser

20 years agoremove a debugging sleep and fix a typo in dbd_update.
didg [Fri, 12 Dec 2003 19:27:57 +0000 (19:27 +0000)]
remove a debugging sleep and fix a typo in dbd_update.

20 years agoOSX uses FPzzz command even if connected with AFP2.2 (via classic)
didg [Fri, 12 Dec 2003 19:16:32 +0000 (19:16 +0000)]
OSX uses FPzzz command even if connected with AFP2.2 (via classic)

20 years agoReplace flock() locking with fcntl() in cnid_dbd.
lenneis [Thu, 4 Dec 2003 21:33:25 +0000 (21:33 +0000)]
Replace flock() locking with fcntl() in cnid_dbd.

20 years agoAdded cnid2_create upgrade script to bin/cnid.
lenneis [Wed, 3 Dec 2003 15:21:36 +0000 (15:21 +0000)]
Added cnid2_create upgrade script to bin/cnid.

20 years agoAdd a check for old (CNID 1) databases to the dbd backend, refuse
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().

20 years agodbif_del was called with DBIF_IDX_DEVINO/DBIF_IDX_DIDNAME
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.

20 years agoCheck in cnid_dbd manpage.
lenneis [Mon, 1 Dec 2003 22:24:50 +0000 (22:24 +0000)]
Check in cnid_dbd manpage.

20 years agoIntroduce default values for host, port and cnid_dbd
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.

20 years agoUpdate AppleVolumes.default manual page
rlewczuk [Sun, 30 Nov 2003 22:07:36 +0000 (22:07 +0000)]
Update AppleVolumes.default manual page

20 years agoRemoved some entries. Only things I've been perfectly sure.
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.

20 years agofix small leak and a SIGSEGV on reload
didg [Sat, 29 Nov 2003 00:11:55 +0000 (00:11 +0000)]
fix small leak and a SIGSEGV  on reload

20 years agofix a mem leak
bfernhomberg [Wed, 26 Nov 2003 03:57:09 +0000 (03:57 +0000)]
fix a mem leak

20 years agofix typos, minor cleanup
bfernhomberg [Wed, 26 Nov 2003 03:23:32 +0000 (03:23 +0000)]
fix typos, minor cleanup

20 years agoChanged the cdb backend to store dev/ino as 8 bytes in network byte order
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.

20 years agoMake use of setresgid/setresuid conditional for systems
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.

20 years agoad_v1tov2 was using a wrong offset for resource fork.
didg [Tue, 25 Nov 2003 05:05:43 +0000 (05:05 +0000)]
ad_v1tov2 was using a wrong offset for resource fork.

20 years agoChange the dbd CNID backend to store dev/ino in 8 byte network order.
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.

20 years agofix a linker problem with openbsd linker, reported by Joerg Lenneis
bfernhomberg [Mon, 24 Nov 2003 17:16:51 +0000 (17:16 +0000)]
fix a linker problem with openbsd linker, reported by Joerg Lenneis

20 years agofix a freeBSD compile problem, C99
bfernhomberg [Mon, 24 Nov 2003 12:13:32 +0000 (12:13 +0000)]
fix a freeBSD compile problem, C99

20 years agoServer signature in getstatus packet was modified after a config reload
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).

20 years agotemporary fix, enable more clients for cnid_metad.
didg [Tue, 18 Nov 2003 12:32:46 +0000 (12:32 +0000)]
temporary fix, enable more clients for cnid_metad.

20 years agoadd a config variable $i for client IP address (without tcp port)
didg [Tue, 18 Nov 2003 12:30:47 +0000 (12:30 +0000)]
add a config variable $i for client IP address (without tcp port)