[Samba-it] migrazione

Corrado Ravinetto corrado.ravinetto at lanificiocerruti.com
Thu Oct 25 12:27:48 UTC 2018


grazie Marco

sul dc :
[global]
         log level = 1
         netbios name = DC1
         ntlm auth = ntlmv1-permitted
         realm = LXCERRUTI.COM
         server role = active directory domain controller
         winbind use default domain = Yes
         workgroup = LXCERRUTI
         idmap config domain : unix_nss_info = yes
         idmap_ldb:use rfc2307 = yes

[netlogon]
         path = /usr/local/samba/var/locks/sysvol/lxcerruti.com/scripts
         read only = No

[sysvol]
         path = /usr/local/samba/var/locks/sysvol
         read only = No

sul member con una share
[global]
         lanman auth = Yes
         log file = /var/log/samba/%m.log
         ntlm auth = ntlmv1-permitted
         realm = LXCERRUTI.COM
         security = ADS
         username map = /usr/local/samba/etc/user.map
         workgroup = LXCERRUTI
         idmap config * : range = 3000-7999
         idmap config * : backend = tdb


[Vol1]
         admin users = @admin
         comment = Home Directory per ogni User
         create mask = 0777
         directory mask = 0777
         hide unreadable = Yes
         path = /Cerruti
         read only = No
         vfs objects = recycle
         recycle:maxsize = 500000000
         recycle:exclude = *.tmp *.ldb *.temp ~$* *.LCK *.dmp
         recycle:versions = yes
         recycle:keeptree = yes
         recycle:touch = yes
         recycle:repository = .recycle/%u


e questo e' un ls sul member
dr-xr-xr-x.  11 root        502 4096 19 ott 10.43 AntiVirus
drwxrwx---.   8 root        506 4096  7 ott  2017 CommDise
drwxrwx---.   2 root        714    6 21 apr  2007 DatiDirezione
dr-xr-x---.   4 root        509   57  7 mar  2017 DatiFinissaggio
drwxrwx---.   2 root        508  278 17 ott 09.14 DatiLaboratorio
drwxrwx---.  15 root        602 4096 17 ott 09.28 Incas
drwxrwxrwx.   2  680        699  104  7 ott  2017 JC5

vedo solo gli id dei gruppi e non i nomi.
Ho visto che quando ho aggiunto i gruppi con samba-tool sono iniziati 
con id >3000, come da smb.conf, ora stavo per cambiare tutti gli id 
sulle cartelle con i nuovi id creati da samba-tool, anche se e' un gran 
lavoro, spero di risolvere.
Anche se pero', ho fatto una prova, creando una dir da un client con 
gruppo generato da samba-tool, ma continua a mettere solo l'id, anche se 
corrisponde al gruppo corretto.

grazie


Il 25/10/2018 12:15, Marco Gaiarin ha scritto:
> Mandi! Corrado Ravinetto
>    In chel di` si favelave...
>
>>> Qualche altra idea ????
> 'samba-tool testparm' e posta almeno [global].
>

-- 

*Corrado Ravinetto *
Sistemi informativi
corrado.ravinetto at lanificiocerruti.com 
<mailto:corrado.ravinetto at lanificiocerruti.com>
T: +39 015 3591283
Lanificio F.lli CERRUTI
*Lanificio F.lli Cerruti S.p.A. *
Via Cernaia 40, 13900 - Biella (BI) Italy
www.lanificiocerruti.com <http://www.lanificiocerruti.com/>

Twitter <https://twitter.com/Lan_Cerruti> Facebook 
<https://www.facebook.com/LanificioCerruti> Instagram 
<https://www.instagram.com/lanificiocerruti/>

Rispetta l'ambiente, non stampare questa mail se non necessario
Respect the environment, don't print unless necessary




More information about the samba-it mailing list