jmarcus [Sun, 2 Jun 2002 22:34:36 +0000 (22:34 +0000)]
Allow mangling to work correctly when moving and copying files. The
downside of this is that the mangling database currently has no way to
purge itself. I'll work on that next.
jmarcus [Thu, 30 May 2002 06:41:16 +0000 (06:41 +0000)]
First round of mangling debugging. This should actually work. I ran into
some problems with read-only files, but that may be a product of 1.6cvs, and
not necessarily my code.
jmarcus [Wed, 29 May 2002 18:02:57 +0000 (18:02 +0000)]
Add support for long filename mangling. Basically, tis code will take
filenames greater than MACFILELEN characters, and mangle them much like
DOS does. The mangled filenames are stored in a Berkeley database per
volume.
NOTE: This code is _not_ tested, and may cause data loss. Use at your own
risk. To enable it, configure with --with-mangling.
rufustfirefly [Thu, 23 May 2002 15:58:55 +0000 (15:58 +0000)]
patch #547180 for unprintable characters in psf. Previous behavior was to simply die, now prints a question mark. (Jason R. McVetta <jmcvetta@users.sourceforge.net>)
sibaz [Tue, 14 May 2002 18:47:06 +0000 (18:47 +0000)]
surrounded new function body with the #ifdef that turns it off when --without-logfile is set. Looking at it though this whole file should be turned off when --without-logfile is set, and the LOG macro should just ignore the unused parameters and send a ... with all the vprintf parameters to syslog, thus rendering the code that's left, unneeded
jmarcus [Mon, 13 May 2002 04:59:36 +0000 (04:59 +0000)]
A big patch to correct many afpd problems. For one, the trash will
work in multi-user environments. This should also correct the
read-write/read-only lock issues.
This is a bug patch, and should be thoroughly tested.
morgana [Tue, 7 May 2002 04:55:26 +0000 (04:55 +0000)]
Updates from Patrick Powell (papowell@astart.com)
- made debug a command line option (-d) rather than a compile time option
- updated usage message with all available options
- print out status in postscript (%%[ .. ]%%) format
- print status to stderr if statusfile not specified
| Here's a patch correcting the problem with Adobe Illustrator.
| However this seems to be a bigger problem with opening forks
| in RO/RW mode. This patch may introduce some other problems
| with forks: RO forks may be writable in some circumstances,
| however I'm not familiar enough with netatalk internals, so I cannot
| tell definitely what else can I break with this patch.
Hardcode LD=ld to make it link in Solaris 8 with Sun's C Compiler. If this breaks other platforms, we'll need to figure out how to autodetect or just make it a manual option set in the Makefile.
added some Log warnings to show log_setup works. Also fixed a bug where null values were passed to the function. Also altered the code to print time, from gmtime to localtime
sibaz [Mon, 25 Mar 2002 00:03:25 +0000 (00:03 +0000)]
added a function to allow other code to setup logs by specifying the text strings appropriate, rather than the numerical values. In the process I added facility to the global log structure. It seemed appropriate
sibaz [Sun, 24 Mar 2002 14:18:56 +0000 (14:18 +0000)]
added strings for the loglevels (for use in conf file) and added a new logtype, afpd. Also added a function so config file parsers can add logtypes to the list without having to know anything about logtypes
morgana [Wed, 20 Mar 2002 20:53:57 +0000 (20:53 +0000)]
Fix some issues with CAP-style printer authentication by changing where the
cleanup occurs to afp_asp_close() and storing the pid of afpd in the CAP file.
Credit goes to Sam Noble <ns@shadow.org> for this patch.
morgana [Tue, 19 Mar 2002 23:23:51 +0000 (23:23 +0000)]
Update man page and papd.conf template file to note requirement that the printer
zone must be defined if more than 15 printers are used with papd. Otherwise,
the Mac Chooser may not show all the printers.
jmarcus [Sat, 16 Mar 2002 20:38:09 +0000 (20:38 +0000)]
1. When in debug mode, print out the AFP function call names as well as their
numeric ids.
2. Don't advertise server sided notifications if AFP version < 2.1.
jmarcus [Thu, 7 Mar 2002 16:06:01 +0000 (16:06 +0000)]
Do not immediately return if an application requests data beyond the end
of file. Photoshop has a tendancy to do this with the result being that
the server reports file corruption.
I have tested this locally on my 1.5.2 server.
Prompted by: many users
Suggested fix by: Netatalk <atalk@abarrach.franken.de>
MFH after: 3 days