-1

i have created a samba server as following

[global]
workgroup = workgroup
server string= samba server %v
dns proxy = no
netbios name = nas
map to guest = bad user
security = user
[rc]
comment=anything
path= /home/egytich/rc
valid users = @sambashare
browsable = yes
writable = yes
read only = no
guest ok = no
create mask = 0775

And then i created new user "asd" using user account in system setting, and i made a password, Then using terminal i added that user to samba by the code sudo sambapasswd -a asd and used the same password i used when i created it, Also i did chmod and chown to sambashare but on windows client, i can see NAS, the server i made but when i click it it ask for password which is good, When i put "asd" and the password it says no permission , if i put wrong password it go back to let me enter the correct password again, what is my mistake here?

8
  • Plz help even with a link, i have been lost on this in the past 4 days and about to give up all linux
    – Egytich
    Jun 23, 2016 at 0:59
  • Restarting the samba server after making config changes is agood idea. For 14.04, run sudo service smbd restart. Jun 23, 2016 at 1:00
  • @mikewhatever i always do using this code and even i restart the whole system, its some thing wrong i am doing in the permission part at chmod and chown i need to understand what is this for
    – Egytich
    Jun 23, 2016 at 1:06
  • How about something with your valid users? Have you looked at this site yet? samba.org/samba/docs/using_samba/ch09.html I bet you have but there's the link to user additions. Give it another read.
    – P Smith
    Jun 23, 2016 at 1:20
  • 1
    There is mistake in share section: its browseable = yes not browsable
    – Taavi
    Jun 23, 2016 at 8:16

1 Answer 1

0

I would try explicitly stating your valid users:

valid users = asd your_username another_user

Another option (workaround?) would be guest okay = yes but I think that may not allow root privileges.

2
  • @P Smith i tried to put guest is ok , but no luck , its the permission and i cant find good page explain it, and groups , i need to know how to check on my user if its under which group and how to cheack which group has permission to access remotely
    – Egytich
    Jun 23, 2016 at 2:02
  • 1
    groups asd shows groups for asd , ls -l /home/egytich/rc shows user, group and permissions
    – Taavi
    Jun 23, 2016 at 8:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .