]> arthur.barton.de Git - netatalk.git/log
netatalk.git
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)

20 years agoallow extended characters in volume names
bfernhomberg [Sat, 15 Nov 2003 00:00:30 +0000 (00:00 +0000)]
allow extended characters in volume names

20 years agosome unicode fixes
bfernhomberg [Fri, 14 Nov 2003 23:41:04 +0000 (23:41 +0000)]
some unicode fixes

20 years agofix a small leak in UAM handling.
didg [Fri, 14 Nov 2003 14:37:37 +0000 (14:37 +0000)]
fix a small leak in UAM handling.

20 years agounblock signals in children (cf previous commit for RH9 )
didg [Thu, 13 Nov 2003 15:39:02 +0000 (15:39 +0000)]
unblock signals in children (cf previous commit for RH9 )

20 years agofix a small leak
didg [Thu, 13 Nov 2003 15:29:01 +0000 (15:29 +0000)]
fix a small leak

20 years agoserver messages were still broken :-(
bfernhomberg [Thu, 13 Nov 2003 00:19:45 +0000 (00:19 +0000)]
server messages were still broken :-(

20 years agovalue was used after freed
didg [Wed, 12 Nov 2003 16:00:08 +0000 (16:00 +0000)]
value was used after freed

20 years agobugfix: rbuflen was not set correctly with utf8 messages
bfernhomberg [Tue, 11 Nov 2003 12:16:48 +0000 (12:16 +0000)]
bugfix: rbuflen was not set correctly with utf8 messages

20 years agoRH9 and signal handlers deadlock fix.
didg [Tue, 11 Nov 2003 08:48:32 +0000 (08:48 +0000)]
RH9 and signal handlers deadlock fix.

20 years agoremove some debug noise
bfernhomberg [Mon, 10 Nov 2003 00:32:04 +0000 (00:32 +0000)]
remove some debug noise

20 years agounicode endian fixes
bfernhomberg [Thu, 6 Nov 2003 09:23:35 +0000 (09:23 +0000)]
unicode endian fixes

20 years agoGet transaction support to work again against the new DB->associate() and
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.

20 years agoPanther FPGetSrvMsg fix, UTF8 strings have a 2 byte length
bfernhomberg [Mon, 3 Nov 2003 20:51:48 +0000 (20:51 +0000)]
Panther FPGetSrvMsg fix, UTF8 strings have a 2 byte length

20 years agofix demangling for pre OSX clients, after cnid_resolve id contains the DID
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

20 years agofix some OSX compile issues, reported by Thomas Kaiser
bfernhomberg [Sun, 2 Nov 2003 19:29:54 +0000 (19:29 +0000)]
fix some OSX compile issues, reported by Thomas Kaiser

20 years agochange AC_NETATALK_CNID to AC_NETATALK_CNID[berkeley required, berkeley not required]
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]

20 years agoFix endianess issues with unicode
bfernhomberg [Sat, 1 Nov 2003 07:37:56 +0000 (07:37 +0000)]
Fix endianess issues with unicode

20 years agofix OSX build issues
bfernhomberg [Sat, 1 Nov 2003 02:38:09 +0000 (02:38 +0000)]
fix OSX build issues

20 years agobugfix: check ext != NULL before strncat
bfernhomberg [Sat, 1 Nov 2003 02:14:56 +0000 (02:14 +0000)]
bugfix: check ext != NULL before strncat

20 years agofix most solaris compile issues, flock is #ifdef as solaris has no flock implementati...
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.

20 years agorevert the (char*) casts, we want the const warnings to stay
bfernhomberg [Thu, 30 Oct 2003 09:58:43 +0000 (09:58 +0000)]
revert the (char*) casts, we want the const warnings to stay

20 years agofix a solaris compiles issue, warning fixes
bfernhomberg [Thu, 30 Oct 2003 09:38:46 +0000 (09:38 +0000)]
fix a solaris compiles issue, warning fixes

20 years agoOpenBSD compile fix: include utime.h after sys/types.h
bfernhomberg [Thu, 30 Oct 2003 07:11:30 +0000 (07:11 +0000)]
OpenBSD compile fix: include utime.h after sys/types.h

20 years agocrypt requires _XOPEN_SOURCE 500 on netbsd
bfernhomberg [Thu, 30 Oct 2003 06:43:44 +0000 (06:43 +0000)]
crypt requires _XOPEN_SOURCE 500 on netbsd

20 years agofix solaris compile issues, warning fixes
bfernhomberg [Thu, 30 Oct 2003 05:57:43 +0000 (05:57 +0000)]
fix solaris compile issues, warning fixes

20 years agofix initscripts install on netbsd, sf patch 762584
bfernhomberg [Thu, 30 Oct 2003 05:02:53 +0000 (05:02 +0000)]
fix initscripts install on netbsd, sf patch 762584

20 years agoadd missed LIST_ :-(
bfernhomberg [Thu, 30 Oct 2003 04:53:01 +0000 (04:53 +0000)]
add missed LIST_ :-(

20 years agoSRVLOC url is a server attribute not a global one.
didg [Thu, 30 Oct 2003 03:48:12 +0000 (03:48 +0000)]
SRVLOC url is a server attribute not a global one.

20 years agoremove bogus #ifdef AFP3.x, we always need unicode.h and we don't need iconv.h
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

20 years agoLIST_HEAD collides with netbsd sys/queue.h, rename defines in atalk/list.h to ATALK_LIST_
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_

20 years agofix solaris compile issue
bfernhomberg [Thu, 30 Oct 2003 01:17:26 +0000 (01:17 +0000)]
fix solaris compile issue

20 years agoadd expired password handling. Thanks go to Leland Wallace for giving the right pointers.
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.

20 years agoconfigure cleanup, some sync with HEAD, autoenable PAM, shadow and srvloc if found...
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

20 years agodon't log connect close sequence
didg [Tue, 28 Oct 2003 07:24:02 +0000 (07:24 +0000)]
don't log connect close sequence

20 years agosetting UTF8 name in FPSetFileParms is an error.
didg [Sun, 26 Oct 2003 20:13:02 +0000 (20:13 +0000)]
setting UTF8 name in FPSetFileParms is an error.

20 years agoconfigure option for fcntl locking
didg [Sun, 26 Oct 2003 10:33:37 +0000 (10:33 +0000)]
configure option for fcntl locking

20 years agorevert previous bogus change...
didg [Thu, 23 Oct 2003 04:29:16 +0000 (04:29 +0000)]
revert previous bogus change...

20 years agoonly link Berkeley DB when needed.
didg [Tue, 21 Oct 2003 17:47:30 +0000 (17:47 +0000)]
only link Berkeley DB when needed.

20 years agocode cleaning (header) from Bjorn
didg [Tue, 21 Oct 2003 16:23:54 +0000 (16:23 +0000)]
code cleaning (header) from Bjorn

20 years agoBugfix in copyfile(), AD attributes of copied wile were overwritten with default...
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.

20 years agolinux broken sendfile: set source fd to offset if sendfile fails so we can continue...
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

20 years agosendfile for LARGE_FILE. use sys_ftruncate in ad_open too, temporary fix with
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.

20 years agocheck extensions on demangling
bfernhomberg [Tue, 14 Oct 2003 00:28:26 +0000 (00:28 +0000)]
check extensions on demangling

20 years agolinux with vfat fs sends SIGXFSZ even for files with O_LARGEFILE. There's
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.

20 years agofix for the case when ftruncate doesn't work with new size > current size
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

20 years agofix to a fix :(
didg [Sun, 12 Oct 2003 16:25:19 +0000 (16:25 +0000)]
fix to a fix :(

20 years agofix a typo signals were always blocked in cnid code
didg [Sun, 12 Oct 2003 15:13:29 +0000 (15:13 +0000)]
fix a typo signals were always blocked in cnid code

20 years agouse writev in reply.
didg [Sun, 12 Oct 2003 13:50:16 +0000 (13:50 +0000)]
use writev in reply.

20 years agoif id < 17 it's not a valid mangled filename.
didg [Sun, 12 Oct 2003 02:11:28 +0000 (02:11 +0000)]
if id < 17 it's not a valid mangled filename.

20 years agofix errors with Berkeley DB 4.0.x
didg [Mon, 6 Oct 2003 15:17:08 +0000 (15:17 +0000)]
fix errors with Berkeley DB 4.0.x

20 years agodeal with hostname for -h parameter.
didg [Wed, 1 Oct 2003 11:07:50 +0000 (11:07 +0000)]
deal with hostname for -h parameter.

20 years agoifdef code not used if no DEBUG1
didg [Tue, 30 Sep 2003 14:52:45 +0000 (14:52 +0000)]
ifdef code not used if no DEBUG1

20 years agotry harder to avoid duplicate volumes creation date.
didg [Tue, 30 Sep 2003 12:24:49 +0000 (12:24 +0000)]
try harder to avoid duplicate volumes creation date.

20 years agomangling fixes
didg [Sun, 28 Sep 2003 13:58:55 +0000 (13:58 +0000)]
mangling fixes

20 years agocreate and/or hide Network Trah Folder and Temporary Items on volume open
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

20 years agoadd utf8 servername, always specify AFPSRVRINFO_SRVRDIR
bfernhomberg [Sat, 27 Sep 2003 02:55:44 +0000 (02:55 +0000)]
add utf8 servername, always specify AFPSRVRINFO_SRVRDIR

20 years agoremove AppleVolumes.default, we now use AppleVolumes.default.tmp
bfernhomberg [Fri, 26 Sep 2003 23:58:10 +0000 (23:58 +0000)]
remove AppleVolumes.default, we now use AppleVolumes.default.tmp

20 years agodocument the cnidscheme: parameter
bfernhomberg [Fri, 26 Sep 2003 23:54:29 +0000 (23:54 +0000)]
document the cnidscheme: parameter

20 years agodocument the -cnidserver option
bfernhomberg [Fri, 26 Sep 2003 23:47:25 +0000 (23:47 +0000)]
document the -cnidserver option

20 years agocheck whether default CNID scheme has been activated
bfernhomberg [Fri, 26 Sep 2003 23:46:21 +0000 (23:46 +0000)]
check whether default CNID scheme has been activated

20 years agoforget to change afp_disconnect after afp_getsession
didg [Thu, 25 Sep 2003 12:54:45 +0000 (12:54 +0000)]
forget to change afp_disconnect after afp_getsession

20 years agomaybe stupid but use the OS X numbering for volumes (1,2,3) rather than (0,
didg [Thu, 25 Sep 2003 12:23:53 +0000 (12:23 +0000)]
maybe stupid but use the OS X numbering for volumes (1,2,3) rather than (0,
256, 512) and use the same token len for session (8 rather than 4).

20 years agolinux xfs quota compile fix
bfernhomberg [Wed, 24 Sep 2003 11:29:13 +0000 (11:29 +0000)]
linux xfs quota compile fix

20 years agogrrr, ifdef 0 is a bad idea ...
bfernhomberg [Wed, 24 Sep 2003 09:23:21 +0000 (09:23 +0000)]
grrr, ifdef 0 is a bad idea ...

20 years agodisable xfs quota code until I get this figured out
bfernhomberg [Wed, 24 Sep 2003 09:15:19 +0000 (09:15 +0000)]
disable xfs quota code until I get this figured out

20 years agoremove nls specific stuff
bfernhomberg [Mon, 22 Sep 2003 07:24:52 +0000 (07:24 +0000)]
remove nls specific stuff

20 years agoadd another missing header
bfernhomberg [Mon, 22 Sep 2003 07:21:34 +0000 (07:21 +0000)]
add another missing header

20 years agomake sure we return the right length in pre/decompose
bfernhomberg [Mon, 22 Sep 2003 05:15:50 +0000 (05:15 +0000)]
make sure we return the right length in pre/decompose

20 years agoadd a default timestamp for db scheme without one.
didg [Sun, 21 Sep 2003 09:25:17 +0000 (09:25 +0000)]
add a default timestamp for db scheme without one.

20 years agoTry to fix compile errors reported with redhat 7
bfernhomberg [Sat, 20 Sep 2003 03:02:56 +0000 (03:02 +0000)]
Try to fix compile errors reported with redhat 7

20 years agoonly compile cnid_metad and cnid_dbd daemons if --with-cnid-dbd-* has been configured
bfernhomberg [Sat, 20 Sep 2003 02:54:51 +0000 (02:54 +0000)]
only compile cnid_metad and cnid_dbd daemons if --with-cnid-dbd-* has been configured

20 years agoTry to fix compile errors reported with redhat 7
bfernhomberg [Sat, 20 Sep 2003 02:47:21 +0000 (02:47 +0000)]
Try to fix compile errors reported with redhat 7

20 years agomore checks when we have a mangled like name.
didg [Wed, 17 Sep 2003 07:51:28 +0000 (07:51 +0000)]
more checks when we have a mangled like name.

20 years agoMake compilable with Berkeley DB 3.x. \
rlewczuk [Tue, 16 Sep 2003 12:21:44 +0000 (12:21 +0000)]
Make compilable with Berkeley DB 3.x. \
Dunno whether it is a correct approach.

20 years agoMake compilable with Berkeley DB 3.x.
rlewczuk [Tue, 16 Sep 2003 12:20:37 +0000 (12:20 +0000)]
Make compilable with Berkeley DB 3.x.
Dunno if it is a correct approach..

20 years agobuild system bugfix
rlewczuk [Tue, 16 Sep 2003 12:15:52 +0000 (12:15 +0000)]
build system bugfix

20 years agoremove the '_' escape stuff --we want to be compatible to OSX-- and fix a stupid...
bfernhomberg [Sun, 14 Sep 2003 22:40:59 +0000 (22:40 +0000)]
remove the '_' escape stuff --we want to be compatible to OSX-- and fix a stupid bug checking only the first byte of a UCS2 char (pointed out by didier, thanks)

20 years agoremove old codepage/nls support
bfernhomberg [Sat, 13 Sep 2003 02:46:27 +0000 (02:46 +0000)]
remove old codepage/nls support

20 years agofix some roundtrip problems
bfernhomberg [Fri, 12 Sep 2003 22:31:17 +0000 (22:31 +0000)]
fix some roundtrip problems

20 years agomake push/pull ascii functions return EILSEQ for extended characters
bfernhomberg [Fri, 12 Sep 2003 19:48:07 +0000 (19:48 +0000)]
make push/pull ascii functions return EILSEQ for extended characters