Google
  Web www.spinics.net

Re: How to move a samba PDC to a diffrent box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> i have got a samba pdc running based on the smbldap tools and Debian Sarge.
> Now we would like to move everything over to Ubuntu Hardy.
>
I have done this quite a few times.

> Can i simply:
> - Create the same users and groups with the same id on Hardy

slapcat

slapadd

or
configure syncrepl in openldap-2.3 or greater and add the new ldap
sever as a read only replicator of the first. Then start slapd to sync
and then you can remove the master and sync commands and restart slapd

> - Move the files and profiles over by keeping their permissions (rsync -avzp
> ...)
Seems ok. I do not have any actual user shares or profiles on my pdc.
These are on my fileservers instead.

> - Set the samba SID to be the old orginial one (i do not know how this could
> be done and if it even works)
>
net setdomainsid

> Will i then simply be able to log back in with my Windows clients?
> Is there a HowTo explaining this scenario?
>
After you copy the smb.conf, nsswitch.conf and configure openldap and
start all the required services.

John
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Linux]     [Info Cyrus]     [LARTC]     [Christmas Music]     [Bugtraq]     [Netfilter]     [Internet Dating Forums]     [RAID]     [Yosemite News]     [Photography]

Add to Google Powered by Linux