Imagine
12.09.05, 11:35
Hallo,
ich blick's gerade nicht ganz mit Samba-Freigaben. Hier ist erst mal meine smb.conf:
#======================= Global Settings =======================
[global]
dns proxy = no
log file = /var/log/samba/log.%m
server string = %h server (Samba %v)
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spas
sword:* %n\n .
invalid users = root
socket options = TCP_NODELAY
obey pam restrictions = yes
workgroup = GaspersLouis
os level = 20
encrypt passwords = true
syslog = 0
panic action = /usr/share/samba/panic-action %d
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam guest
max log size = 1000
[homes]
create mask = 0700
directory mask = 0700
comment = Home-Verzeichnis auf Backup-Server
writeable = yes
[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin
# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes
# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
[Gemeinsame Dateien]
create mask = 0700
directory mask = 0700
readonly = no
comment = Gemeinsame Dokumente
writeable = yes
public = yes
path = /home/Dokumente
[Datensicherung]
path = /backup
[makler2000]
path = /home/makler2000
Mir geht es um [Gemeinsame Dateien], hier kann zwar gelesen werden, aber nicht auf die Verzeichnisse geschrieben werden. Was habe ich hier falsch konfiguriert? Die User bekommen die Windowsmeldung "Zugriff verweigert". Und zwar in den Ordnern innerhalb der Freigabe. An oberster Stelle kann abgespeichert werden, nur zum Beispiel eine Ebene weiter tiefer nicht.
Was ist die korrekete Einstellung, damit das Lesen/Schreiben rekursiv erstellt wird?
Vielen Dank!
Imagine
ich blick's gerade nicht ganz mit Samba-Freigaben. Hier ist erst mal meine smb.conf:
#======================= Global Settings =======================
[global]
dns proxy = no
log file = /var/log/samba/log.%m
server string = %h server (Samba %v)
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spas
sword:* %n\n .
invalid users = root
socket options = TCP_NODELAY
obey pam restrictions = yes
workgroup = GaspersLouis
os level = 20
encrypt passwords = true
syslog = 0
panic action = /usr/share/samba/panic-action %d
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam guest
max log size = 1000
[homes]
create mask = 0700
directory mask = 0700
comment = Home-Verzeichnis auf Backup-Server
writeable = yes
[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin
# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes
# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
[Gemeinsame Dateien]
create mask = 0700
directory mask = 0700
readonly = no
comment = Gemeinsame Dokumente
writeable = yes
public = yes
path = /home/Dokumente
[Datensicherung]
path = /backup
[makler2000]
path = /home/makler2000
Mir geht es um [Gemeinsame Dateien], hier kann zwar gelesen werden, aber nicht auf die Verzeichnisse geschrieben werden. Was habe ich hier falsch konfiguriert? Die User bekommen die Windowsmeldung "Zugriff verweigert". Und zwar in den Ordnern innerhalb der Freigabe. An oberster Stelle kann abgespeichert werden, nur zum Beispiel eine Ebene weiter tiefer nicht.
Was ist die korrekete Einstellung, damit das Lesen/Schreiben rekursiv erstellt wird?
Vielen Dank!
Imagine