Configure samba for three users
Hi Oleg, please help me, STEP-BY-STEP.
I am using WL-500gx with firmware version 1.9.2.7-5a.
I am need configure samba server for three users.
I have extrenal usb hdd mounted /usr/tmp/harddisk/
I am need configure three users:
user1 with password1 access to directory read/write to /usr/tmp/harddisk/user1
user2 with password2 access to directory read/write to /usr/tmp/harddisk/user2
user3 with password3 access to directory only read to /usr/tmp/harddisk/user1 and /usr/tmp/harddisk/user2
Thanks for your help!!!
unreal1024@seznam.cz
How can I give back original setting?
Quote:
Originally Posted by Oleg
You've to manualy configure nvram options to fix this. I've no idea which codepage is used in Czech Republic, so someone else (probably engy) should post correct settings. For the Russian cp1251 I use these commands:
Code:
nvram set usb_vfat_options=codepage=866,iocharset=cp1251
nvram set usb_smbcpage_x=866
nvram set usb_smbcset_x=1251
nvram commit
I tried Oleg's setting (with Josef's Czech modification) and it really works. Samba is now shortening all file names. But that is not what I want.
How can I return to the original setting?
My problem is that some files containing Czech letters were not possible to copy on Samba disk. I hoped to solve this problem by this code but the reason is shortening, not correct displaying (submining) by Samba.
Thanks in advance