IceBox
07.01.06, 16:01
ich hab hier einen gentoo fileserver und einen winxp/98 rechner
ich will folgendes haben:
Jeder nutzer (Alex,Adriana,Gabi) soll auf sein persönliches verzeichniss nur per username/pw zugreichen könnnen und kein anderer (und das von jedem rechner aus)
Die verzeichnisse media, install, public sollen von jedem beschreibbar sein
auf Das verzeichniss Apache soll nur der nutzer Alex zugriff haben
wie muss ich samba bzw die win rechner configen, damit des alles so funzt?
hab schon etliche how-to's durch aber dabei kommt nur müll raus
mitlerweile kommt bei win xp sogar nen anmelde fenster, wenn ich auf eine frigabe klicke aber ich kann da keinen benutzernamen eingeben, der steht fest auf gast :(
hier mal meine smb.conf:
[global]
workgroup = fortuna
netbios name = carino
server string = File Server
log file = /var/log/samba3/log.%m
max log size = 50
map to guest = bad user
security = share
guest account = guest
guest ok = yes
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
interfaces = 192.168.0.3/24
bind interfaces only = Yes
unix password sync = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[Apache]
comment = Webserver
browseable = yes
public = yes
guest ok = yes
path = /var/www/localhost/htdocs
read only = no
valid users = alex
[Alex]
browsable = yes
public = no
guest ok = no
path = /fileserver/alex
readonly = no
valid users = alex
[Gabi]
browsable = yes
public = no
guest ok = yes
path = /fileserver/gabi
readonly = no
valid users = gabi
[Adriana]
browsable = yes
public = no
guest ok = yes
path = /fileserver/adriana
readonly = no
valid users = adriana
[Media]
comment = Music & Videos
browsable = yes
public = yes
guest ok = yes
path = /fileserver/other/media
read only = no
[Install]
comment = Instalations Files
browsable = yes
public = yes
guest ok = yes
path = /fileserver/other/install
read only = no
[Public]
comment = Sammelstelle
browsable = yes
public = yes
guest ok = yes
path = /fileserver/other/public
read only = no
ich will folgendes haben:
Jeder nutzer (Alex,Adriana,Gabi) soll auf sein persönliches verzeichniss nur per username/pw zugreichen könnnen und kein anderer (und das von jedem rechner aus)
Die verzeichnisse media, install, public sollen von jedem beschreibbar sein
auf Das verzeichniss Apache soll nur der nutzer Alex zugriff haben
wie muss ich samba bzw die win rechner configen, damit des alles so funzt?
hab schon etliche how-to's durch aber dabei kommt nur müll raus
mitlerweile kommt bei win xp sogar nen anmelde fenster, wenn ich auf eine frigabe klicke aber ich kann da keinen benutzernamen eingeben, der steht fest auf gast :(
hier mal meine smb.conf:
[global]
workgroup = fortuna
netbios name = carino
server string = File Server
log file = /var/log/samba3/log.%m
max log size = 50
map to guest = bad user
security = share
guest account = guest
guest ok = yes
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
interfaces = 192.168.0.3/24
bind interfaces only = Yes
unix password sync = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[Apache]
comment = Webserver
browseable = yes
public = yes
guest ok = yes
path = /var/www/localhost/htdocs
read only = no
valid users = alex
[Alex]
browsable = yes
public = no
guest ok = no
path = /fileserver/alex
readonly = no
valid users = alex
[Gabi]
browsable = yes
public = no
guest ok = yes
path = /fileserver/gabi
readonly = no
valid users = gabi
[Adriana]
browsable = yes
public = no
guest ok = yes
path = /fileserver/adriana
readonly = no
valid users = adriana
[Media]
comment = Music & Videos
browsable = yes
public = yes
guest ok = yes
path = /fileserver/other/media
read only = no
[Install]
comment = Instalations Files
browsable = yes
public = yes
guest ok = yes
path = /fileserver/other/install
read only = no
[Public]
comment = Sammelstelle
browsable = yes
public = yes
guest ok = yes
path = /fileserver/other/public
read only = no