ASSIGN PASSWORD TO ACCESS SAMBA SHARE

ASSIGN PASSWORD TO ACCESS SAMBA SHARE

Postby fcd47308 » 28 Mar 2022, 11:17

Good morning everyone!

I wanted to have a password when accesing my share (an atatched usb drive) using samba over my network

I followed the guide in the faq section, that is I I nstalled thw authorisation module, assigned a password, rebooterd the player and replaced the following lines in the ORIGINAL settings file as follows

for
security=share
guest account=root
guest only = yes

I put
security=user
guest ok=No
force user=root

I try to access the share from a windows 10 machine on which I installed through additional features support for smb1 and I am getting the message while trying to logon that the network credentials are wrong, that is windows 10 is not accepting root and passwork, complaining that either user or password are wrong
Any suggestions?

ASUS O!Play R1 (amp_r13)
NoGui
Bootcode 23
fcd47308
 
Posts: 28
Joined: 03 Jan 2012, 10:49

Re: ASSIGN PASSWORD TO ACCESS SAMBA SHARE

Postby Virtual » 29 Mar 2022, 21:17

and the meaning of the password in the home network?
ps windows-10 evil
марсы: HDS7 (смотрелка AMP скин vrt уже без вариантов)
HDR12 AMP (обычно сервер с RAM 256 и возможностью подключить 2 SATA диска 2T+)
XTR PRO(AMP, HTTP(S) NFS SMB FTP сервер +trans2.90 + 2 SATA диска 2T+
сатурны: XTR Prodigy, R6S(512Mb_NAND), HD900A(_MD*) прошивка
User avatar
Virtual
 
Posts: 6768
Joined: 01 Oct 2010, 17:17
Location: RU

Re: ASSIGN PASSWORD TO ACCESS SAMBA SHARE

Postby fcd47308 » 30 Mar 2022, 19:46

(cut) overquoting! Forum rules 4.19!

Thank you very much for replying

You see, I have very poor neighbours (they are anyway poorer than I am....) and I have allowed them access to Internet through my router, since they cannot afford to pay for Internet.

That's whay I asked for password support. since I store also family photos, documents etc on this share. I trust those people, but I believe control is better.

Do you think its possible? If not, then I will simply dettach the usb drive!

ASUS O!Play R1 (amp_r13)
NoGui
Bootcode 23
fcd47308
 
Posts: 28
Joined: 03 Jan 2012, 10:49

Re: ASSIGN PASSWORD TO ACCESS SAMBA SHARE

Postby Virtual » 30 Mar 2022, 23:19

yes it is possible, but!
IMHO you should think about DMZ on the router, it's safer than letting neighbors into the local network
марсы: HDS7 (смотрелка AMP скин vrt уже без вариантов)
HDR12 AMP (обычно сервер с RAM 256 и возможностью подключить 2 SATA диска 2T+)
XTR PRO(AMP, HTTP(S) NFS SMB FTP сервер +trans2.90 + 2 SATA диска 2T+
сатурны: XTR Prodigy, R6S(512Mb_NAND), HD900A(_MD*) прошивка
User avatar
Virtual
 
Posts: 6768
Joined: 01 Oct 2010, 17:17
Location: RU

Re: ASSIGN PASSWORD TO ACCESS SAMBA SHARE

Postby fcd47308 » 31 Mar 2022, 08:19

Is it possible by just editing the settings file? If yes, can you suggest?

ASUS O!Play R1 (amp_r13)
NoGui
Bootcode 23
ASUS O!Play R1 (amp_r13)
NoGui
Bootcode 23
fcd47308
 
Posts: 28
Joined: 03 Jan 2012, 10:49

Re: ASSIGN PASSWORD TO ACCESS SAMBA SHARE

Postby Virtual » 31 Mar 2022, 23:43

yes it is possible
1.
исправить файл: /usr/local/etc/mos/etc/init/S12samba (закомментировать строку)
#guest ok=yes
Снимок экрана от 2022-04-01 00-41-34.png
Снимок экрана от 2022-04-01 00-41-34.png (37.8 KiB) Viewed 751 times

2. назначить пароль SAMBA USER root и перезапустить службу
Снимок экрана от 2022-04-01 00-39-57.png
Снимок экрана от 2022-04-01 00-39-57.png (42.11 KiB) Viewed 751 times
марсы: HDS7 (смотрелка AMP скин vrt уже без вариантов)
HDR12 AMP (обычно сервер с RAM 256 и возможностью подключить 2 SATA диска 2T+)
XTR PRO(AMP, HTTP(S) NFS SMB FTP сервер +trans2.90 + 2 SATA диска 2T+
сатурны: XTR Prodigy, R6S(512Mb_NAND), HD900A(_MD*) прошивка
User avatar
Virtual
 
Posts: 6768
Joined: 01 Oct 2010, 17:17
Location: RU

Re: ASSIGN PASSWORD TO ACCESS SAMBA SHARE

Postby fcd47308 » 03 Apr 2022, 10:04

I followed your guide and it worked out of the box.

Thank you very much for your time and effort!!

ASUS O!Play R1 (amp_r13)
NoGui
Bootcode 23
ASUS O!Play R1 (amp_r13)
NoGui
Bootcode 23
fcd47308
 
Posts: 28
Joined: 03 Jan 2012, 10:49


Return to About Asus O!Play

Who is online

Users browsing this forum: No registered users and 1 guest

cron