Hi all, There is an existing samba pdc in my network running in opensuse 10.0, and i want to migrate it to a new machine installing opensuse 10.3 updated. My questions: - How to migrate with no problems in users desktops (lan), keeping the same workgroup name? - Users, groups and permissions I?ll have to create and configure it all again in sharing of the new server? Somebody can send an example of a smb conf implementing a complete and tested Samba PDC (Domain Controller) with file sharing (user permission), print server, roaming profile (desktop and my documents). Users desktops in lan are only Windows XP sp2. ps.: samba-3.0.26a-3 or higher. Thanks for any help. *Rafael Santos rafael # games.com*
> Somebody can send an example of a smb conf implementing a complete and > tested Samba PDC (Domain Controller) with file sharing (user permission), > print server, roaming profile (desktop and my documents). > Users desktops in lan are only Windows XP sp2. >Copy the smb.conf file from the old machine to the new. That would be the best example to start with... Since you did not mention anything about your setup it would be difficult to give you any specifics. For example I have a PDC, that uses LDAP (does not have to have an ldap sever locally) and has no user shares on it. To move it I copy the smb.conf file from the old PDC make the old the BDC (in smb.conf) and set the domain sid on the new to be the same as the old and then change the PDC entries in the DNS server and I am done. Since all of the shares are on domain member servers there are no permissions changes or any changes with profiles. John
My actual server is a Samba-3 PDC with a non-LDAP backend, using smbpasswd. It has users shares and profiles on it. Migrating from a old server to a new server what steps? - Keep users and machines (copy smbpasswd file to new server? useradd and groupadd again?) - Keep profile and share permissions Make the old server as BDC is the best way? What steps to do that without desktop users interaction? Thks. *Rafael Santos * John Drescher escreveu:>> Somebody can send an example of a smb conf implementing a complete and >> tested Samba PDC (Domain Controller) with file sharing (user permission), >> print server, roaming profile (desktop and my documents). >> Users desktops in lan are only Windows XP sp2. >> >> > Copy the smb.conf file from the old machine to the new. That would be > the best example to start with... > > Since you did not mention anything about your setup it would be > difficult to give you any specifics. > > For example I have a PDC, that uses LDAP (does not have to have an > ldap sever locally) and has no user shares on it. To move it I copy > the smb.conf file from the old PDC make the old the BDC (in smb.conf) > and set the domain sid on the new to be the same as the old and then > change the PDC entries in the DNS server and I am done. Since all of > the shares are on domain member servers there are no permissions > changes or any changes with profiles. > > John > >
On Thu, Jun 26, 2008 at 9:15 AM, Rafael Santos <rafael@games.com> wrote:> My actual server is a Samba-3 PDC with a non-LDAP backend, using smbpasswd. > It has users shares and profiles on it. > Migrating from a old server to a new server what steps? >There is some good information here: http://www.informit.com/articles/article.aspx?p=419048&seqNum=3> - Keep users and machines (copy smbpasswd file to new server? useradd and > groupadd again?) >copy the /etc/passwd, /etc/shadow, and /etc/group from the old to the new.> > - Keep profile and share permissions >use rsync to sync files after you have the /etc/password ... files the same> > Make the old server as BDC is the best way? >May not be the case in your situation.> What steps to do that without desktop users interaction? >Make sure the SID is the same. And you probably want to set the net bios name and ip address to the same as the old after you have verified that samba works as expected. I would do this on a network (with samba and 1 client) that is not connected to your live network. John