[Samba] Homes, folder redirection and hide files...
Marco Gaiarin
gaio at sv.lnf.it
Fri Apr 27 09:08:42 UTC 2018
Mandi! Rowland Penny via samba
In chel di` si favelave...
> > Samba 4.5 in AD mode, domain in ''beta'' stage. ;-)
> Yes, but what 'AD mode' ??
> Is it a DC or Unix domain member ?
Uh, oh. Sorry. Domain Member.
> it is 'RECYCLE.BIN' not 'RECICLE.BIN'
Ahem, ops, sorry.
> Have you read 'man vfs_recycle' ?
I use (in other shares) vfs_recycle, but AFAI've understood (but was
samba3) they have nothing in common with te windows recycle bin...
To be clear: i'm not trying to ''manage'' the windows recycle bin, i've
simply noted that if i redirect some folders in the home path, every
redirected folder get created a $RECYCLE.BIN folder. I'm not creating
it.
> Can you post your entire smb.conf ?
> posting parts of it does not help, also just post what is on disk i.e.
> the output of 'cat /path/to/your/smb.conf'
Again, sorry; attached.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-------------- next part --------------
Press enter to see a dump of your service definitions
# Global parameters
[global]
netbios aliases = CUPSSV FILESV HOMESV
realm = AD.FVG.LNF.IT
workgroup = LNFFVG
log file = /var/log/samba/log.%m
log level = 0
max log size = 5000
panic action = /usr/share/samba/panic-action %d
load printers = Yes
printcap name = cups
map to guest = Bad User
security = ADS
username map = /etc/samba/user.map
winbind nss info = rfc2307 # Samba 4.5-
winbind offline logon = Yes
winbind use default domain = Yes
rpc_daemon:spoolssd = fork
rpc_server:spoolss = external
idmap config lnffvg : unix_nss_info = yes # Samba 4.6+
idmap config lnffvg : range = 10000-49999
idmap config lnffvg : backend = ad
idmap config * : range = 5000-9999
idmap config * : backend = tdb
include = /etc/samba/smb.conf.%m
printing = cups
[printers]
comment = All Printers
path = /var/spool/samba
browseable = No
printable = Yes
create mask = 0700
guest ok = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = No
force create mode = 0664
force directory mode = 02775
guest ok = Yes
read only = No
[users]
comment = Home Directories
path = /home
browseable = No
veto files = /.mail/.inbox/.ssh/
root preexec = /etc/samba/createhome "%U"
force create mode = 0600
force directory mode = 0700
read only = No
[profiles]
comment = Network Profiles Share
path = /srv/samba/profiles
browseable = No
store dos attributes = Yes
csc policy = disable
map acl inherit = Yes
read only = No
vfs objects = acl_xattr
[wpkg]
comment = WPKG Automated Software Deploying System
path = /srv/samba/wpkg
browseable = No
wide links = Yes
force create mode = 0664
force directory mode = 02775
guest ok = Yes
[larpch]
comment = Local Administrator's Remote Password Change
path = /var/cache/samba/larpch
browseable = No
root preexec = /usr/local/sbin/larpch -w -m root "%m" "%I"
guest ok = Yes
[Work]
comment = Spazio di Lavoro Utente
path = /srv/work
store dos attributes = Yes
volume = Work
map acl inherit = Yes
read only = No
vfs objects = acl_xattr recycle
recycle:exclude = *.TMP,*.tmp,*.temp,*.o,*.obj,~$*
recycle:versions = yes
recycle:keeptree = yes
recycle:repository = .cestino/%U
[FVG]
comment = Regionale (FVG)
path = /srv/fvg
store dos attributes = Yes
volume = FVG
map acl inherit = Yes
read only = No
vfs objects = recycle
recycle:exclude = *.TMP,*.tmp,*.temp,*.o,*.obj,~$*
recycle:versions = yes
recycle:keeptree = yes
recycle:repository = .cestino/%U
More information about the samba
mailing list