March 5, 201610 yr Hello, Ever since I have setup my unRAID I have only been able to connect as Guest. I have only 1 user setup in the web dashboard and I can login there perfectly fine, however when I enter my credentials in the Finder sidebar, it says "Connection Failed". This was fine so far, however, I am on a Mac machine and I am backing up Time Machine to the server. Backups are running fine, but now I need to do a system restore and it is asking me for a name a password for the server "Rumy-unRAID.local." so that Time Machine can access it. I have tried all possible combinations that I could think of. I have searched online for solutions, but with no luck. I do not even have the option to switch to Guest while in the system restore. It only has name pre-populated as "System Administrator" and I have tried my admin password and it did not work either. Please advise. I am on version 6.1.9.
March 5, 201610 yr Community Expert Are you trying to log in as root? If so, root is explicitly prohibited (for security reasons) from logging into any share.
March 5, 201610 yr Author Yes, I was. I just added another user and set the share to secure but now I am getting an unexpected error 13
March 5, 201610 yr I use Macs too. Macs connected via AFP create files with different permissions than Windows computers connected via SMB. What you really needed to do when you first set up your server was to add a user for each user on your computer. That would allow each person's files to be kept private from the other users. Files that you want everyone to be able to access you could put in a public share. Time Machine needs to run either as an existing user or as a separate user, such as a user called TM or TimeMachine. Adding users retrospectively isn't going to work without some adjusting of ownerships and permissions via the Linux command line. Suppose you have added a user called TM whom you want to own your Time Machine backups. Suppose you have a user share called TimeMachine. In the unRAID webGUI you'll need to go to the Shares page and set TimeMachine to be Exported by AFP and Private. Then under AFP User access (it will say that Guests have no access) add user TM with read/write permissions. Then telnet or ssh into the server and change the ownership of the TimeMachine share and everything inside it with chown -R TM /mnt/user/TimeMachine which will take some time as it has to update a lot of band files within your Time Machine sparse image. Now, over on your Mac you should be able to open Time Machine preferences and reselect the TimeMachine share on your server, logging in with the username TM and the password you set for that user when you added it to unRAID. Then you should be able to choose the sparse image containing your backups. Disclaimer: I'm writing this from memory and not testing it as I go. Proceed at your own risk.
March 5, 201610 yr Community Expert Yes, I was. I just added another user and set the share to secure but now I am getting an unexpected error 13 I am not the best person to be trying to help here as I do NOT use secured shares. Are you using Samba (SMB)? Did you add your new user to the list of allowed users for that share (and protocol) in unRAID? Did you google the error message? You also need to be explicit about exactly where you are doing things. On the server or on the Mac.
March 5, 201610 yr Author I use Macs too. Macs connected via AFP create files with different permissions than Windows computers connected via SMB. What you really needed to do when you first set up your server was to add a user for each user on your computer. That would allow each person's files to be kept private from the other users. Files that you want everyone to be able to access you could put in a public share. Time Machine needs to run either as an existing user or as a separate user, such as a user called TM or TimeMachine. Adding users retrospectively isn't going to work without some adjusting of ownerships and permissions via the Linux command line. Suppose you have added a user called TM whom you want to own your Time Machine backups. Suppose you have a user share called TimeMachine. In the unRAID webGUI you'll need to go to the Shares page and set TimeMachine to be Exported by AFP and Private. Then under AFP User access (it will say that Guests have no access) add user TM with read/write permissions. Then telnet or ssh into the server and change the ownership of the TimeMachine share and everything inside it with chown -R TM /mnt/user/TimeMachine which will take some time as it has to update a lot of band files within your Time Machine sparse image. Now, over on your Mac you should be able to open Time Machine preferences and reselect the TimeMachine share on your server, logging in with the username TM and the password you set for that user when you added it to unRAID. Then you should be able to choose the sparse image containing your backups. Disclaimer: I'm writing this from memory and not testing it as I go. Proceed at your own risk. Thank you, John_M, I will give this a try.
March 5, 201610 yr Author After running the code in telnet to change ownership, would I see anything in the WebGUI logs? How will I know if it is done?
March 5, 201610 yr It's done when the prompt reappears. ls -l /mnt/user/TimeMachine should confirm the contents are now owned by user TM instead of user nobody.
Archived
This topic is now archived and is closed to further replies.