Hallo,
ich habe plötzlich das Problem, dass ich nicht mehr auf alle Freigaben vom VDR mit einem anderen PC zugreifen kann. Bis zuletzt funktionierte das.
Freigaben habe ich folgendermaßen angelegt:
Ich habe einen Symlink zu meinen Filmen in /srv/video angelegt.
Ich kann von einem anderen PC auch auf alle Aufnahmen in /srv/vdr/video.00 zugreifen.
Meine etc/samba/smb.conf sieht so aus:
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.
# A well-established practice is to name the original file
# "smb.conf.master" and create the "real" config file with
# testparm -s smb.conf.master >smb.conf
# This minimizes the size of the really used smb.conf file
# which, according to the Samba Team, impacts performance
# However, use this with caution if your smb.conf file contains nested
# "include" statements. See Debian bug #483187 for a case
# where using a master file is not a good idea.
#
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = YAVDR
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
#### Debugging/Accounting ####
# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# Cap the size of the individual log files (in KiB).
max log size = 1000
# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0
# Do something sensible when Samba crashes: mail the admin a backtrace
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
# security = user
# You may wish to use password encryption. See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.
encrypt passwords = true
# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam
obey pam restrictions = yes
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
unix password sync = yes
# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
# sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
pam password change = yes
# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
map to guest = bad user
include = /etc/samba/smb.conf.yavdr.recordings
include = /etc/samba/smb.conf.yavdr.audio
include = /etc/samba/smb.conf.yavdr.picture
include = /etc/samba/smb.conf.yavdr.video
include = /etc/samba/smb.conf.custom
Alles anzeigen
Passende dazu habe ich dann noch eine /etc/samba/smb.conf.yavdr.filme erstellt:
[filme]
path = /mnt/Daten/Filme
comment = Filme
browseable = yes
guest ok = yes
# Angemeldete Benutzer dürfen auch schreiben
writeable = no
browseable = yes
# Rechte bei neuen Dateien/Verzeichnissen
# Neue Dateien werden mit diesen Rechten versehen
create mode = 0664
# Neue Verzeichnisse werden mit diesen Rechten versehen
directory mode = 0775
# Benutzer und Gruppenzugehörigkeit
# Egal mit welchen Daten sich ein Benutzer am Server anmeldet
force user = vdr
# Die Daten werden lokal mit diesen Dateizugehörigkeiten abgelegt
force group = vdr
# symlinks werden verfolgt
follow symlinks = yes
wide links = yes
Alles anzeigen
Genauso sieht auch die smb.conf.yavdr.recordings aus (Bzw. nur mit einem anderen Titel) und hier funktioniert die Freigabe.
Auf einem anderen PC kann ich den freigebenen Ordner "video" ja auch sehen und darin auch den "Symlink-Ordner" Filme, nur sobald ich diesen öffnen will, kommt die Fehlermeldung, dass ich keine Rechte habe.
Ich habe an der Konfiguration dieser Dateien selbst nichts geändert, aber trotzdem funktioniert die Freigabe nicht mehr.
Hat wer ne Idee? Wäre euch sehr dankbar