Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

meady100

macrumors regular
Original poster
Oct 9, 2011
146
398
I have two new iMacs both running Lion, both on the same wired Gigabit ethernet. Blazing transfer speeds, but the initial shared folder connection takes anything from 30 seconds to a minute. Can anyone tell me if this is normal? I was expecting a response time similar to a local drive (ie, near instantaneous). Thanks if anyone can advise! Settings: as out of box, have simply made a new folder on secondary drive (computer contains SSD and HD as BTO), shared it in network settings with all permissions set to read/write. Most vexing!

Steve
 

crazzyeddie

macrumors 68030
Dec 7, 2002
2,792
1
Florida, USA
I've found this behavior is linked to Kerberos authentication. If you change AFP to use "normal" connections, they are instant. However, "normal" really means plain text, so you definitely don't want to use that...

What the solution is to making Kerberos fast (again), I'm not sure.
 

crazzyeddie

macrumors 68030
Dec 7, 2002
2,792
1
Florida, USA
I think I have found the reason behind this. Kerberos authentication is auto-configured based on all the IP addresses your server has ever had. Therefore, if you configured your Mac with one IP initially, then changed it later, your clients will try to connect to both IPs... given that one is probably inactive, the clients wait for that request to time out before going with the real IP.

I was able to resolve this problem using this page, among others:

Link 1

After removing the old addresses from my kerberos config using Workgroup Manager, I ran the following command which I think resolved my problem:

sudo kerberosautoconfig -u
 

meady100

macrumors regular
Original poster
Oct 9, 2011
146
398
This looks hopeful! Thanks for keeping the thread alive - I have been checking back everyday. Will try it out tonight after work and report back...
 

meady100

macrumors regular
Original poster
Oct 9, 2011
146
398
This looks hopeful! Thanks for keeping the thread alive - I have been checking back everyday. Will try it out tonight after work and report back...

Pretty much by chance I seem to have fixed the problem. After the OSX 10.7.2 update last night, I found that my 'back to Mac' feature in the control panel was complaining 'may be slow because NAT port mapping (NAT PMP) or universal Plug and Play is turned off on your router'. This struck me as a possible link to my original problem. I therefore updated the firmware on my router (which dated 2008, with the latest version 2011 - whoops!). Everything now seems to connect and work instantly. Hope this helps someone... Incidentally my router was a DLink 655.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.