Mandi! Rowland penny via samba In chel di` si favelave...> Then you only need to backup your smb.conf and your LDAP, the tdb files will > be recreated from ldap.AFAIK minus: a) 'smbpasswd -w', samba need to know how to access OpenLDAP. ;-) b) rights ('net rpc rights'). c) printers (per se, but in particular printer drivers), if you use it d) policy ('pdbedit -P'), but these can be esported to LDAP, i don't know if they are automatically 'reimported'... -- 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)
On 06/12/2019 08:29, Marco Gaiarin via samba wrote:> Mandi! Rowland penny via samba > In chel di` si favelave... > >> Then you only need to backup your smb.conf and your LDAP, the tdb files will >> be recreated from ldap. > AFAIK minus: > > a) 'smbpasswd -w', samba need to know how to access OpenLDAP. ;-) > > b) rights ('net rpc rights'). > > c) printers (per se, but in particular printer drivers), if you use it > > d) policy ('pdbedit -P'), but these can be esported to LDAP, i don't > know if they are automatically 'reimported'... >Please can you elaborate? Which files/folders do you need for a, b and d? secrets.tdb? share_info.tdb? account_policy.tdb? (guessing here by looking at the descriptions in my samba3 Wiki link).
Mandi! Nick Howitt via samba In chel di` si favelave...> Please can you elaborate? Which files/folders do you need for a, b and d?For a, b and d seems to me that is better to simply reenter the info, discarding the DBs.... Generally speaking: i don't know where data are saved. ;-) -- 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)