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
jmarcus [Thu, 14 Feb 2002 05:59:51 +0000 (05:59 +0000)]
Fix the error message reported when of_find fails to find a valid fork. Since
of_find() doesn't set errno, there's really no since in calling strerror()
on a "dirty" value.
srittau [Wed, 13 Feb 2002 16:56:20 +0000 (16:56 +0000)]
NetBSD fix by Juergen Hannken-Illjes. First network is now set to 1 instead
of 0. I'm really not sure what this does and if it breaks something on
other platforms. So please *test*.
jmarcus [Sat, 9 Feb 2002 17:13:52 +0000 (17:13 +0000)]
Redo the server notification flag. Revert to having server notifications
enabled by default, and rename the flag to -client_polling which will
disable server notifications.
jmarcus [Fri, 8 Feb 2002 16:42:31 +0000 (16:42 +0000)]
Fix for two things:
(1) General: Using --enable-srvloc results in compile-time errors when
libslp.a is not installed in a standard location searched by the linker.
This is due to the missing third argument in AC_CHECK_LIB(slp,
SLPOpen, , AC_MSG_ERROR([SLP installation not found])) on line 32 in
macros/srvloc.m4: This sets LIBS="-lslp $LIBS" globally in configure,
instead of just setting SLP_LIBS and SLP_CFLAGS.
(2) Tru64-specific: In libatalk/utils/logger.c, the function vsnprintf()
is used. Up to and including version 4.0F, Tru64 doesn't have this
function in its standard C library, although the DEC C compiler has a
prototype for it. Instead, vsnprintf() is contained in libdb.a (not to
be confused with libdb3.a), which must be given as a separate flag to
the linker.