[Samba] Script to sync xID/idmap.ldb, some questions...
Marco Gaiarin
gaio at sv.lnf.it
Thu Sep 19 13:20:21 UTC 2019
I'm scripting the ''replica'' of DC xID db (idmap.ldb) between DCs,
following:
https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Directory#Built-in_User_.26_Group_ID_Mappings
but i've two question.
1) because i've just in place the sysvol replica, i've thinked of
copying the 'idmap.ldb.bak' file on sysvol share (in debian,
/var/lib/samba/sysvol/), so the file get simply replicated between DC.
It is forbidden/not good policy/... to have ''extraneous'' files on
sysvol?
2) looking at wiki (above link) seems to me that, to restore the DB on
other dc it suffices to copy the db over the existant and do:
net cache flush
really it is not needed to stop samba before copy, or restart it after
the copy?
Thanks.
--
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)
More information about the samba
mailing list