Miguel Coa M.
2019-Jun-12 14:16 UTC
[Samba] Question about migration from samba3 to samba4
Hello, Actually we have pdc with Samba3 for domain and now install Samba4 for migrate the old samba3. My question is, Is possible make a progressive user migration and both environments works together (shared folders, printers, etc). Or the unique option is migrate all users from samba3 to samba4 ?? Thanks.
Marco Gaiarin
2019-Jun-12 14:58 UTC
[Samba] Question about migration from samba3 to samba4
Mandi! Miguel Coa M. via samba In chel di` si favelave...> Actually we have pdc with Samba3 for domain and now install Samba4 for migrate the old samba3. My question is, Is possible make a progressive user migration and both environments works together (shared folders, printers, etc). Or the unique option is migrate all users from samba3 to samba4 ??I've done exactly that. I've had 4 'NT' domains, so i've created a new 'AD' domain, create users in new domain, do some tests, migrate PC (and users) to the new domain (still using the old domain's shares), then, after all that stuff, migrate shares to the new domain, and finally shut off the old domains. All task can easily scripted; i must say that i just had a tool to keep password in sync, wrapping around 'check user script' (NT) and 'samba-tool user syncpasswords' (AD). -- 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)
Rowland penny
2019-Jun-12 15:08 UTC
[Samba] Question about migration from samba3 to samba4
On 12/06/2019 15:58, Marco Gaiarin via samba wrote:> Mandi! Miguel Coa M. via samba > In chel di` si favelave... > >> Actually we have pdc with Samba3 for domain and now install Samba4 for migrate the old samba3. My question is, Is possible make a progressive user migration and both environments works together (shared folders, printers, etc). Or the unique option is migrate all users from samba3 to samba4 ?? > I've done exactly that. > > I've had 4 'NT' domains, so i've created a new 'AD' domain, create > users in new domain, do some tests, migrate PC (and users) to the new > domain (still using the old domain's shares), then, after all that > stuff, migrate shares to the new domain, and finally shut off the old > domains. > > All task can easily scripted; i must say that i just had a tool to keep > password in sync, wrapping around 'check user script' (NT) and > 'samba-tool user syncpasswords' (AD). >That would probably be the only way to do it, if you 'classicupgrade' your PDC to AD it is all or nothing. Once you have classicupgraded your old PDC, you must turn it off, you cannot have a PDC in an AD domain with the same SID. Rowland
Apparently Analagous Threads
- Question about migration from samba3 to samba4
- 'check password script' timeout, diferences between AD and NT mode?
- syncpasswords/getpassword: some examples, please...
- Password change question/2: 'syncpassword' suffices on *ONE* DC?
- Upgrade DC 4.5 -> 4.8, timings?