My 1st Lion bug ... with NAS drive

Discussion in 'Mac OS X Lion (10.7)' started by mmomega, Feb 24, 2011.

  1. macrumors demi-god

    mmomega

    Joined:
    Dec 30, 2009
    Location:
    DFW, TX
    #1
    1st Lion bug for me so far

    I can no longer log into my Western Digital MyBook World NAS.

    Guest account shows up in finder but I have a password set to read/write to the drive. When I go to "Connect as" and Log in as Admin I get "The version of the server you are trying to connect to is not supported. Contact admin..."

    Works just fine on SL on any other Mac.
     
  2. celticpride678

    Joined:
    Feb 15, 2009
    Location:
    Boston, MA
    #2
    It might not be an issue with Lion. That specific hard drive may just not support it.
     
  3. thread starter macrumors demi-god

    mmomega

    Joined:
    Dec 30, 2009
    Location:
    DFW, TX
    #3
    Sorry not understanding what the hard may not support.

    If you mean the connect as, then it does and it always has.

    As stated before the exact same steps for logging into the user specific accounts work on all other Macs under Snow Leopard, Lion is a no go ATM.
     
  4. macrumors 6502a

    Joined:
    Sep 29, 2006
    #4
    I have the exact same issue here with a FreeNAS server using AFP. I get the same message. I sure hope it is a simple bug in Lion and not something that has to be changed with all the NAS software. All I see in the logs of FreeNAS is error in afp_open.
     
  5. thread starter macrumors demi-god

    mmomega

    Joined:
    Dec 30, 2009
    Location:
    DFW, TX
    #5
    I reported it as soon as I found it, hoping for a fix in the next build or two.
     
  6. macrumors 6502a

    Joined:
    Apr 22, 2005
    #6
    You should be able to connect fine using cifs:// or smb://

    You may even find it is faster!
     
  7. macrumors 6502a

    Transeau

    Joined:
    Jan 18, 2005
    Location:
    Alta Loma, CA
    #7
    +1 for me.

    Lion can not connect to my FreeNAS *OR* my 10.6.6 Xserve
     
  8. macrumors newbie

    Joined:
    Jan 18, 2010
    Location:
    UK
    #8
    smb works fine

    Connecting by smb works fine. I didn't have a great deal of time to look into the problems yesterday but I do wonder if the problems are with authentication. Guest accounts work fine. I do wonder if taking the password off the account may work. AFP is still showing as v2.0 but something has changed somewhere.

    This was from a Synology NAS.
     
  9. macrumors regular

    Joined:
    Nov 8, 2010
    #9
    The same issue with synology ((
     
  10. Jermn8r, Feb 25, 2011
    Last edited: Feb 25, 2011

    macrumors newbie

    Joined:
    Mar 15, 2009
    #10
    Same here guys, I can't connect to my NAS. I use a pogoplug and samba solution... Normally I can connect to my samba drives by going to Go > Connect To Server but it won't work now.

    I get the same error message... Hopefully this will be fixed in a future beta. Macs running SL connect to the same share flawlessly. Two Apple TV 2's also connect to the same share. Filed a report.
     
  11. macrumors newbie

    Joined:
    Jun 5, 2007
    #11
    The issue definitely appears to be a change in the version of the AFP client that Lion is using. For now, I fixed it by changing the afpd server running on my NAS. If you don't know what SSH is, don't try this, because I have no interest in turning this into a support thread.

    I have a Netgear ReadyNAS Duo, so my steps are specific to that device...


    1. SSH to NAS
    2. find afpd.conf (mine was at /etc/netatalk/afpd.conf)
    3. my original line looked like this:
    Code:
     - -uamlist uams_clrtxt.so,uams_dhx.so -unixcodepage UTF8 -maccodepage MAC_ROMAN -setuplog "default log_info /var/log/netatalk.log"
    I replaced it with this:
    Code:
     - -uamlist uams_guest.so -unixcodepage UTF8 -maccodepage MAC_ROMAN -guestname "admin" -setuplog "default log_info /var/log/netatalk.log"
    Things to note about the above changes:
    I changed the available UAM list, so instead of only accepted clear-text passwords (uams_clrtxt.so) or encrypted passwords (uams_clrtxt.so), it accepted only guest connections (uams_guest.so).

    In order to get the right permissions for my shares, I had the guest account automatically use the "admin" account (-guestname "admin").

    THIS MEANS ANYONE ON THE NETWORK CAN ACCESS THE SHARES, AND THEY WILL BE LOGGED IN AS ADMIN. YOU HAVE BEEN WARNED.

    I still can't get timemachine to work over the network, but this is a start. Unfortunately my NAS uses the Debian Sarge release, which is really dated. If anyone else's NAS uses a more modern release, try upgrading your netatalk to a newer version (apt-get upgrade netatalk, or download it from the netatalk site and compile from source). Also, try a different encryption type (uams_dhx2.so). It requires libgcrypt, which I couldn't get installed on my NAS. I could see the list of available UAMS at /usr/lib/netatalk/

    My guess is that it will require an upgrade on the NAS, as it appears Apple has updated their AFP client to be more secure. *Maybe* they'll allow a less secure "compatibility" mode, but I'm not holding my breath.

    Best of luck!
    Paul
     
  12. macrumors newbie

    Joined:
    Jun 5, 2007
    #12
    After doing some additional investigation, it looks like some smarter people have come to the same conclusion as me: the new version of AFP requires DHX2 authentication. The reason they are smarter? They came up with a solution (at least for ReadyNAS Duo devices):

    http://www.readynas.com/forum/viewtopic.php?f=28&t=51033 (see end of thread)
     
  13. macrumors newbie

    Joined:
    Jul 24, 2011
    Location:
    Winooski Beach
    #13
    smb:// worked great!! Thanks a million!!!!

    And it IS faster too... thanks!!

    Cheechvt
     
  14. Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #14
  15. elppa, Oct 2, 2011
    Last edited: Oct 2, 2011

    macrumors 68040

    elppa

    Joined:
    Nov 26, 2003
    #15
    I've tried this fix posted to the WD Support forums (for the My Book World Edition).

    I can confirm it works. Western Digital have committed themselves to a firmware update which will fix this issue (they did actually release one on 12th Sep, but had to pull it due to some issues), so these instructions should only be followed if you are not patient enough to wait.

    The instructions take you to a forum post, which link you to a wiki post, which link you to drupal free.fr site, so for simplicities sake I have condensed below:

    Part One - Turn on SSH (in the admin panel)
    [1] Go to to http://mybookworld.local
    [2] login: username will be admin, password will be whatever you have setup. If you can't remember it should be in your Mac OS X keychain (Utilities > Keychain Access, search for "mybookworld"). If you have not changed if from the default the password will be admin as well.
    [3] Switch to advanced mode.
    [4] From the System tab, pick Advanced.
    [5] Enable SSH Access, and click submit.
    [6] Click on the network tab and then the LAN button
    [7] Make a note of the IP address

    Small, maybe obvious, but nevertheless important point: For the install to work, your NAS needs to be connected to a router with internet access.

    Part Two - Install netatalk2.2
    [8] Open Terminal.app (Utilities > Terminal)
    [9] Enter the following command (substitute in 127.0.0.1 for the actual IP address you noted down in step 7), then hit return:
    Code:
    ssh root@127.0.0.1
    [10] When prompted, enter the ssh password (will be welc0me).
    [11] You are now going to download the installer. Enter the following command, then hit return:
    Code:
    wget http://mybookworld.wikidot.com/local--files/netatalk2-2-on-whitelight/install_netatalk.sh -O install_netatalk.sh
    [12] Once completed, you will need to run the installer. Type:
    Code:
    sh install_netatalk.sh
    [13] You will be asked a number of question during install, answer yes to all. When asked about the "DHX2 login process", I opted to install the modified version, so I can confirm it works.
    [14] Once the box has restarted, you should be able to connect to your afp shares and continue to use Time Machine.
     
  16. macrumors 6502a

    Joined:
    Mar 2, 2005
    #16
    I can confirm that this fix still works; I'm running 10.9 and am pleased that after three years of being unable to use Time Machine on a $300 hard drive (though previously successful) I can now back up my system again!

    Thanks, elppa!

    -=|Mgkwho
     
  17. macrumors newbie

    Joined:
    Feb 28, 2014
    #17
    Help undoing this...

    Hi, my WD white light time capsule stopped connecting earlier this week so in desperation I followed the process kindly posted below. However, it didn't work so I wonder if anyone could help me undo the installing netatalk bit as I'm worried I've made some change that could impact elsewhere and worse still my time capsule still isn't working. Thanks in advance.

    Paul
    (macrumors newbie)

     

Share This Page