January 30, 201313 yr Hi, First I want to say that UnRaid is a great system, very robust and great to work with. Overall better than my Windows machine that is now retired. I have hit some snags but I was able to get out of them, and learned quite a bit over the last few months. As the subject describes I have an issue with my Samba shares where they prompt for a user name and password. At home it this pops up in a Win 7 machine I just type user in the User name, hit enter and voila I enter the share. XBMC has no issues accessing the share. I'm on a Workgroup. When I tunnel to my SAMBA shares via Putty and SSH from my work computer this poses a problem, it won't accept any credentials I offer it. I would like to know how I can work around this problem so my shares accept a connection from any user and/or group automatically with out prompting for credentials. My buddy is running version 4.x and he does not have this issue. I'm currently running RC11 Pro and experienced the same with RC8. I tried searching this forum and several Linux forums for a similar problem, however I could not find anything. Deatails... SMB Settings: Enable SMB: Yes (Workgroup) Workgroup: WORKGROUP Local Master: No Users: root - with password user - no password Your help is appreciated. Linux Newb
January 30, 201313 yr One thing is that 'root' no longer has any access to user shares in the new version 5 security model. Only 'nobody' and members of the 'users' group and 'guest accounts' have access. In version 4.X, I believe that 'root' was the owner of all shares. Unfortunately, that can lead to a big security hole that could be exploited by someone who gained access through user shares.
January 30, 201313 yr This needs to be in the migration guide. For general help on the new permissions/security setup, see http://lime-technology.com/wiki/index.php/Plugin/webGui/SMB. For more info on the new security model (old, may no longer be accurate), see http://lime-technology.com/forum/index.php?topic=7047.0. Edit: as to being able to avoid requiring passwords, see Tom's comments here.
January 30, 201313 yr Author Thanks RObJ, I'm not migrating, I'm actually quite new to UnRaid, started with v5 RC8. I will look at TOM's comments and play around with the server tonight.
February 9, 201313 yr Author So I removed the second user named "user" now I can not access my shares via a windows 7 machine at all. I can not access the shares because they are prompting me for a username and since I removed the second account I can not log in with root. Seems like an issue with samba and v5 of Unraid.
February 9, 201313 yr 1) On your windows machine. Go to and open 'Control Panel'. Open 'Credential Manager'. Delete all Windows Credentials. 2) Delete all users from unRAID except for 'root' 3) If you are running rc11, run the 'New Permissions' script.
February 12, 201313 yr Author Thanks Frank, I will try that. I think you might have something there because from work when I connect to my shares it doesn't prompt me for credentials. *******Update******** Thanks again Frank, that suggestion worked. I deleted the generic account and I removed all my credentials in Credential Manager in Control Panel. I actually took this a step further and disabled the Credential Manager service and edited my local group policy so it will no longer store passwords locally.
Archived
This topic is now archived and is closed to further replies.