Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

Network Accounts- what is better: SMB or AFP for clients to connect?

iansilv

macrumors 65816
Original poster
Jun 2, 2007
1,053
335
I am running a small network in my office with all mac clients- all iMacs actually. I have run in to some stability issues with the accounts crashing safari, not being able to login, hanging, etc.

What is the best connection protocol for the network home folders? I have them set to SMB, any reason to switch to AFP?
 

chrfr

macrumors G4
Jul 11, 2009
10,105
3,851
Depends! Apple started dropping AFP for SMB about 2-3 years ago. Do if those Mac clients are running OS X 9.0 or better then use SMB 2.

Read some fixes in the blog post Fixing Windows OS X FileSharing Slowness SMB2.

For connecting to NAS clients just use the cifs//ip-or-server name .
Apple has not dropped AFP whatsoever. They've switched SMB to be the default for file sharing, but for network homes, AFP is likely to work less badly than SMB.
[doublepost=1462975012][/doublepost]
I am running a small network in my office with all mac clients- all iMacs actually. I have run in to some stability issues with the accounts crashing safari, not being able to login, hanging, etc.

What is the best connection protocol for the network home folders? I have them set to SMB, any reason to switch to AFP?
Network homes in general are not particularly reliable. I would use AFP over SMB if I had to do it, though. Any sort of network instability or slowdowns are going to cause reliability problems, so you definitely do not want to be using network homes over wifi.
 
Comment

chrfr

macrumors G4
Jul 11, 2009
10,105
3,851
Sorry man... What's "CIFS" stand for?...
It's a (different) Windows file sharing protocol. You can't specify CIFS in Server.app when configuring network homes so the idea of using it for this is irrelevant. CIFS stands for "Common Internet File System".
Stick with AFP if you must use network homes in this environment.
 
Comment

iansilv

macrumors 65816
Original poster
Jun 2, 2007
1,053
335
Ok thank you everyone. I'm going to redo everything to use afp and hopefully that will solve the reliability issues...
 
Comment

iansilv

macrumors 65816
Original poster
Jun 2, 2007
1,053
335
Alright to follow up here, the user accounts have bene recreated fresh with a folder in the root of the hard drive not eh server next to users, and using AFP and so far, not a single problem. So I think this is the most table way to do local network accounts at least as of 10.11.4.
 
Comment

rigormortis

macrumors 68000
Jun 11, 2009
1,813
229
i thought smb2 was required for time machine now or was it afp?
i use afp on my readynas units because it just seems the performance on the mac seems faster / or more reliable
i recall that all readynas units needed new firmware because of a networking change on os x, but i forget now if it was samba or afp they changed


a real time capsule uses AFP for file sharing. so much for phasing out, NYA NYA

i clicked on a random file on my Apple Time Capsule and it says this
afp://time capsule._afpovertcp._tcp.local/Data/Wrestling

so there
 
Last edited:
Comment

Geeky Chimp

macrumors regular
Jun 3, 2015
132
59
We had quite a few issues with Network Homes on SMB with Yosemite and El Capitan. Switching to AFP also resolved all of the issues for us, we did this switch over several months ago if that helps.
We're now using AFP to connect to the shared folders too and all seems to be working well.
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.