]> arthur.barton.de Git - netatalk.git/commit
Changes made by Michel Jouvin - jouvin@lal.in2p3.fr - 23/11/2000
authorjouvin <jouvin>
Fri, 1 Dec 2000 10:00:34 +0000 (10:00 +0000)
committerjouvin <jouvin>
Fri, 1 Dec 2000 10:00:34 +0000 (10:00 +0000)
commit957162be267ce96db1efc268ea27cee9e284a3f5
tree3e0c9685f28ccee2eb8e0da28b5824fdc76d1266
parentffd3801b342345e719b36d31815b656f43453740
Changes made by Michel Jouvin - jouvin@lal.in2p3.fr - 23/11/2000

Modifications aim at introducing support of Compaq Tru64 (ASIP only, done with
4.0f), allow greater flexibility with PAM handling during netatalk build and
properly propagate to Macintosh client file permissions driven by ACL on the
server side using XPG4 access() function.

- configure.in : add support for Tru64 OS, allow greater flexibility
with PAM for better handling of systems (like mine) without pam
(basically _pam uams are built only if pam libs are present and
--with-pam triggers what are the actual targets for uams_clrtxt.so and
uam_dhx.so), check availability of access() function in standard libaries.

- acconfig.in : initialisation (#undef) of new macros introduced for Tru64
support.

- etc/uams/Makefile.am : Complementary mods for flexible handling of pam. Use
standard install target as cp -d is not available on every platform (in
particular Tru64). Define links uams_clrtxt.so and uams_dhx.so at install time only, directly in target dir and add -f to ln command. Add
'expect_unresolved *' when building shared libs.

- sys/netatalk/endian.h : Include config.h if it exists.

- etc/atalkd/route.c : define rtentry as ortentry on Tru64 to allow successful
compiling (anyway this part is not used on Tru64 as appletalk layer is not
available).

- distrib/initscripts/rc.atalk.redhat.tmpl : define 3 variables for netatalk
bin, sbin and config subdirectories and use them in files path to allow
easier manul customization of path.

- Addition of a distrib/initscripts/rc.atalk.tru64.tmpl, modeled on
rc.atalk.sysv

- distrib/initscripts/Makefile.am : add a target for Tru64

- etc/afpd/directory.c : if XPG4 access() is available, call it as it was done
when AFS is defined through function accessmode() (defined in unix.c). This
allows correct presentation of permissions to Mac users if the file server
has ACLs.

- etc/afpd/unix.c : add accessmode() function. This is the existing afsmode
function less the checks to validate the current path is in AFS.

- etc/afpd/afs.c : afsmods() modified to call new accessmode() after the
checking phase.

- etc/afpd/auth.c : Add a message with LOG_DEBUG priority telling which uam
file is being loaded. Allow easier detection of misconfiguration.

- etc/afpd/uam.c : log a message in case uam_load fails because mod_symbol()
failed to locate the required symbol.
13 files changed:
acconfig.h
configure.in
distrib/initscripts/Makefile.am
distrib/initscripts/rc.atalk.redhat.tmpl
distrib/initscripts/rc.atalk.tru64.tmpl [new file with mode: 0755]
etc/afpd/afs.c
etc/afpd/auth.c
etc/afpd/directory.c
etc/afpd/uam.c
etc/afpd/unix.c
etc/atalkd/route.c
etc/uams/Makefile.am
sys/netatalk/endian.h