[Eisfair] Samba Freigaben zeigen keine symlinks mehr an

Stephan Manske usenet-reply at stephan.manske-net.de
Mo Apr 7 02:29:56 CEST 2025


Hi!

Ich habe eben mal nach längerer Zeit meinen eisfair geupdatet. Es lief 
von einer Netzwerkgeschichte abgesehen alles gut, aber jetzt stehe ich 
vor dem Problem, daß meine Samba-Freigabe die Symlinks nicht mehr 
anzeigt! 8-o

Konkret nutze ich die non-manual-Einstellungen und habe unter ~public 
(was auf /data1 liegt) neben normalen Dateien und Ordern auch Symlinks 
auf Medienordner unter /data2. Diese werden mir weder via Windows noch 
via Android im Sambazugriff angezeigt.

Meine Konfig:


# /etc/config.d/samba - configuration for Samba on eisfair

START_SAMBA='yes'                      # Start on boot: yes or no
SAMBA_WORKGROUP='MANSKE'               # Workgroup name of windows-clients
SAMBA_MANUAL_CONFIGURATION='no'        # Use manual configuration:
SAMBA_COMPAT='no'                      # If 'yes', Samba will support 
very old
                                        # clients and servers.
                                        # This could be a security risk!
SAMBA_INSECURE='no'                    # If 'yes', bind to all 
interfaces and
                                        # allow all nets.
                                        # SAMBA_INTERFACES, 
SAMBA_TRUSTED_NETS
                                        # and interfaces from base were 
ignored.
SAMBA_INTERFACES='192.168.10.1/255.255.255.0'
                                        # Userdefined interfaces for Samba
                                        # Be careful, use this only, if you
                                        # don't want to use all 
interfaces from
                                        # /etc/config.d/base
                                        # You have to specify interfaces 
like
                                        # this: '192.168.7.1/255.255.255.0'
SAMBA_TRUSTED_NETS=''                  # If your network is 192.168.6.0/24
                                        # and you want to grant access also
                                        # to net 192.168.7.0/24, you have to
                                        # add this here like this:
                                        # '192.168.7.0/24'
SAMBA_DEBUGLEVEL='0'                   # For debugging only: 0-10
                                        # You will find debug messages in
                                        # /var/log/log.smbd, 
/var/log/log.nmbd
SAMBA_MASTERBROWSER='yes'              # Act as an masterbrowser: yes or no
SAMBA_WINSSERVER='yes'                 # Act as an WINS-Server: yes or no
                                        # If yes, don't set SAMBA_EXTWINSIP!
SAMBA_WINSHOOK='no'                    # Trigger extra actions, if act as an
                                        # WINS-Server: yes or no
SAMBA_WINSHOOK_MESSAGE_SEND='no'       # Send messages to WINS clients:
                                        # yes or no
SAMBA_WINSHOOK_MESSAGE='Welcome to eisfair server'
                                        # This message will diplayed on
                                        # registering to eisfair
SAMBA_WINSHOOK_DNSUPDATE='no'          # Updating local bind with WINS
                                        # clients: yes or no
SAMBA_EXTWINSIP=''                     # IP address of external WINS-Server;
                                        # if exist, act as an WINS-Client
                                        # Don't set SAMBA_WINSSERVER to 
'yes'!
SAMBA_START_MESSAGE_SEND='no'          # Send start message on Samba start:
SAMBA_START_MESSAGE='eisfair Samba Server is up now ...'
                                        # This message will diplayed on 
start
                                        # on WIN9x-clients with winpopup and
                                        # WIN NT, WIN2K, WINXP
SAMBA_SHUTDOWN_MESSAGE_SEND='no'       # Send shutdown message on Samba 
shutdown:
                                        # yes or no
SAMBA_SHUTDOWN_MESSAGE='eisfair Samba Server is going down now ...'
                                        # This message will diplayed on 
shut-down
                                        # on WIN9x-clients with winpopup and
                                        # WIN NT, WIN2K, WINXP
SAMBA_SHUTDOWN_MESSAGE_HOSTS='all'     # Target hosts for
                                        # SAMBA_SHOW_SHUTDOWN_MESSAGE:
                                        # all or active
SAMBA_LOCALIZATION='ISO8859-15'        # Language adjustment, affected 
to unix
                                        # character set and client codepage
                                        # US        : United States (CP 437)
                                        # ISO8859-1 : Western Europe (CP 
850)
                                        # ISO8859-2 : Eastern Europe (CP 
852)
                                        # ISO8859-5 : Russian Cyrillic 
(CP 866)
                                        # ISO8859-7 : Greek (CP 737)
                                        # ISO8859-15: Western Europe 
with EURO
                                        #      UTF-8: Western Europe 
with EURO
SAMBA_PDC='no'                         # Should Samba act as an Primary 
Domain
                                        # Controller: yes or no
                                        # Read Documentation!
SAMBA_PDC_PROFILES='yes'               # Should Samba store roaming profiles
                                        # if acting as an Primary Domain
                                        # Controller: yes or no
SAMBA_PDC_LOGONSCRIPT='user'           # PDC logon script:
                                        # 'user', 'group', 'machines' or 
'all'
SAMBA_PASSWORD_SERVER=''               # NETBIOS name(s) of external 
password
                                        # server(s) separated by a comma and
                                        # a blank. Example:
                                        # SAMBA_PASSWORD_SERVER='NT-PDC, 
NT-BDC1'
                                        # SAMBA_PASSWORD_SERVER='*'
                                        # Be shure, you have access from 
Samba to
                                        # password server(s)!
SAMBA_VIRUSFILTER='no'                 # Activate scanning for viruses with
                                        # external scanner: yes or no
SAMBA_VIRUSFILTER_TYPE='clamav'        # Type of external virus scanner, 
choose:
SAMBA_RECYCLE_BIN='yes'                # Activate recycle bin in shares
SAMBA_RECYCLE_BIN_HOLD_DAYS='2'        # Hold files for n days in 
recycle bin
SAMBA_RECYCLE_BIN_CRONTAB='15 6 * * *' # Cron configuration string
                                        # Default: 03:15 every night
SAMBA_PDF_TARGET='homedir'             # Target for created pdf files:
                                        # 'homedir', 'public' or 'mail'
SAMBA_SERVERSTRING='Ice, Ice Baby'     # Comment in network neighborhood:
                                        # empty for no string
                                        # or anything else for your string
SAMBA_EXPERT_EXEC='yes'                # Exec sambaexpert: yes or no
                                        # Don't ask for help, while
                                        # this is activated!
SAMBA_SMBWEBCLIENT='yes'               # Install smbwebclient: yes or no
SAMBA_SMBWEBCLIENT_PATH='/var/www/htdocs'
                                        # Install smbwebclient to this 
apache
                                        # document root
SAMBA_OPLOCKS='no'                     # activate oplocking (caching): 
yes or no
SAMBA_KERNEL_OPLOCKS='no'              # activate kernel oplocking if 
SAMBA_OPLOCKS is set to yes: yes or no
SAMBA_ACL_XATTR='no'                   # activate acl_xattr module: yes 
or no


beim Aktivieren kommt eine komische Meldung, weiß nicht, ob die früher 
schon da war:

Activate Samba configuration now (y/n) [y]?
  * Stopping SMBFS - Mount predefined share mounts ... 
                                  [  OK  ]
  * Stopping Samba server ... 
                                  [  OK  ]
SAMBA_MOUNT_1 automount is not active - Manually mount or unmount 
SAMBA_MOUNT_1 ...
SAMBA_MOUNT_2 automount is not active - Manually mount or unmount 
SAMBA_MOUNT_2 ...

und so sehen die Einstellungen direkt in samba aus:

[public]
         comment = public directory on eis
         force create mode = 0777
         force directory mode = 0777
         guest ok = Yes
         path = /public
         read only = No
         vfs objects = recycle
         recycle:subdir_mode = 0700
         recycle:directory_mode = 0777
         recycle:maxsize = 0
         recycle:touch = yes
         recycle:keeptree = yes
         recycle:versions = yes
         recycle:repository = samba_recycle_bin/%u


Mehr Informationen über die Mailingliste Eisfair