David Ballester Montolio
2005-Nov-07 23:51 UTC
[Samba] urgent - migration samba domain from machine and version
scenario: server_old - Redhat 8 with samba 2.2.8a server_new - Debian 3.1 Sarge with samba 3.0.14a domain to be moved/migrated : DOMINIO smbpasswd -X server & domain in server_old SID for domain DOMINIO is: S-1-5-21-2465226537-159659893-3376541719 SID for domain server_old is: S-1-5-21-2465226537-159659893-3376541719 samba in server_old stopped scp server_old@/etc/samba to server_new@/etc/samba scp server_old@/var/cache/samba to server_new@/var/lib/samba change hostname in server_new to be the same than server_old clean up posible deprecated parameters on server_new@/etc/samba/smb.conf Startup services in server_new Some w2k clients refuse to connect to domain, other w2k connect shares but not log on domain now server_new has the same hostname than server_old: net getlocalSID server_new samba:/etc/samba# net getlocalSID SID for domain server_new is: S-1-5-21-2465226537-159659893-3376541719 samba:/etc/samba# net getlocalSID DOMINIO SID for domain DOMINIO is: S-1-5-21-4235226690-1130889889-3870389432 I think that i need to 'copy' SID for domain server_new to SID for domain DOMINIO Any tip? what is your suggestion? need to have this domain up & and running as soon as possible. Data has been migrated yet :( TIA ______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, m?s seguridad http://correo.yahoo.es
Andrew Bartlett
2005-Nov-08 05:09 UTC
[Samba] urgent - migration samba domain from machine and version
On Tue, 2005-11-08 at 00:51 +0100, David Ballester Montolio wrote:> scenario: > > server_old - Redhat 8 with samba 2.2.8a > server_new - Debian 3.1 Sarge with samba 3.0.14a > > domain to be moved/migrated : DOMINIO > smbpasswd -X server & domain in server_old> I think that i need to 'copy' SID for domain > server_new to SID for domain DOMINIO > > Any tip? what is your suggestion? need to have this > domain up & and running as soon as possible. Data has > been migrated yet :(Along with the getlocalsid you already know, we have: net setlocalsid <SID> Give it a shot. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20051108/d4ecde67/attachment.bin
dballester
2005-Nov-08 08:36 UTC
[Samba] urgent - migration samba domain from machine and version
El mar, 08-11-2005 a las 16:08 +1100, Andrew Bartlett escribió:> On Tue, 2005-11-08 at 00:51 +0100, David Ballester Montolio wrote:> Along with the getlocalsid you already know, we have: > > net setlocalsid <SID> > > Give it a shot. > > Andrew BartlettThanks for the tip, Andrew. The problem is that if I execute setlocalsid i can change the SID for the machine itself, but SID of the domain DOMINIO has not changed and seems not possible to execute something like net setlocalsid DOMINIO S-1-5-21... Best regards David, ______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es