Mapping NCSU AFS to your personal Laptop

Yeah I know expandrive is easier to use…. install, enter credentials, and you are done. But lets face it, expandrive isnt the fastest and most stable stable thing you’ve used. try to copy a lot of files and it leaves a few. The other problems … you know them

So after messing around with the MIT Kerberos and OpenAFS I found a solution (Windows for now). With a bit of work I’m sure linux users would be able to replicate the same.

So here’s a simple walkthrough to getting this done.

  • Download and install the MIT Network Identity Manager tool (64 bit users need both the 32 bit and the 64 bit).
    Edit : Use version 3.2.2 . Version 4 doesnt seem to work properly.
    link : http://web.mit.edu/kerberos/dist/index.html
  • Download and install Open AFS. The versions which work together with MIT seem to be a bit messed up. Below are the links to to the versions which worked for me
    64bit
    *http://dl.openafs.org/dl/openafs/1.7.21/winxp/openafs-en_US-64bit-1-7-2100.msi
    http://dl.openafs.org/dl/openafs/1.7.21/winxp/openafs-32bit-tools-en_US-1-7-2100.msi
    *32bit
    *http://dl.openafs.org/dl/openafs/1.7.21/winxp/openafs-en_US-1-7-2100.msi*****
  • Once you are done installing everything, its just a matter of getting everything to talk. open the NIM (network Idenitity Manager). Add a new credential with details as follows.
    username : YOURUNITYID
    Realm : EOS.NCSU.EDU (capitals seem to matter)
    password : UNITY_PASSWORD
  • Add this and it should add it to the list of your credentials and it should also say something like “Expires in 9 hours and 59 minutes”.
  • Choose the credential that just came up.
    options ->general->identities (left tab) ->move to the identity which you just created -> AFS (tab)
  • Add new cells
    BP.NCSU.EDU
    UNITY.NCSU.EDU
    leave realm and method as auto
  • You should be done. Try navigating to \afs on explorer….
  • Your home folder is at
    \afs\unity\users\FIRSTLETTEROFUNITYID\UNITY_ID
  • if you have a locker it is at
    \afs\eos\lockers\people\FIRSTLETTEROFUNITYID\UNITY_ID

If you set up NIM in such a way you can make it mount these drives to a particular drive during startup…. or you could use shortcuts…

Give it a shot ! trust me when i say its sooo much “cleaner”. People facing trouble can give me a shout 🙂