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

20 years agobugfixes: last byte was overwritten with 0x0 in convert_string, increase inbuf on...
bfernhomberg [Fri, 12 Sep 2003 19:46:37 +0000 (19:46 +0000)]
bugfixes: last byte was overwritten with 0x0 in convert_string, increase inbuf on cap_encode

20 years ago#ifdef debug msg, you need -enable-debug1 if you want them.
didg [Fri, 12 Sep 2003 18:44:16 +0000 (18:44 +0000)]
#ifdef debug msg, you need -enable-debug1 if you want them.

20 years agoadd FPChangePassword AFP3 support
bfernhomberg [Fri, 12 Sep 2003 06:53:18 +0000 (06:53 +0000)]
add FPChangePassword AFP3 support

20 years agominor cleanup, remove a // comment
bfernhomberg [Fri, 12 Sep 2003 00:15:30 +0000 (00:15 +0000)]
minor cleanup, remove a // comment

20 years agodocument new configuration parameters
bfernhomberg [Fri, 12 Sep 2003 00:00:01 +0000 (00:00 +0000)]
document new configuration parameters

20 years agoallow login using extended characters in usernamei, add obj parameter to uam_getname...
bfernhomberg [Thu, 11 Sep 2003 23:49:30 +0000 (23:49 +0000)]
allow login using extended characters in usernamei, add obj parameter to uam_getname function

20 years agocharset conversion changes
bfernhomberg [Thu, 11 Sep 2003 23:36:44 +0000 (23:36 +0000)]
charset conversion changes

20 years agoremove unused functions
bfernhomberg [Thu, 11 Sep 2003 23:33:47 +0000 (23:33 +0000)]
remove unused functions

20 years agominor cleanup
bfernhomberg [Thu, 11 Sep 2003 23:31:45 +0000 (23:31 +0000)]
minor cleanup

20 years ago- remove unused/obsolete functions
bfernhomberg [Thu, 11 Sep 2003 23:29:49 +0000 (23:29 +0000)]
- remove unused/obsolete functions
- make convert_string and convert_string_allocate do pre/decomposition
- convert_string functions terminate output
- as we always convert via UCS2 for composition stuff, remove all other iconv handles
- added cap_charset parameter to convert_charset, used for one pass cap en/decoding

20 years agoremove obsolete function
bfernhomberg [Thu, 11 Sep 2003 23:21:14 +0000 (23:21 +0000)]
remove obsolete function

20 years agoremove old files.
didg [Tue, 9 Sep 2003 18:30:45 +0000 (18:30 +0000)]
remove old files.

20 years agoFix for linux quotas, this needs testing on different kernel versions
bfernhomberg [Tue, 9 Sep 2003 18:18:53 +0000 (18:18 +0000)]
Fix for linux quotas, this needs testing on different kernel versions

20 years agobig merge, missing files.
didg [Tue, 9 Sep 2003 16:51:27 +0000 (16:51 +0000)]
big merge, missing files.

20 years agobig merge for db frontend and unicode.
didg [Tue, 9 Sep 2003 16:42:19 +0000 (16:42 +0000)]
big merge for db frontend and unicode.

20 years agochanges from HEAD
didg [Wed, 3 Sep 2003 20:40:49 +0000 (20:40 +0000)]
changes from HEAD

20 years agobugfix :afp_write return the right dsi packet size for 0 byte request
didg [Sun, 24 Aug 2003 14:00:43 +0000 (14:00 +0000)]
bugfix :afp_write return the right dsi packet size for 0 byte request

20 years agoMFH sleep and unix priv functionalities.
didg [Mon, 21 Jul 2003 05:50:53 +0000 (05:50 +0000)]
MFH sleep and unix priv functionalities.

20 years agoAdd unicode to Mac OS code page (internal or with iconv) Björn Fernhomberg and
didg [Mon, 23 Jun 2003 10:25:07 +0000 (10:25 +0000)]
Add unicode to Mac OS code page (internal or with iconv) Björn Fernhomberg and
me. Use a temporary new volume attribute "encoding:"

21 years ago*** empty log message ***
didg [Thu, 5 Jun 2003 08:48:18 +0000 (08:48 +0000)]
*** empty log message ***

21 years agosendfile seems to block signal, it's a problem with afp_copyfile over tcp, if it...
didg [Wed, 28 May 2003 05:04:53 +0000 (05:04 +0000)]
sendfile seems to block signal, it's a problem with afp_copyfile over tcp, if it takes
more than 2mn clients are disconnected. Add a new configure option
--enable-sendfile, disable by default.

21 years agobetter handling of errors in afp_openvol
didg [Wed, 28 May 2003 04:42:46 +0000 (04:42 +0000)]
better handling of errors in afp_openvol

21 years agoadd missing # in comments
didg [Mon, 26 May 2003 23:18:25 +0000 (23:18 +0000)]
add missing # in comments

21 years agoadd a volume option nostat, help with preexec and automount volume.
didg [Mon, 26 May 2003 17:02:47 +0000 (17:02 +0000)]
add a volume option nostat, help with preexec and automount volume.

21 years agoresolve conflicts between reload and preexec changes...
didg [Mon, 26 May 2003 11:41:33 +0000 (11:41 +0000)]
resolve conflicts between reload and preexec changes...

21 years agopreexec forget new file
didg [Mon, 26 May 2003 11:34:37 +0000 (11:34 +0000)]
preexec forget new file

21 years agochange SIGHUP and SIGUSR1, SIGHUP reload config files, Volumes file are reloaded...
didg [Mon, 26 May 2003 11:17:25 +0000 (11:17 +0000)]
change SIGHUP and SIGUSR1, SIGHUP reload config files, Volumes file are reloaded too if changed on get_srvparms. SIGUSR1 old SIGHUP semantic.

21 years agoAdd a Samba like preexec functionality.
didg [Mon, 26 May 2003 11:04:35 +0000 (11:04 +0000)]
Add a Samba like preexec functionality.

21 years agoMFH if offspring count > 65536
didg [Tue, 20 May 2003 14:49:18 +0000 (14:49 +0000)]
MFH if offspring count > 65536

21 years agofrom HEAD
didg [Mon, 12 May 2003 22:02:08 +0000 (22:02 +0000)]
from HEAD

21 years agobackport from head
didg [Mon, 12 May 2003 14:27:15 +0000 (14:27 +0000)]
backport from head

21 years agobackport from HEAD
didg [Sat, 10 May 2003 10:33:16 +0000 (10:33 +0000)]
backport from HEAD

21 years agoreput a hash method for cnid, work only with *one* device, it's doesn't used
didg [Mon, 28 Apr 2003 10:12:53 +0000 (10:12 +0000)]
reput a hash method for cnid, work only with *one* device, it's doesn't used
the device number.

21 years agoAdd a README for afp3
didg [Mon, 28 Apr 2003 10:09:30 +0000 (10:09 +0000)]
Add a README for afp3

21 years agoafp_createfile return VLOCK rather than PARAM error if the volume is mounted read...
didg [Sat, 26 Apr 2003 16:53:44 +0000 (16:53 +0000)]
afp_createfile return VLOCK rather than PARAM error if the volume is mounted read only.

21 years agoAFP3 return the right error in mapname when asked for unicode with a pre3.0 version.
didg [Thu, 24 Apr 2003 17:05:38 +0000 (17:05 +0000)]
AFP3 return the right error in mapname when asked for unicode with a pre3.0 version.

21 years agocheck against the right value in FPSetVolParms.
didg [Tue, 22 Apr 2003 04:19:55 +0000 (04:19 +0000)]
check against the right value in FPSetVolParms.

21 years agoAllow DirectoryNames to be computed properly when fqdn includes a port specification.
samnoble [Mon, 21 Apr 2003 22:39:40 +0000 (22:39 +0000)]
Allow DirectoryNames to be computed properly when fqdn includes a port specification.

21 years agoDon't advertise a fqdn in the DsiGetStatus reply if tcp is disabled.
samnoble [Mon, 21 Apr 2003 21:58:41 +0000 (21:58 +0000)]
Don't advertise a fqdn in the DsiGetStatus reply if tcp is disabled.

21 years agobetter error code for calls on a not existing file
didg [Sun, 20 Apr 2003 06:53:40 +0000 (06:53 +0000)]
better error code for calls on a not existing file

21 years agoAFP3 with UTF8 ckeck name parameter is not too big.
didg [Sun, 20 Apr 2003 06:13:40 +0000 (06:13 +0000)]
AFP3 with UTF8 ckeck name parameter is not too big.

21 years agofix from Bjorn Fernhomberg.
didg [Fri, 18 Apr 2003 11:38:31 +0000 (11:38 +0000)]
fix from Bjorn Fernhomberg.

21 years agok5service and k5realm options for Kerberos 5 UAM
samnoble [Wed, 16 Apr 2003 22:50:00 +0000 (22:50 +0000)]
k5service and k5realm options for Kerberos 5 UAM

21 years agoThe following were necessary in order to implement a Kerbers 5 UAM compatible
samnoble [Wed, 16 Apr 2003 22:45:08 +0000 (22:45 +0000)]
The following were necessary in order to implement a Kerbers 5 UAM compatible
with what Apple ships in OS X 10.2.

o support for specifying k5service and k5realm in afpd.conf
o support for UTF8ServerName and DirectoryServicesNames in GetStatus reply
o uam support for querying the server's k5service setting

21 years agobugfix: cache handling when inodes are reused.
didg [Wed, 16 Apr 2003 06:55:44 +0000 (06:55 +0000)]
bugfix: cache handling when inodes are reused.

21 years agobugfix: movecwd() if parent directory is deleted by someone else
didg [Tue, 15 Apr 2003 07:18:45 +0000 (07:18 +0000)]
bugfix: movecwd() if parent directory is deleted by someone else

21 years agoadd a macro for large file support and autoconf < 2.54 , from wxWindows
didg [Mon, 14 Apr 2003 18:22:02 +0000 (18:22 +0000)]
add a macro for large file support and autoconf < 2.54 , from wxWindows

21 years agoAFP 3.x double check in loginExt that large file support is enabled (size off_t
didg [Mon, 14 Apr 2003 18:11:06 +0000 (18:11 +0000)]
AFP 3.x double check in loginExt that large file support is enabled (size off_t
== 8).

21 years agoremove a linear dir search, we already have the info.
didg [Mon, 14 Apr 2003 18:03:48 +0000 (18:03 +0000)]
remove a linear dir search, we already have the info.

21 years agoBUGFIX: was trashing CFLAGS
didg [Fri, 11 Apr 2003 02:04:20 +0000 (02:04 +0000)]
BUGFIX: was trashing CFLAGS

21 years agoopen the file read-only if errno is EROFS.
didg [Thu, 10 Apr 2003 22:58:42 +0000 (22:58 +0000)]
open the file read-only if errno is EROFS.

21 years agofile descriptor leak with noadouble. Was only in HEAD.
didg [Wed, 9 Apr 2003 06:06:34 +0000 (06:06 +0000)]
file descriptor leak with noadouble. Was only in HEAD.

21 years agoUTF8 is defined but not mangled
didg [Wed, 9 Apr 2003 06:05:24 +0000 (06:05 +0000)]
UTF8 is defined but not mangled

21 years agoopenvol() add ifdef CNID_DB
didg [Wed, 19 Mar 2003 00:13:23 +0000 (00:13 +0000)]
openvol() add ifdef CNID_DB

21 years agoRemoved unused static arrays tokenmulti and tokenmultitab.
srittau [Tue, 18 Mar 2003 23:34:51 +0000 (23:34 +0000)]
Removed unused static arrays tokenmulti and tokenmultitab.

21 years agoparseline(): Increase buffer size instead of shrinking it, in case the
srittau [Tue, 18 Mar 2003 23:32:17 +0000 (23:32 +0000)]
parseline(): Increase buffer size instead of shrinking it, in case the
buffer is too small. Increased buffer size from 1024 to 2048. Patch by
Dan Wilga.

21 years agodirlookup() utf8 support
didg [Tue, 18 Mar 2003 00:20:27 +0000 (00:20 +0000)]
dirlookup() utf8 support
getdirparams() dot files and noadouble
cname() and afp_createdir() concurrent access (when a deleted dir is the
current work directory).

21 years agoerror code for dirlookup, cname.
didg [Sat, 15 Mar 2003 01:34:35 +0000 (01:34 +0000)]
error code for dirlookup, cname.

21 years agosupport for function 0x7a
didg [Wed, 12 Mar 2003 15:07:00 +0000 (15:07 +0000)]
support for function 0x7a
add AFP3 login_ext for guest account
From Björn Fernhomberg, slighty modified by me

21 years agobugfix: size error in DNS name handling
didg [Tue, 11 Mar 2003 09:35:40 +0000 (09:35 +0000)]
bugfix: size error in DNS name handling

21 years agocache mac name too.
didg [Sun, 9 Mar 2003 21:14:19 +0000 (21:14 +0000)]
cache mac name too.

21 years agounsigned / signed fix
didg [Sun, 9 Mar 2003 20:37:27 +0000 (20:37 +0000)]
unsigned / signed fix

21 years agoadd utf8 support for AFP3
didg [Sun, 9 Mar 2003 19:55:33 +0000 (19:55 +0000)]
add utf8 support for AFP3

21 years agomacros for iconv() function, from Björn Fernhomberg cups patch.
didg [Sun, 9 Mar 2003 17:33:33 +0000 (17:33 +0000)]
macros for iconv() function, from Björn Fernhomberg cups patch.

21 years agocnid_add: bugfix use a cursor for atomic operation.
didg [Fri, 7 Mar 2003 14:51:50 +0000 (14:51 +0000)]
cnid_add: bugfix use a cursor for atomic operation.
cnid_open: clean a little cnid_open()

21 years agodon't set volume FILEID attribute if the db is NULL.
didg [Wed, 5 Mar 2003 09:41:34 +0000 (09:41 +0000)]
don't set volume FILEID attribute if the db is NULL.

21 years agoRemove the non-existent README file from EXTRA_DIST.
jmarcus [Tue, 4 Mar 2003 17:37:42 +0000 (17:37 +0000)]
Remove the non-existent README file from EXTRA_DIST.

21 years agoMiscellaneous updates, spelling streamlining. (e.g. netatalk -> Netatalk,
srittau [Mon, 24 Feb 2003 23:33:14 +0000 (23:33 +0000)]
Miscellaneous updates, spelling streamlining. (e.g. netatalk -> Netatalk,
mac -> Mac, OS X -> MacOS X, etc.), and formatting streamlining. (URLs are
now indented etc.)

21 years agofix a typo DBD_LIBS --> BDB_LIBS
didg [Mon, 24 Feb 2003 10:49:57 +0000 (10:49 +0000)]
fix a typo DBD_LIBS --> BDB_LIBS

21 years agoDo not include /usr/include and /usr/lib in the header and library search
jmarcus [Sun, 23 Feb 2003 16:09:28 +0000 (16:09 +0000)]
Do not include /usr/include and /usr/lib in the header and library search
paths as gcc 3.2 doesn't like this.

Submitted by: Bjoern Fernhomberg <lists@fernhomberg.de>

21 years agoReplace filterdir by libexecdir.
srittau [Sun, 23 Feb 2003 03:19:55 +0000 (03:19 +0000)]
Replace filterdir by libexecdir.

21 years agoetc/filters -> libexec
srittau [Sun, 23 Feb 2003 03:16:34 +0000 (03:16 +0000)]
etc/filters -> libexec

Anyways, this script badly needs auto-generating through autoconf.

21 years agoRevert previous mkstemp() commit. While it quieted the compiler, it
jmarcus [Wed, 19 Feb 2003 18:59:52 +0000 (18:59 +0000)]
Revert previous mkstemp() commit.  While it quieted the compiler, it
changed the essence of functionality, and broke rename.

Pointed out by: didier <dgautheron@magic.fr>

21 years agobugfix: better check against corrupted AppleDouble headers, not sure it doesn't
didg [Mon, 17 Feb 2003 06:26:53 +0000 (06:26 +0000)]
bugfix: better check against corrupted AppleDouble headers, not sure it doesn't
the right thing but at least it doesn't dump core.

21 years agoMake sure papd is linked with pam if pam support is requested. This should
jmarcus [Mon, 17 Feb 2003 03:10:55 +0000 (03:10 +0000)]
Make sure papd is linked with pam if pam support is requested.  This should
fix a problem with PSSP support.

Submitted by: Björn Fernhomberg <bjoern@fernhomberg.de>

21 years agoStupid, stupid typo. Now that we have BDB_BIN, leave off the bin path
jmarcus [Mon, 17 Feb 2003 02:32:45 +0000 (02:32 +0000)]
Stupid, stupid typo.  Now that we have BDB_BIN, leave off the bin path
component.

Pointed out by: Björn Fernhomberg <bjoern@fernhomberg.de>

21 years agoUse mkstemp() instead of mktemp(). This will avoid a compiler warning
jmarcus [Mon, 17 Feb 2003 02:12:04 +0000 (02:12 +0000)]
Use mkstemp() instead of mktemp().  This will avoid a compiler warning
even though we never actually opened the temp file.

21 years agoCall ./configure automatically.
srittau [Mon, 17 Feb 2003 02:09:28 +0000 (02:09 +0000)]
Call ./configure automatically.

21 years agoWarning fixes, header cleanup.
srittau [Mon, 17 Feb 2003 02:04:59 +0000 (02:04 +0000)]
Warning fixes, header cleanup.

21 years agoRemoved "dummy" variable.
srittau [Mon, 17 Feb 2003 02:03:12 +0000 (02:03 +0000)]
Removed "dummy" variable.

21 years agoRemoved "dummy" variables.
srittau [Mon, 17 Feb 2003 02:02:25 +0000 (02:02 +0000)]
Removed "dummy" variables.

21 years agoRemoved "dummy" global variables. (-Wall cleanliness)
srittau [Mon, 17 Feb 2003 01:51:07 +0000 (01:51 +0000)]
Removed "dummy" global variables. (-Wall cleanliness)

21 years ago#include <string.h>
srittau [Mon, 17 Feb 2003 01:35:57 +0000 (01:35 +0000)]
#include <string.h>

21 years ago-Wall fix.
srittau [Mon, 17 Feb 2003 01:34:35 +0000 (01:34 +0000)]
-Wall fix.

21 years agoRemoved unneed sccsid string. (-Wall warning)
srittau [Mon, 17 Feb 2003 01:33:01 +0000 (01:33 +0000)]
Removed unneed sccsid string. (-Wall warning)

21 years agoInclude string.h.
srittau [Mon, 17 Feb 2003 01:31:51 +0000 (01:31 +0000)]
Include string.h.

21 years agodesktop.c:
didg [Sun, 16 Feb 2003 12:35:04 +0000 (12:35 +0000)]
desktop.c:
more if ((A = B) == C) to (C == (A = B))

directory.c:
deletecurdir() move cnid_delete inside opendir() closedir()

fork.c:
getmetada() use struct path in parameter

afp_openfork() we need to keep track if we (re)open the ressource fork.
it was a problem if:
- there's no ressource fork
- the data fork is open read write
- the ressource fork is open read write
- the data fork is closed.
With a Mac it was an issue with noadouble and no .AppleDouble folder,
otherwise the ressource fork is always created before opening the data fork.
(if it can't, because permission on .AppleDouble, then the RF can't be open
read write).

enumerate.c:
more if ((A = B) == C) to (C == (A = B))
adddir() free allocated memory

file.c:
use the new getmetada() format

copyfile() use ad_open, with the new ADFLAGS_NOHF attrib., rather than
open syscall.

deletefile() move cnid_delete inside open() close()

afp_creatfile() if there's an error in ressource fork creation then delete
the data fork if any. It's the reason for ADFLAGS_NOHF, we need to be sure
that the data fork was created by us, ie we have a file descriptor for it.

filedir.c:
remove cnid_delete(), now in deletefile()

adouble.h:
add a new attrib. ADFLAGS_NOHF mean don't return an error if there's
no ressource fork.
Helper for using ad_open in copyfile() and in afp_createfile()

cnid.h:
add CNID_ERR_CLOSE error, not used for now.

ad_lock.c:
ad_fcntl_lock() a previous fix a typo =/==, and now we have a
reference used after freed in realloc.

hf2off() df2off() change int to off_t

ad_open.c:
ad_open() ADFLAGS_NOHF attrib

21 years agoMake sure the BDB bin directory is properly set.
jmarcus [Sun, 16 Feb 2003 02:13:05 +0000 (02:13 +0000)]
Make sure the BDB bin directory is properly set.

Submitted by: Olaf Hering <olh@suse.de>

21 years agoUpdated NEWS file in HEAD from latest version from 1.6 branch.
srittau [Fri, 14 Feb 2003 16:56:10 +0000 (16:56 +0000)]
Updated NEWS file in HEAD from latest version from 1.6 branch.

21 years agoadd AFP3.x login, patch from Burkhard Schmidt
didg [Tue, 11 Feb 2003 16:41:56 +0000 (16:41 +0000)]
add AFP3.x login, patch from Burkhard Schmidt