]> arthur.barton.de Git - netatalk.git/log
netatalk.git
20 years agoDB3 patch check fix by Stefan Muenkner.
srittau [Fri, 6 Jun 2003 19:45:51 +0000 (19:45 +0000)]
DB3 patch check fix by Stefan Muenkner.

20 years agoFix for afpd debugging by Stefan Muenkner.
srittau [Fri, 6 Jun 2003 19:41:48 +0000 (19:41 +0000)]
Fix for afpd debugging by Stefan Muenkner.

20 years agoAdded a missing break statement. Patch by Chris Shiels.
srittau [Fri, 6 Jun 2003 19:35:15 +0000 (19:35 +0000)]
Added a missing break statement. Patch by Chris Shiels.

20 years agoInclude config.h.
srittau [Fri, 6 Jun 2003 18:57:32 +0000 (18:57 +0000)]
Include config.h.

20 years agoRemove unused PAPD_LIBS, replaced AFPD_LIBS by WRAP_LIBS.
srittau [Fri, 6 Jun 2003 18:28:10 +0000 (18:28 +0000)]
Remove unused PAPD_LIBS, replaced AFPD_LIBS by WRAP_LIBS.

20 years agoBuild fix.
srittau [Fri, 6 Jun 2003 17:40:20 +0000 (17:40 +0000)]
Build fix.

20 years agoCFLAGS -> INCLUDES and other build fixes.
srittau [Fri, 6 Jun 2003 17:34:32 +0000 (17:34 +0000)]
CFLAGS -> INCLUDES and other build fixes.

20 years agoFix.
srittau [Fri, 6 Jun 2003 17:00:40 +0000 (17:00 +0000)]
Fix.

20 years agoUse configure mechanism for generating files. Don't distribute generated
srittau [Fri, 6 Jun 2003 16:16:45 +0000 (16:16 +0000)]
Use configure mechanism for generating files. Don't distribute generated
perl scripts.

20 years agoAFP3.x add unix privilege (new volume option upriv), fix double click and utf8
didg [Thu, 5 Jun 2003 09:17:07 +0000 (09:17 +0000)]
AFP3.x add unix privilege (new volume option upriv), fix double click and utf8
name. Björn Fernhomberg and me.

20 years agosmall fixes from Björn Fernhomberg, remove compiler warnings and a malloc
didg [Mon, 2 Jun 2003 06:54:22 +0000 (06:54 +0000)]
small fixes from Björn Fernhomberg, remove compiler warnings and a malloc
check.

20 years agocheck if mtoupath return NULL
didg [Mon, 26 May 2003 12:32:35 +0000 (12:32 +0000)]
check if mtoupath return NULL

20 years agodon't call log function if parameter is null, from Robby Griffin and Sean Bolton
didg [Wed, 21 May 2003 01:32:47 +0000 (01:32 +0000)]
don't call log function if parameter is null, from Robby Griffin and Sean Bolton

20 years agoSERVTEXT wasn't defined patch from Björn Fernhomberg
didg [Tue, 20 May 2003 20:50:49 +0000 (20:50 +0000)]
SERVTEXT wasn't defined patch from Björn Fernhomberg

20 years agoreturn 0xffff if more than 65536 entries in a directory.
didg [Tue, 20 May 2003 14:46:50 +0000 (14:46 +0000)]
return 0xffff if more than 65536 entries in a directory.

20 years agoAFP 3.x add sleep timeout, add disconnect old session. Björn Fernhomberg and me
didg [Fri, 16 May 2003 15:29:25 +0000 (15:29 +0000)]
AFP 3.x add sleep timeout, add disconnect old session. Björn Fernhomberg and me

20 years agoBUGFIX enumerate DID parameter and curdir->d_did are not always the same (when pathna...
didg [Fri, 16 May 2003 14:38:20 +0000 (14:38 +0000)]
BUGFIX enumerate DID parameter and curdir->d_did are not always the same (when pathname parameter is not empty).

20 years agopap: Allow login using gecos name too, fix most obvious buffers overrun... from
didg [Wed, 14 May 2003 15:13:50 +0000 (15:13 +0000)]
pap: Allow login using gecos name too, fix most obvious buffers overrun... from
Björn Fernhomberg.

20 years agobugfix, should work a lot better, from Björn Fernhomberg and me.
didg [Mon, 12 May 2003 13:31:02 +0000 (13:31 +0000)]
bugfix, should work a lot better, from Björn Fernhomberg and me.

20 years agoBUFIX: dirsearch_byname it's cdir not curdir, was a pb with catsearch
didg [Mon, 12 May 2003 09:43:11 +0000 (09:43 +0000)]
BUFIX: dirsearch_byname it's cdir not curdir, was a pb with catsearch

21 years agoif AFPVOL_MTOUUPPER or AFPVOL_MTOULOWER set , mac name and unix name are
didg [Wed, 7 May 2003 13:23:53 +0000 (13:23 +0000)]
if AFPVOL_MTOUUPPER or AFPVOL_MTOULOWER set , mac name and unix name are
different.

21 years agoFixed typo in comment.
srittau [Wed, 7 May 2003 00:13:24 +0000 (00:13 +0000)]
Fixed typo in comment.

21 years agomore stupid if ((a = b()) == C) to (C == (a = b()) changes
didg [Sat, 3 May 2003 20:03:12 +0000 (20:03 +0000)]
more stupid if ((a = b()) == C) to (C == (a = b()) changes

21 years agoAFP 3.1 catsearch fixes from Bjorn Fernhomberg.
didg [Fri, 2 May 2003 18:22:13 +0000 (18:22 +0000)]
AFP 3.1 catsearch fixes from Bjorn Fernhomberg.

21 years agobugfix from Bjorn Fernhomberg
didg [Fri, 2 May 2003 17:53:10 +0000 (17:53 +0000)]
bugfix from Bjorn Fernhomberg

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

21 years agoTry to use the fully-qualified domain name when registering with SLP.
jmarcus [Sun, 9 Feb 2003 20:34:38 +0000 (20:34 +0000)]
Try to use the fully-qualified domain name when registering with SLP.

Submitted by: Alexander Barton <alex@barton.de>

21 years agobugfix: make it compile on system without pread/pread, fix from Alexander Barton
didg [Sun, 9 Feb 2003 15:36:13 +0000 (15:36 +0000)]
bugfix: make it compile on system without pread/pread, fix from Alexander Barton

21 years ago*Don't* use --copy in autogen.sh. Symlinks are the way to go, since this
srittau [Sat, 8 Feb 2003 11:49:42 +0000 (11:49 +0000)]
*Don't* use --copy in autogen.sh. Symlinks are the way to go, since this
assures that ensures that always the latest version of these files are used.
(Also all other projects I know do it that way, too.)

21 years agobugfix: ifdef a transaction related call wen CDB is defined.
didg [Fri, 7 Feb 2003 15:00:55 +0000 (15:00 +0000)]
bugfix: ifdef a transaction related call wen CDB is defined.

21 years agobugfix: close the right fork in renamefile, copy and paste error...
didg [Tue, 4 Feb 2003 18:26:20 +0000 (18:26 +0000)]
bugfix: close the right fork in renamefile, copy and paste error...

21 years agobugfix: renamefile() various bugs with concurrent access, open file, and
didg [Sat, 1 Feb 2003 19:34:55 +0000 (19:34 +0000)]
bugfix: renamefile() various bugs with concurrent access, open file, and
permission, fewer case where the job is half done, eg return an error but the
data fork is moved or the ressource fork is lost.

code cleaning: deletefile() ad_open, ad_lock already deal with read only file

21 years agobugfix: deletecurdir() with concurrent access, dir->d_child != NULL doesn't mean...
didg [Fri, 31 Jan 2003 17:47:06 +0000 (17:47 +0000)]
bugfix: deletecurdir() with concurrent access, dir->d_child != NULL doesn't mean the dir is not empty.

21 years agoa little cleaning
didg [Fri, 31 Jan 2003 17:38:00 +0000 (17:38 +0000)]
a little cleaning

21 years agofor file open in exclusive mode (read/write, deny read, deny write) lock the
didg [Fri, 31 Jan 2003 11:26:35 +0000 (11:26 +0000)]
for file open in exclusive mode (read/write, deny read, deny write) lock the
whole file in afp_openfork.

21 years agocode cleaning: if we can't get a write lock on a file open read only is a fcntl issue...
didg [Thu, 30 Jan 2003 17:32:45 +0000 (17:32 +0000)]
code cleaning: if we can't get a write lock on a file open read only is a fcntl issue, move the logic from file.c to ad_lock.c.

21 years agoRemove DB_AUTO_COMMIT from the DB->open flags. This is not applicable with
jmarcus [Wed, 29 Jan 2003 20:31:45 +0000 (20:31 +0000)]
Remove DB_AUTO_COMMIT from the DB->open flags.  This is not applicable with
CDB.

Reported by: didier <dgautheron@magic.fr>

21 years agoUse three-argument AC_DEFINE and AC_DEFINE_UNQUOTED to fix a deprecation
srittau [Wed, 29 Jan 2003 00:16:22 +0000 (00:16 +0000)]
Use three-argument AC_DEFINE and AC_DEFINE_UNQUOTED to fix a deprecation
warning.

21 years agoRemove references to cnid_dump. I think these accidentally crept in in
jmarcus [Tue, 28 Jan 2003 21:37:13 +0000 (21:37 +0000)]
Remove references to cnid_dump.  I think these accidentally crept in in
Didier's last commit.

21 years ago#include "config.h" -> #include <config.h>
srittau [Tue, 28 Jan 2003 15:30:56 +0000 (15:30 +0000)]
#include "config.h" -> #include <config.h>

21 years ago#undef __USE_MISC before #defining it.
srittau [Tue, 28 Jan 2003 15:19:55 +0000 (15:19 +0000)]
#undef __USE_MISC before #defining it.

21 years agoRemoved unused files.
srittau [Tue, 28 Jan 2003 15:14:31 +0000 (15:14 +0000)]
Removed unused files.

21 years agoRemoved an unused file.
srittau [Tue, 28 Jan 2003 15:09:44 +0000 (15:09 +0000)]
Removed an unused file.

21 years agoFixed Netatalk's version number (pointed out by Olaf).
srittau [Sun, 26 Jan 2003 16:57:50 +0000 (16:57 +0000)]
Fixed Netatalk's version number (pointed out by Olaf).

21 years agoAdded a missing define. (Olaf)
srittau [Sun, 26 Jan 2003 16:54:46 +0000 (16:54 +0000)]
Added a missing define. (Olaf)