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

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.