Disable ACLs for SMB

I had a pretty strange issue recently with how QuickBooks works with Samba. The fix was to disable ACLs for SMB. While this seems like a silly issue for silly software, it’s worth noting the fix. Before doing so, it’s worth mentioning that

defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server AclsEnabled -bool NO

If yore having saving issues from QuickBooks and this doesn’t fix your issue I’d immediately switch back:

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server AclsEnabled -bool YES

  • http://andyzeo.com.br andy

    hi, i’m having the same issue too and will try this tomorrow, can you please answer me a question?

    does this disable the locks/oplocks or is there any other command for it?

    my problem is caused when multiple access to the QBW file locks the archive and the network loses connectivity

    if you know if this disables oplocks or how can i do it on lion, i’m going to owe you a few beers :)

    • http://www.krypted.com Charles

      This doesn’t disable oplocks, that would need to be done in the config files. That’s not smb.conf, but if I were looking for it, I’d check the man page for smbutil and smbd. Probably some flag to throw into the launchdaemon when you’re firing it up. I’ll keep a lookout if I notice it.