• Mac OS X Server,  Ubuntu,  Unix

    Hosting afp on Linux

    One of the main reasons people get a server is to share files. Mac OS X Server is one of the more common devices used to share files to Mac OS X clients, using afp, the default file sharing protocol for Mac OS X. But you don’t have to use Mac OS X Server. You can use Linux as well. We’re going to look at using an open source project called netatalk to do so. If you find that after reading this that you’d like to find out more about netatalk then check out the open source project page at http://netatalk.sourceforge.net. The netatalk installer can be installed through most of…

  • Mac OS X,  Mac OS X Server,  Mac Security

    AFP and Cleartext Passwords

    AFP can be persnickety about you doing something as painfully silly as authenticating into a host using a password sent in cleartext (completely unencrypted). But when you’re troubleshooting it can be useful to disable this behavior, if only to test and then re-enable again. To do so: defaults write com.Apple.AppleShareClient afp_cleartext_allow -bool YES And to disable the warning: defaults write com.Apple.AppleShareClient afp_cleartext_warn -bool NO

  • Mac OS X

    Mac OS X: Repairing Drop Box Issues in Leopard

    Peer-to-peer networking can be very easy with Mac OS X.  But due to an issue with ACLs it can be a little annoying in the Leopard release of Mac OS X.  Essentially, when files are copied to the drop box, they aren’t accessible by the owner of the drop box due to an ACL issue.  To repair, run this command, replacing short_name with the username that has the dropbox: chmod +a "short_name allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit" /Users/short_username/Public/Drop Box

  • Mac OS X Server

    Mac OS X Server 10.5: Introduction To Wiki

    I originally posted this at http://www.318.com/TechJournal Leopard Server and wiki. It’s cool and it works. But when you’re first looking into it, it might seem a little confusing. So let’s do a simple walkthrough. Here we’re going to enable a wiki in advanced mode for a group called testgroup and we’re going to give a user called testadmin access to edit the wikis and create new ones. To get access to the wiki we’re going to assume a hostname of server.318.com. First, let’s go into Workgroup Manager and create a new group called testgroup. To do this, open Workgroup Manager, authenticate to Open Directory and click on the New Group…

  • Mac OS X Server

    Mac OS X Server 10.5: LDAP ACLs

    I originally posted this at http://www.318.com/TechJournal In Leopard, Workgroup Manager supports rudimentary ACLs for the LDAP database. We’re all familiar with Access Control Lists by now. Especially in the Mac OS X Server community. However, we might not all be familiar with ACLs as they’re implemented in LDAP. But we should be, because LDAP is being used more and more as an address book, and with the new Directory application being shipped in Leopard it is conceivable that environments aren’t just going to use ACLs to secure LDAP but they’re also going to use them to allow users to self update their information in the directory. So in the interest…