Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SAMBA shares prompting for user and password

Featured Replies

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

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.

  • 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.

  • 2 weeks later...
  • 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.

Try this command: "net use \\SERVERNAME /u:DOMAIN\USER"

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. 

  • 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.

;D

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.