PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba: Zugriff verweigert beim Kopieren von Dateine



YoMama78
21.06.05, 02:27
Hallo Leutz

Ich bin am verzweifeln. Hab mit heute nen Samba-Server aufgesetz, was ja einigermaßen problemlos funktioniert hat. Nur hab ich das Problem, dass ich zwar Zugriff auf sie shares habe nur kann ich keine Dateien von Windows aus reinkopieren. es kommt immer die Meldung "Zugriff verweigert". Die Verzeichnisse hab ich mit chmod 0777 auf lesen/schreiben/ausführen gesetzt. Vielleicht is es ja nur ein dummer Fehler von mir.

Hier mal meine smb.conf


[global]

workgroup = msheimnetz
server string = %h (Samba %v)
wins support = yes
dns proxy = no
name resolve order = bcast lmhosts host wins
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = smbpasswd:/etc/samba/smbpasswd
obey pam restrictions = yes
guest account = nobody
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
logon drive = V:
logon script = scripts/logon.bat
logon path = \\smbsvr\profile\%U
username map = /etc/samba/smbusers
domain logons = No
preferred master = Yes
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /val/lib/nobody '%u'
load printers = yes
printing = cups
printcap name = cups
create mask = 0755
directory mask = 0755
socket options = TCP_NODELAY

[homes]
comment = Home Directories
browseable = no
valid users = %S
read only = No

[post]
security = share
comment = Verzeichnis für Jeden
path = /export/shared/post
read only = no
writeable = yes
browseable = yes

[netlogon]
comment = Network Logon Service
path = /export/netlogon
valid users = %U
read only = no

[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
guest ok = yes

[profile]
comment = Benutzerprofile
path = /export/profiles
valid users = %U
create mode = 0600
directory mode = 0700
writeable = yes
browseable = no

[website]
security = share
comment = Verzeichnis für Webseite
path = /export/www
writeable = yes

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no

Tomek
21.06.05, 02:28
Lies bitte wie man hier richtig postet (http://www.linuxforen.de/forums/showthread.php?t=164474) und passe deinen Beitrag bitte entsprechend an. Danke.