Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old April 15th, 2007   #1
thornomad
Way Too Much Ubuntu
 
Join Date: Aug 2006
Beans: 302
Ubuntu 6.10 Edgy
Talking How To: Install Netatalk (AFP) with Encrypted Authentication

These guidelines were complied from this thread. Thanks to those who came before and figured it all out. I just tried to make the instructions a little more step-by-step and put together the different suggestions.

I maintain updates to this thread at: How To: Install Netatalk (AFP) with Encrypted Authentication. Check it for new information.

Purpose of the How To: Install Netatalk (AFP) on Ubuntu with encrypted authentication (using OpenSSL), which is not enabled by default with the Ubuntu package. By default, the package installed from the Ubuntu universal repositories will allow your password to be sent via clear text (you’ll know this because Mac OS X will throw a warning saying: “You password is being sent in clear text!”). This is because, apparently, OpenSSL has a license that is incompatible with Debian’s GPL. Regardless: clear text is bad; encryption is good.

Steps to Follow
: I originally tried to compile netatalk from the source, however, I didn’t get it to work the first time and, before troubleshooting, found nifty instructions at the Ubuntu Forums which uses the default Ubuntu package but recompiles it with the ssl option in place. I have taken what I believe to be the best of these guides and put them together in a quick and easy fashion, below. Have tested it on a couple installations myself (Dapper and Edgy, i86), and it seems to work great.

(You will need to have the Universe Repositories enabled for this to work: /etc/apt/sources.list)

Code:
$ mkdir -p ~/src/netatalk
$ cd ~/src/netatalk
$ sudo aptitude install devscripts cracklib2-dev dpkg-dev libssl-dev
$ apt-get source netatalk
$ sudo apt-get build-dep netatalk
$ cd netatalk-2.0.3
$ DEB_BUILD_OPTIONS=ssl sudo dpkg-buildpackage -us -uc
$ sudo debi
The basic trend of this set of operations is to: create a directory where all the messy files can be stored, download necessary packages, get the netatalk source, compile the source with the ssl option, install the package. You can remove everything after, if you want, or leave it alone. Either way: once it is installed no more clear text error from Apple!

To connect to your AFP server on your Mac Finder, press APPLE-K (or “Go -> Connect to Server”). Enter the server’s IP address and then you will be prompted for your user name and password. After, it will mount your home directory.

Settings for the service can be found at /etc/netatalk/. There are a couple configuration files in there with instructions. Good luck.

Removing netatalk: if you would like to remove netatalk you can run:

Code:
$ sudo apt-get remove netatalk
Support for this How To: I am happy to help as best as I am able if anyone has problems, however, my knowledge of the subject is very limited, therefore, this How To is being offered with no support or gaurantee. Use it at your own risk.

Finally, any updates to this process or new tips will be posted and maintained at:

http://www.damontimm.com/blog/how-to...uthentication/

Enjoy

Last edited by thornomad; September 24th, 2007 at 04:06 PM..
thornomad is offline   Reply With Quote
Old April 24th, 2007   #2
engelsma
First Cup of Ubuntu
 
Join Date: Mar 2006
Beans: 1
Re: How To: Install Netatalk (AFP) with Encrypted Authentication

Excellent instructions!

Everything worked the first time around.

Thank you!
engelsma is offline   Reply With Quote
Old April 26th, 2007   #3
SpaceBas
5 Cups of Ubuntu
 
Join Date: Apr 2007
Beans: 18
Re: How To: Install Netatalk (AFP) with Encrypted Authentication

This is great, thanks for the info!
Anyone know how to add kerberos support?
looks like it requires uams_gss.so

Last edited by SpaceBas; April 26th, 2007 at 01:23 PM..
SpaceBas is offline   Reply With Quote
Old May 9th, 2007   #4
philipMac
5 Cups of Ubuntu
 
Join Date: Oct 2005
Beans: 36
Re: How To: Install Netatalk (AFP) with Encrypted Authentication

Nice one... worked perfectly.
Cheers.
philipMac is offline   Reply With Quote
Old June 5th, 2007   #5
Richard Woodfied
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 3
Re: How To: Install Netatalk (AFP) with Encrypted Authentication

Any ideas why I would get the error
Quote:
Could not open file /var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_feisty-backports_main_source_Sources - open (2 No such file or directory)
Other than that the file is missing

I edited the /etc/apt/sources.list file to uncomment the universe multiverse libraries ad restarted.

Thanks in advance for any help.

-r
Richard Woodfied is offline   Reply With Quote
Old June 5th, 2007   #6
thornomad
Way Too Much Ubuntu
 
Join Date: Aug 2006
Beans: 302
Ubuntu 6.10 Edgy
Re: How To: Install Netatalk (AFP) with Encrypted Authentication

Quote:
Originally Posted by Richard Woodfied View Post
Any ideas why I would get the error

Code:
Could not open file /var/lib/apt/lists/es.archive.ubuntu.com_ubuntu_dists_feisty-backports_main_source_Sources - open (2 No such file or directory)
Other than that the file is missing

I edited the /etc/apt/sources.list file to uncomment the universe multiverse libraries ad restarted.
Hmm ... I am not a whiz at this and I have not installed this on Feisty ... my thoughts are:
  1. has anyone else successfully done this in feisty ?
  2. have you tried installing any other packages ? That is, is this the only package you have tried or the only package that doesn't work (and everything else does)
  3. it says "es.archive" ... is that the spanish version?

If this is only happening with this particular package I don't have much advice; probably one of the required dependencies isn't being loaded or maybe it doesn't exist in feisty.

Are you running all this as "sudo" where indicated?

D
thornomad is offline   Reply With Quote
Old June 5th, 2007   #7
Richard Woodfied
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 3
Re: How To: Install Netatalk (AFP) with Encrypted Authentication

Strangely, I am in Spain, although this is a US dist. The files in the source directory ar either

es.archive.xxxx or security.ubuntuxxx

The failure line produces the same error whether run as su, since the file is missing.

I'll try and get the file I think.

-r
Richard Woodfied is offline   Reply With Quote
Old June 5th, 2007   #8
Richard Woodfied
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 3
Re: How To: Install Netatalk (AFP) with Encrypted Authentication

Missing files are available at
http://es.archive.ubuntu.com/ubuntu/...sty-backports/
and they are Spanish it turns out.

Thanks for helping out though

-r
Richard Woodfied is offline   Reply With Quote
Old June 6th, 2007   #9
thornomad
Way Too Much Ubuntu
 
Join Date: Aug 2006
Beans: 302
Ubuntu 6.10 Edgy
Re: How To: Install Netatalk (AFP) with Encrypted Authentication

Quote:
Originally Posted by Richard Woodfied View Post
Strangely, I am in Spain, although this is a US dist. The files in the source directory ar either

es.archive.xxxx or security.ubuntuxxx

The failure line produces the same error whether run as su, since the file is missing.

I'll try and get the file I think.
Let us know what happens; I am not sure how to troubleshoot it any further, to be honest. Does everything else install without a problem ?

D
thornomad is offline   Reply With Quote
Old June 12th, 2007   #10
Gyn3r
First Cup of Ubuntu
 
Join Date: Jun 2007
Location: Norway
Beans: 3
Ubuntu 7.04 Feisty Fawn
Send a message via MSN to Gyn3r
Re: How To: Install Netatalk (AFP) with Encrypted Authentication

I am getting the following error message:

Quote:
dpkg-parsechangelog: error: cannot open debian/changelog to find format: No such file or directory
dpkg-buildpackage: unable to determine source pakage is
debi: cannot find readable debian/source anywhere!
Are you in the source code tree?
I would really appreciate some help
Gyn3r is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:28 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry