How to configure Airport Extreme AFP disk sharing to host multiple users' home-directories (Lion, using autofs)

I have this working, but only by completely bypassing access control, using guest access with read+write permissions.
Do I need to buy Lion Server, to do this. All my past unix/linux experience says Lion Server should _not_ be necessary.
This seems like a simple & obvious setup objective, but it is proving to be harder than I would imagine.
Setup:
multiple users, sharing two mac mini's running OSX Lion
connected to an Airport Extreme (4th gen) with a USB disk shared (either via disk password, AEBS password, or using AEBS user's passwords).
After much experimentation and web research, I finally have managed to get the mini's to auto mount the Airport Extreme's AFP shared USB disk. Well almost... It only works if, on the Airport, I set the guest access permissions to read+write and select the "Secure Shared Disks" method to "With disk password" or "with Airport Extreme password".  In other words, it only works if I essentially bypass/disable access control by using the guest authentication mechanism to the AFP shared disk.
On the Lion side of this, I am automounting the users directories via "autofs". The config files for this are
/etc/auto_master:
# Automounter master map
+auto_master            # Use directory service
/net                    -hosts          -nobrowse,hidefromfinder,nosuid
/home                   auto_home       -nobrowse,hidefromfinder
/Network/Servers        -fstab
/-                      -static
/-                      auto_afp
/etc/auto_afp:
# Automounter AFP master map
# https://discussions.apple.com/thread/3336384?start=0&tstart=0
/afp/users -fstype=afp afp://;AUTH=No%20User%[email protected]/Users/
Then, after rebooting and verifying read+write access to the /afp/users directories, I change each user's home directory: In System Preferences > System > Users & Groups, I right-click over the users to access the Advanced Options, changing the Home directory field to point at the AFP-mounted /afp/users/Users/* home directories.
I experimented with alternate UAM specifications, as well as both OSX and AESB users & passwords. Using guest access is the only thing that has worked.
Any pointers would be appreciated...

Based on lots more experimentation which confirms the information in a parallel discussion (cf. Automount share as non ROOT or SYSTEM user! https://discussions.apple.com/thread/3221944), I have concluded that the Lion 10.7.2 implementation of AutoFS mechanism is broken. I submitted a bug report via apple.com/feedback.
Work arounds..?
Earlier I wondered if installing Lion OSX Server was necessary.  The more I contemplate this, the more I am convinced it _should_not_ be necessary. The client-server architecture is clear: my mac's are the file-server client's and the Airport Extreme is supposed to act as the file server. The only thing instaling Lion Server would do (besides enriching Apple.com) is enable me to configure one of the mac's as the file server. This would require it to be "always on" (thus enriching my electric utility as wel).  Okay, an additional benefit would be configuring software RAID disks attached to the Lion server, but Time Machine has worked fine for me in the past, backing up to disks mounted on the Airport Extreme.
One solution is to create a disk partition for each user and instruct each user to connect / authenticate to the Airport Extreme AFP share at login.  The multiplicity of partitions is necessary since the first user to mount the AFP share, takes ownership of it, blocking other users from accessing that disk partition.  A user can "steal" ownership by reconnecting, but this will leave the other user's applications & open files dangling.
This disfunctional situation really *****.  Before instaling Lion, I put a 64 GB SSD (solid state disk) in each of our mac's. I did this expecting to easily configure the /Users/* data on external networked storage. I'm having a dejavu "Bill Gates"-ware moment; problems like this were why I abandoned Windoz.
I will make a few more experiments using the depreciated /etc/fstab mechanism.  Maybe that will bypass the broken-ness of AutoFS...? Alternately, I guess I could also try to run Kerberos authentication to bypass whatever is broken in AutoFS, but that would require a running a Kerberos daemon somewhere.  Possibly I could configure a Kerberos service to run on both my mac's (without installing Apple's Lion Server)...?
Stay tuned...

Similar Messages

  • Airport Extreme USB Disk Sharing using MobileMe - Connection Failed...

    After several hours of troubleshooting i've hit a brick wall.
    I have just bought a brand new Airport Extreme Base Station (Dual Band etc) and it is all set up and working lovely.
    I have now come to share my USB Disk using my MobileMe account. Add my mobile account to the configuration page, all ok still.
    Connect to a completely different network (second home), where my Airport Extreme (William Moore's Airport Extreme) is present in the finder under Shared. However, when I proceed to connect to it, i am firstly presented with connecting.... and after it has failed the first time, each subsequent attempt immediately fails.
    At first i could not access the configuration page remotely for the Extreme either - but after bypassing the firewall on my router i can now remotely connect to my extreme every time - but still the same above issue with connecting to the USB disk.
    The router at my second home is currently a belkin router - although i have an airport express coming soon which i hope will resolve the problem and point to my current router setup - but this cannot be a long term solution as the express is to be used elsewhere.
    However, i fail to see how my router is stopping the disk connection when i am able to receive the extreme's configuration. NAT is enabled on my router, as is upnp.
    Any help would be greatly appreciated.
    I am an IT Technician myself, and this is driving me crazy!

    Thanks for those links - i'll look at the powering down tomorrow as the Airport isn't at the property i'm at at the minute.
    However, I can safely say the airport is configured just as in the first link. Like i said, I can remotely access the airport so can verify that from here.
    The article regarding the formatting of the disk is also interesting. I have tried three disks, each with the same end result (not being able to remotely connect) but all have been slightly different formatting.
    1) 500gb HFS+ formatted, single partition, my timemachine disk
    2) 500gb - 450gb HFS+ partition - 50gb FAT32 partition - interestingly, although according to that article two partitions aren't supported - both mounted perfectly when I was connected to my airport locally
    3) 8gb FAT32 formatted USB Stick - same thing - fine locally, cannot connect remotely.
    Come to think of it - i did read somewhere that the usb port isn't (hot-swappable) so maybe the complete power off and on may solve the problem - but i fail to see how this is different technically to a restart through the software - and doubt very much it will fix the issue - but i will definitely give it a go tomorrow.
    Any other idea's or people in the same situation would be greatly appreciated.
    Cheers

  • Airport Extreme USB Disk Sharing over Internet Without MobileMe

    Hello
    I just wanted to say I read this article http://www.neowin.net/forum/topic/769126-airport-extreme-connecting-remotely-wit hout-mobileme/
    and wanted to do what the title said.
    So, I am able to share the disks fine over the LAN with both Mac and Windows PCs.
    My Question is:
    -some people have said that to map the disk over network, you need the AirPort utility installed onto the computer.  Is this true?
    -I am unable to access the disk over the internet.
    I am wondering if I should configure the "Disks" then File Sharing section of Airport Utility or whether I should turn to the Advanced> Port Mapping section.
    For the File Sharing Section:
    1.     What is the username needed when trying to connect to the disk?
    2.     Do I need to enable share disk over WAN and also the checkbox to enable the Bonjour service?
    3.     What do I need to fill out for WINS server?
    4.     Can I just mount the drive using the WAN IP?
    Port Mapping:
    1.     What exactly is personal file sharing?  Do I need to use this to share my hard drive?  And is it only compatible with Mac?
    2.     Should I use the IP address 10.0.0.1 (default IP of router) as the place where I want to map to?
    Thank you and sorry for this long post.

    You do not need the AirPort Utility installed on your computer in order to access a shared drive from either a remote location or on the local network. This utility's primary purpose is for administering the base station.
    You will need to both enable File Sharing and configure the AirPort for Port Mapping. It is pretty much described step-by-step in the article you referenced in the beginning of your post.
    Ok, so let's go over the basic steps to see if anything was missed.
    Start the AirPort Utility > Select the AEBSn, and then, note the IP address shown.
    Select Manual Setup.
    Verify that Connection Sharing = Share a public IP address is selected on the Internet > Internet Connection tab.
    Select Disks, and then, select File Sharing.
    Verify that both the "Enable file sharing" and "Share disks over WAN" options are enabled.
    Verify that Secure Shared Disks = With a disk password. (Recommended)
    Verify that AirPort Disks Guest Access = Not allowed. (Recommended)
    Select Advanced, and then, select the Port Mapping tab.
    Click the plus sign to add a new port mapping.
    For Service, select the "Personal File Sharing" option. (Note: This option would only allow Mac clients to access the AirPort Disks. If you want both Macs and PCs to connect, you would need to leave this field at its default value and enter the appropriate SMB ports to the mix of ports to be opened.)
    In the Public UDP Port(s) and Public TCP Port(s) boxes, type in a 4-digit port number (e.g., 8888) that you choose. In the Private IP Address box, type the internal IP address of your AEBSn that you wrote down in step 1. In the Private UDP Port(s) and Private TCP Port(s) boxes, type 548. Click Continue.
    In the Description box, type a descriptive name like "AirPort Disk File Sharing," and then, click Done.
    Click on Update.
    To connect to the shared AirPort Disk from a remote location using a Mac:
    From the Finder > Go > Connect to Server.
    Enter the DynDNS-provided Domain Name or Pubic (WAN-side) IP address of the AEBSn, followed by a colon and the Public port number that you choose in step 11 of the previous procedure. For example: afp://www.mydyndnsdomain.com:8888 or afp://123.456.789.123:8888
    Click Connect.
    You should be prompted for your user name and password. The user name can be anything you like; the password should be the Disk password for the AEBSn that you created in step 6 previously.
    Click Connect.

  • Apple TV, Airport Extreme and Disk Sharing

    Can I put all my photos, music, vidoes, etc. on a USB drive connected to my airport extreme and NOT need a Mac on to play music, etc?
    In other words, will the Apple TV see the shared USB drive and pull from there?

    Whether or not the movies are streamed or stored
    locally on the atv, you will still have long menu's.
    Not necessarily. iTunes allows you to limit what is stored locally on the Apple TV (for instance by syncing only so many recent or unwatched items, or just specific ones, selected from the category tabs). This is relatively easy to manage with the iTunes GUI, since even for long lists you have tabs, scroll bars, & clickable boxes, giving you much quicker access to list items compared to Apple TV's sequential menus.
    Moreover, as the Apple TV drive fills up, it gives preferential treatment to content in a predictable hierarchy, which together with iTunes management of what is synced can keep stored item lists short & fresh. iTunes based management also allows for an effective form of parental control (by allowing only syncing with selected items from a selected iTunes library) & for different locally stored content for different Apple TV's. When you want (or want to allow) full iTunes library access, you can set up an Apple TV for streaming from selected computers.
    Regarding USB-connected auxiliary storage in general, it isn't clear how it could be managed -- remember, there is no Finder (& probably not enough RAM to support it) in Apple TV, plus no GUI to support drag & drop or the other file system amenities we are accustomed to in OS X. It may be doable, but probably not in a manner appealing to non-geek type users.

  • Cone Airport Extreme and disk sharing

    I have the older Extreme base station and want to set up a shared disk. I have it set up to share a printer just fine. I added a usb hub to the station and attached the printer and hard drive.
    The airport utility does not have a disk sharing section. Is this possible with this model?

    An AirPort Extreme base station without 802.11n capability and any AirPort Express will ignore any USB drive connected to it. Sharing the drive from it isn't possible.
    (50843)

  • How to configure Airport Extreme SubNet?

    My landlord has Internet access for his wired and wireless devices using an Airport Extreme with a wireless password he won't give me. He wants to keep his network private but said I could wire my own Airport Extreme to one of his Extreme's LAN ports if I could show him that I can't see his devices and he can't see mine.
    His Extreme is configured to Share A Public IP Address. I'm worried that if I configure my Extreme like his that we'll have a DHCP or NAT conflict but I don't know how else to do it even though I read through Apple's document called Apple Airport Networks.
    Can you help? Remember, we don't want to be able to see each other's devices. Thanks

    Connect the Ethernet cable from one of the LAN <-> ports on the landlord's Airport to the WAN port on your Airport Extreme.
    You must setup your AirPort Extreme to "Share a public IP address" as well and then assign a different DHCP range for your AirPort.
    That will place your AirPort on a separate subnet, so you will not be able to "see" his network devices and he will not be able to "see" yours. This is not really "security" at all, but if both of you are willing, it can work.
    Unfortunately, this will create what is known as a Double NAT error on your portion of the network. This is usually not too serious of an error on a simple network, but it will slow down your network communications and browsing a bit. You may...or may not...notice this.
    However, Double NAT will cause some serious issues if you plan to use any kind of online gaming console. You will not be able to play interactively on the Internet when it is configured this way.
    Setup is relatively straightforward for this, but you must use a Manual Setup option to configure your AirPort Extreme. AirPort Utility in Lion 10.7.3 will not work. You will need to download additional software to configure your Airport to work the way that you want.
    Post back if you need a few more tips on getting this set up.

  • How to configure airport extreme to work with Actiontec gt701d modem

    I have been trying to set up a new Actiontec modem to work with a new Airport Extreme with no luck. I don't know what the right settings are to get it to work correctly. So far the only way I have been able to get the two to work together is to have the AE connect with ethernet and bridge mode. However with this configuration I can't setup a guest network which I would like to be able to do. I have read some past posts and have tried other configurations but end up either losing internet connection or getting a very slow connection. If anyone has some idea how to get this modem to work with the AE i would really appreciate some advice
    Thank you

    Welcome to the discussion area, Meagan!
    The Actiontec "modem" that you mention is really a gateway...a combination modem/router, so with this device and the AirPort Extreme, you have two routers on the network.
    Whenever you have two routers on a network, the first router must be configured to handle the main routing chores and any other routers must be configured in Bridge Mode to function correctly. So, Bridge Mode is the correct setting for the AirPort Extreme when used with the Actiontec gt701d gateway.
    In order for the AirPort Extreme to provide a Guest Network, it must be configured as the "main" router on a network. This won't be possible unless you can re-configure the Actiontec device to act as a simple modem, not a router. You might want to check with Actiontec support to see whether this might be possible.
    Message was edited by: Bob Timmons

  • How to configure Airport Extreme to work with Spotify

    Issue: Spotify no longer syncs Spotify files to my iMac or my iPhone despite me being a premium member. I've never had an issue with this until this past week. I can't see anything that has changed but I must be missing something. Anyhow...I'm posting this here because I need assistance with my Airport Extreme configuration (not Spotify).
    According to Spotify, I am to configure my (Airport Extreme, latest gen) router to allow the following:
    The following IP ranges should be open on port 4070:
    78.31.8.0/21
    193.182.8.0/21
    The number 21 is the prefix length.
    I've assigned the static IP to my iMac and my iPhone. I've also forwarded port 4070 (Public & Private UDP and TCP) to my iMac's static IP. I also tried it on my iPhone. What I don't know about is how to open the IP Range on that port as stated above.
    Any idea where this can be done? Thanks!

    Welcome to the discussion area, Meagan!
    The Actiontec "modem" that you mention is really a gateway...a combination modem/router, so with this device and the AirPort Extreme, you have two routers on the network.
    Whenever you have two routers on a network, the first router must be configured to handle the main routing chores and any other routers must be configured in Bridge Mode to function correctly. So, Bridge Mode is the correct setting for the AirPort Extreme when used with the Actiontec gt701d gateway.
    In order for the AirPort Extreme to provide a Guest Network, it must be configured as the "main" router on a network. This won't be possible unless you can re-configure the Actiontec device to act as a simple modem, not a router. You might want to check with Actiontec support to see whether this might be possible.
    Message was edited by: Bob Timmons

  • How to configure airport extreme to work with my G-5?

    My G-5 in connected to the ethernet with a modem              
    I need help in configuring an Airport Extreme as a wireless base station

    Base station?
    One of these?
    Does your G5 have an Airport Extreme card installed?
    You need one to connect once a network is created.
    How to Set Up the AirPort Extreme | Macinstruct

  • How to configure Airport Extreme to connect switch?

    Hi,
    I have an Airport Extreme (3rd generation) on firmware 7.4.2 and it is connected to the WAN to a Time Warner (Motorola) cable modem. I am able to establish a wireless LAN for the home. However, I also have wall ports (ethernet) throughout the home that are connected to a Linksys SD2008 switch. I am hoping to also connect the wall ports through the AEB so that wired computers can get onto the LAN and the Internet. I have checked that I get an IP from the Ethernet ports from the AEB but when I connect that to the switch, however, I do not seem to be able to get an IP on the ports on the switch itself (i.e. the wall ports do not assign any IP, just a self assigned IP address.)
    Does anyone know if it is possible to connect a Linksys SD2008 switch directly to AEB (acting as a router)? Thanks.

    Suggest that you do some simple "tests" before trying to configure the entire setup.
    First, connect a laptop using a short, spare Ethernet cable to one of the LAN <-> ports on the AirPort Extreme and make sure that you can get an Internet connection this way. If you can, you know that the LAN port on the AirPort is working correctly.
    Then, connect the same short Ethernet cable to the switch and connect another spare Ethernet cable to the laptop. Make sure that you can get an Internet connection that way.
    If you can, then you know that the switch is functioning correctly and you can start to troubleshoot the wiring around the house. If you cannot get an Internet connection, that obviously means that the switch is not functioning correctly.
    Having wired many networks, I can say that the problems are almost always in the wiring...a bad cable or a bad Ethernet plug on either end. Take it one step at a time working out from the AirPort Extreme and test each connection, then add another device or cable and test, and then another, etc.

  • How to configure airport extreme (n) for 1G network?

    the network is connected, but only at 100.
    the setup is:
    Modem Thomson (dont really need it at 1000, my cable bandwidth is only 5Mb) -->
    Airport Extreme (n) -->
    Macmini C2D 2G and Imac 20" 2G (not C2D, the older one)
    Both running 10.4.10 for intel, both have airport utility installed.
    thanks!

    i still got nothing, i managed using cocktail to make the line 1G/half duplex, the line was active but the computer got no valid ip address from the airport extreme and could not no connect to it in any way.
    so...what else to do? i bought the cables (cat 7) becuse i've been told the airport extreme will work at 1G without any problems, but all i get are problems.

  • I bought airport extreme to increase coverage in my 2 story home.  It uses an ethernet connection. There are dead zones which I had hoped to cover with the addition of the airport extreme, but it didn't help.  Any suggestions?

    I bought an airport extreme to increase the coverage in my 2 story home.  I get good fast coverage in some spots on both floors, but complete dead zones in other areas.  The airport extreme did not help.  It is connected by ethernet to my cable modem which has a high speed connection.  Is there a configuration I should try to help with these dead zones?
    Thank you- CC in Minneapolis

    Please check out the following AirPort User Tip for details on how to best place your base stations for maximum coverage.

  • Copy Finder Items - how to generic for multiple user home directories?

    I am creating an Automator workflow to allow my networked users to be able to copy certain files from a central location to their local home directory and overwriting their local copy. How to I make the destination of the Copy Finder Item to be generic home directory (something in the like of "~/Document/MegaSeg User Data/MegaSeg Database" instead of a fixed user home directory)?

    Hi
    It may be easier with an appleScript (which you could incorporate into an Automator action if you wanted).
    --start script
    set the_file to -- path to the file you want to copy goes here
    set docs_folder to path to documents folder from user domain
    tell application "Finder"
    set target_folder to folder "MegaSeg Database" of folder "MegaSeg User Data" of docs_folder
    duplicate the_file to target_folder with replacing
    end tell
    -- end script
    This will replace existing files of the same name in the target folder. Hope it helps.

  • HOW DO I CONFIGURE  AIRPORT EXTREME TO ENABLE HP EPRINT

    HOW DO I CONFIGURE  AIRPORT EXTREME TO ENABLE HP EPRINT

    Thank you.  Before seeing your message, I uninstalled the printer and reinstalled it on my Airport Extreme with WIFI protected setup using the PIN provided by the printer.  Next I followed instructions  from HP saying I should disable the eprint on the printer and epring on the embedded web server should be turned off. I did both and went about my work until I saw your email.  Upon seeing your message, I went to the HP OfficeJet 6700 Premium printer and enabled web services, then went to the console of nearby MacMini, clicked on the printer icon in the dock, clicked "settings" and clicked "show printer webpage" and the on the printer webpage, I went to "eprint" tab, turned it on and for the first time EVER, I heard  the connecting chime and saw a green check mark on the web instead of a red x. I returned to printer console, answered the questions and printed the instrucitons, logged into HPeprint center through Safari  and changed my password for this printer on the HP ePrint center using the code  receive on the instruction page.   Everything looks good to go.
    Thanks for the advice on the caps. I really did not intend to send the question at all.  Glad I did.

  • How to make Mac OS X Server auto-configure Airport Extreme port-mapping

    Mac OS X Server can automatically configure AirPort Extreme to make services such as iChat, Mail, Web, and VPN accessible: http://www.apple.com/server/macosx/features/networking-vpn.html
    I presume this configuration generally takes place during a fresh installation of the server.
    Is there any way to re-run this process post-installation?

    That page talks about Snow Leopard's Networking abilities, not Leopards.
    Off hand, I don't know whether what you describe is a new feature in Snow Leopard or not, but I've never seen Leopard do it (and, to be honest, wouldn't want to).
    In either case, it's basically just Bonjour telling the router to configure port forwarding. Given that, I'd start by enabling mod_bonjour in Apache:
    #LoadModule bonjour_module libexec/apache2/mod_bonjour.so
    but I don't know how other processes are doing it.

Maybe you are looking for