I have a WRT350N V2.1 from Linksys. Yesterday i installed Backfire 10.03 on it. Now i try to setup a samba server with Luci, but i cant access the share. Windows always ask me after a username and password. I tried to chang "security = user" to "sercurity = share". Now windows say it have no access to the directory. I use Windows 7. I also try add "public = true" to smb.conf, but always when i restart samba it generate a new smb.conf and delete my changs. Pleas help me.
/etc/samba/smb.conf.templat:
[global]
netbios name = |NAME|
workgroup = |WORKGROUP|
server string = |DESCRIPTION|
syslog = 10
encrypt passwords = true
passdb backend = smbpasswd
obey pam restrictions = yes
socket options = TCP_NODELAY
unix charset = ISO-8859-1
preferred master = yes
os level = 20
security = share
guest account = nobody
invalid users = root
smb passwd file = /etc/samba/smbpasswd/etc/samba/smb.conf:
global]
netbios name = openwrt
workgroup = openwrt
server string = openwrt
syslog = 10
encrypt passwords = true
passdb backend = smbpasswd
obey pam restrictions = yes
socket options = TCP_NODELAY
unix charset = ISO-8859-1
preferred master = yes
os level = 20
security = share
guest account = nobody
invalid users = root
smb passwd file = /etc/samba/smbpasswd
[homes]
comment = Home Directories
browseable = no
read only = no
create mode = 0750
[usb]
path = /usb
read only = no
guest ok = yes
create mask = 0706
directory mask = 0706/etc/config/samba:
config 'samba'
option 'name' 'openwrt'
option 'workgroup' 'openwrt'
option 'description' 'openwrt'
option 'homes' '1'
config 'sambashare'
option 'read_only' 'no'
option 'create_mask' '0706'
option 'dir_mask' '0706'
option 'name' 'usb'
option 'path' '/usb'
option 'guest_ok' 'yes'(Last edited by Bergi84 on 8 Jul 2010, 09:00)
