Andreas Gerstenberg
2006-Sep-01 10:47 UTC
[Samba] Migration 2.x-> 3.0 with new server, sharing files during migration process?
Hello! I'm looking for a solution, how the data of a Samba server can be shared between 2 Samba Servers (2.x and 3.0) during migration process. The new environment will be done from scratch, new Hardware, etc. Old Samba server/environment: Samba 2.x Authentication via W2k Server (security = DOMAIN) Server has more than 100 netbios aliases No POSIX-ACL's Users and Groups are stored in /etc/{passwd,groups} Access to shares via "valid users = @group" in smb.conf other authorization done via file/directory rights New Samba Server/environment: Samba 3 as AD Member Server (security = ADS) POSIX-ACLs winbind The new server is in a complete new environment, new IP-Network, new ADC (W2k3), the AD will also be done from scratch (new users, new groups, etc.). I can't switch the users from the old to the new environment within one day, the migration time will be about 1 month. Are the any solutions, how I can share the existing files between both servers or how I can use one server working in both environments? Thanks, Andy
Felipe Augusto van de Wiel
2006-Sep-01 15:24 UTC
[Samba] Migration 2.x-> 3.0 with new server, sharing files during migration process?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/01/2006 07:47 AM, Andreas Gerstenberg escreveu:> Hello! > > I'm looking for a solution, how the data of a Samba server can be shared > between 2 Samba Servers (2.x and 3.0) during migration process. The new > environment will be done from scratch, new Hardware, etc. > > Old Samba server/environment: > Samba 2.x > Authentication via W2k Server (security = DOMAIN) > Server has more than 100 netbios aliases > No POSIX-ACL's > Users and Groups are stored in /etc/{passwd,groups} > Access to shares via "valid users = @group" in smb.conf > other authorization done via file/directory rights > > New Samba Server/environment: > Samba 3 as AD Member Server (security = ADS) > POSIX-ACLs > winbind > > The new server is in a complete new environment, new IP-Network, new ADC > (W2k3), the AD will also be done from scratch (new users, new groups, > etc.). I can't switch the users from the old to the new environment > within one day, the migration time will be about 1 month. Are the any > solutions, how I can share the existing files between both servers or > how I can use one server working in both environments?You could use ldapsam_compat in the 3.0.X server, but it is a good idea to migrate to Samba3 series as soons as possible, to use new resources. And also, do not try it in production, try it in test before, because you could have some unexpected surprises. Considering that you are running both servers as ADS members, it shouldn't be a big problem. But, now comes a new question: what exactly "data" are you trying to share between Samba Servers? Why 01 month to migrate the users? It could be done with a script in a few hours. As I see you scenario, you should be able to prepare the new environment at least with the new users and share the account information. If you are speaking about phisically migrate them, that I can understand, but if you are able to set two environments sharing the underground information using Samba, you should be able to achieve what you want.> Thanks, > AndyKind regards, - -- Felipe Augusto van de Wiel <felipe@paranacidade.org.br> Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFE+FCBCj65ZxU4gPQRAsmcAKC9gQFVCiXW3+E1ajv359Bo3i/2bgCfVd+n BJusI+Fxchr0sTvWyGGI6OQ=T3f5 -----END PGP SIGNATURE-----