Hi Folks,
I try to run Multi-user for Samba.
actually i have my 3 users in the passwd file with this script: tomatousb.org/tut:adding-your-own-users
passwd:
root:x:0:0:root:/root:/bin/sh
Chef:x:100:100:nas:/dev/null:/dev/null
nobody:x:65534:65534:nobody:/dev/null:/dev/null
Roland:x:200:200:Roland:/home/Roland:/bin/sh
Johannes:x:201:201:Johannes:/home/Johannes:/bin/sh
Heinrich:x:201:201:Heinrich:/home/Heinrich:/bin/sh
the users where added with: smbpasswd <username> <password>
then i tryed to modify the /etc/smb.conf
[global]
interfaces = br0
bind interfaces only = yes
workgroup = WORKGROUP
netbios name = ROUTER
server string = tomato
guest account = nobody
security = user
guest ok = no
guest only = no
browseable = yes
syslog only = yes
timestamp logs = no
syslog = 1
encrypt passwords = yes
use sendfile = yes
preserve case = yes
short preserve case = yes
wins support = yes
domain master = yes
local master = yes
preferred master = yes
os level = 65
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
[ALLES]
path = /tmp/mnt
writable = yes
delete readonly = yes
force user = root
comment = ois
[EINSTELLUNGEN]
path = /opt
writable = yes
delete readonly = yes
force user = root
comment = OPT
[LogDatei]
path = /opt/LOG/log
comment = Logdatei
[TERRRAPLATT]
path = /tmp/mnt/Terrraplatt
writable = yes
delete readonly = yes
force user = root
comment = Terraplatt
[SCHEISSE]
path = /tmp/mnt/SCHEISSE
comment = SCHEISSE
writable = yes
delete readonly = yes
force user = root
[Terrraplatt]
path = /tmp/mnt/Terrraplatt
comment = Terrraplatt
writable = yes
delete readonly = yes
force user = root
everything "saved" with
nvram setfile2nvram <filename>
nvram commit
but after every reset SAMBA writes his own config from the Web GUI in these file
My Question.
*)How do i use the Samba Custom Konfiguration in the WebGui
*)is there a other way to overwrite the system settings