Eric,

You dont need samba for the mac connectivity. Netatalk works fine. You may have a problem with the program called afpd. That is the authorization program. I will assume you are using version 1.4b2. Redhat uses shadowed passwords, and most netatalk distributions are not preconfigured to use shadow passwords.

In order to enable netatalk to do this take the following steps:

In the distribution directory look for the following file

cd  to /netatalk-1.4b2/etc/afpd/

Then edit the Makefile in this directory

 find these lines (lines 12 and 13):

CFLAGS= ${DEFS} ${AFSDEFS} ${KRBDEFS} ${OPTOPTS} ${INCPATH} \
        -DAPPLCNAME -DCRLF #-DSHADOWPW  -DDOWNCASE

In order to enable shadow passwords move -DSHADOWPW to the left of the # sign. Remember to move the - sign as well as the word. Then save. Exit the editor. While in the afpd directory type

make

to recompile.

If all your libraries and includes are in place you will get a new afpd binary that you can use to replace the old one. After this, shadowed passwords should operate. To replace the old one find the old one by typing

which afpd

then rename the old one by typing

mv /whatever/your/path/afpd /whatever/your/path/afpd.old

and move your new afpd binary into the place of the old one.

Also, you should be aware that if you are transferring binary files from mac to unix the -DCRLF declaration in this same Makefile will trash them. If you want to transfer mac binaries without them getting messed up, then move -DCRLF to the right of the # sign and recompile.

The -DCRLF declaration is designed to translate end of line markers between mac and unix standards. Good if you only plan to edit text while using netatalk, bad for everything else.

Finally, here are some resources you might find handy on netatalk:

The netatalk homepage
http://www.umich.edu/~rsug/netatalk/

the homepage faq
http://www.umich.edu/~rsug/netatalk/faq.html

Netatalk Faq-O-Matic (slooow during high traffic times)
http://threepio.hitchcock.org/cgi-bin/faq/netatalk/faq.pl

The netatalk counter
http://thehamptons.com/anders/netatalk/counter.html

Linux Netatalk How-To
http://thehamptons.com/anders/netatalk/

Also, heres a note from the Netatalk Howto tips page
http://thehamptons.com/anders/netatalk/tips.html

Tony Nugent comments on the Intel Netatalk RPM for Redhat 5.0:

          There's a big problem with the netatalk i386.rpm from the original release - it doesn't work.

          There's an updated/patched rpm in the contribution/update directory at the RedHat ftp site that seems to work just
          fine:

          ftp://ftp.redhat.com/pub/contrib/hurricane/i386/netatalk-1.4b2+asun2.0a18.2-oa1.i386.rpm
          ftp://ftp.redhat.com/pub/contrib/hurricane/i386/netatalk-devel-1.4b2+asun2.0a18.2-oa1.i386.rpm
 
 
Hope this helps you,

Joe Abrahamson
Associate Director of Library Media Services
Bethany Lutheran College
Mankato, MN  56001
[EMAIL PROTECTED]

Reply via email to