Score:0

Ubuntu Server Simple Password protected share

in flag

I have 3 samba shares and wamt to proptect them, with a password.They are all located in the /media folder with 777 rights. And they work, until i try to password protect them. I have searched for almost 2 hours and nothing works. it either comes up with the login-promt and then, when i ttry to accsess it, windows throws an unknown error. I just want them password protected, with User: user-xxx and Password: xxxxxxx

All help is welcome :(

By the way: Running latest ubuntu-server and samba. Tried reinstalling of samba, but it doesnt work.

My smb.conf:

[global]
workgroup = WORKGROUP
security = user
map to guest = Bad Password


[homes]
comment = Home Directories
browsable = no
read only = no
create mode = 0750

[nas]
path = /media/storage/
public = yes
writable = yes
comment = werner-web
printable = no
guest ok = yes
[kodi]
path = /media/kodi/
public = yes
writable = yes
comment = KODI
printable = no
guest ok = yes
[backup]
path = /media/backup/
public = yes
writable = yes
comment = werner-web
printable = no
guest ok = yes
Morbius1 avatar
es flag
What is missing from your post is if you added the user to the samba password database: `sudo smbpasswd -a some-user-name`
GameTec_live avatar
in flag
did it.... But it still didnt work
Score:0
in flag
[global]
workgroup = WORKGROUP
security = user
map to guest = Bad Password

[nas]
path = /media/storage/
public = no
writable = yes
comment = werner-web
create mask=0777
directory mask=0777
[kodi]
path = /media/kodi/
public = no
writable = yes
comment = PLEX
create mask=0777
directory mask=0777
[backup]
path = /media/backup/winbackup
public = yes
writable = yes
comment = werner-web
create mask=0777
directory mask=0777
[Private-Backups]
path = /media/backup
public = no
writable = yes
comment = Closed-Backup
create mask=0777
directory mask=0777
[ROM]
path = /media/backup/ROM
public = yes
writable = no
comment = ROM
create mask=0777
directory mask=0777

by the way: I am an idiot

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.