SAMBA shares prompting for user and password


Recommended Posts

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

Link to comment

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.

Link to comment
  • 2 weeks later...

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.