[Eisfair_dev] sambaexpert: c39cberarbeitete neue Version 1.0.0

Thomas Zweifel t2fel at gmx.net
Do Jul 19 17:34:41 CEST 2018


Hallo Marcus

Am 19.07.2018 um 17:04 schrieb Marcus Roeckrath:
>> Muss nicht unbedingt "externes editieren" sein, eher nachdem die
>> samba.conf neu geschrieben wurde, die hinterlegten 'hide files', 'veto
>> files' und Papierkorb-definitonen für die Shares zu reaktivieren.
> 
> Das brauchst du garnicht, da das Samba-Paket selbst checked, ob es die
> sambaexpert-Konfigurationsdatei gibt und dann selbständig den merge
> anstößt.
> 
> Es gibt also keinen Grund, nach Editieren des Konfigurationsänderung im
> Samba-Paket, selbst fürs mergen zu sorgen.

Also die 5.0.0 tut es nicht:

Checking configuration file ...

Activate Samba configuration now (y/n) [y]?
 * Stopping Smbfs ...                                        [  OK  ]
 * Stopping Samba ...
   - Stopping smbd ...                                       [  OK  ]
   - Stopping nmbd ...                                       [  OK  ]
Configuration file was saved as smb.conf.sic in /etc.
SAMBA_USERMAP_2 is not active - skipping SAMBA_USERMAP_2 ...
SAMBA_SHARE_2 is not active - skipping SAMBA_SHARE_2 ...
SAMBA_SHARE_4 is not active - skipping SAMBA_SHARE_4 ...
Creating /samba_dfs and mounting ...
Mounted /usr/local/share/samba/dfs_root.img --rw.
SAMBA_DFSROOT_1 is not active - skipping SAMBA_DFSROOT_1 ...
Umounting and removing /samba_dfs ...
No msdfs link found, removing /usr/local/share/samba/dfs_root.img ...
SAMBA_PRINTER_1 is not active - skipping SAMBA_PRINTER_1 ...
SAMBA_PRINTER_2 is not active - skipping SAMBA_PRINTER_2 ...
SAMBA_PRINTER_3 is not active - skipping SAMBA_PRINTER_3 ...
SAMBA_PRINTER_4 is not active - skipping SAMBA_PRINTER_4 ...
SAMBA_PRINTER_5 is not active - skipping SAMBA_PRINTER_5 ...
SAMBA_PRINTER_6 is not active - skipping SAMBA_PRINTER_6 ...
SAMBA_MOUNT_1 is not active - skipping SAMBA_MOUNT_1 ...
SAMBA_MOUNT_2 is not active - skipping SAMBA_MOUNT_2 ...
Removing cron job for SAMBA_RECYCLE_BIN ...
Adding cron job for SAMBA_RECYCLE_BIN ...
 * Starting Samba ...
   - Starting nmbd ...                                       [  OK  ]
   - Starting smbd ...                                       [  OK  ]
 * Starting Smbfs ...

Press ENTER to continue


danach die expert Merge...:

mergeinifiles version 1.0.1 [2004/04/27] for i386
Copyright (c) 2004 by Andreas Pohl, ibp consult

Reading from : /etc/config.d/sambaexpert
Merging into : /etc/smb.conf

Section name : homes

      insert : veto files
             :  /Maildir/*~/*.bak/

Section name : public

      insert : veto files
             :  /lost+found/

      insert : hide files
             :  /Sicherungskopie_von_*/Backup_of_*/

There are 3 changes provided.


Deshalb auch der Feature-Request




Gruss Thomas


Mehr Informationen über die Mailingliste Eisfair_dev