exist2resist Posted January 30, 2013 Share Posted January 30, 2013 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 Quote Link to comment
Frank1940 Posted January 30, 2013 Share Posted January 30, 2013 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. Quote Link to comment
RobJ Posted January 30, 2013 Share Posted January 30, 2013 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. Quote Link to comment
exist2resist Posted January 30, 2013 Author Share Posted January 30, 2013 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. Quote Link to comment
exist2resist Posted February 9, 2013 Author Share Posted February 9, 2013 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. Quote Link to comment
dgaschk Posted February 9, 2013 Share Posted February 9, 2013 Try this command: "net use \\SERVERNAME /u:DOMAIN\USER" 1 Quote Link to comment
Frank1940 Posted February 9, 2013 Share Posted February 9, 2013 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. Quote Link to comment
exist2resist Posted February 12, 2013 Author Share Posted February 12, 2013 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.