[Samba] How to move a samba PDC to a diffrent box
Evan Koutsandreou
e.koutsandreou at optusnet.com.au
Tue Jun 3 09:55:34 GMT 2008
this seems to have been created during the rpm install, see below
[root at RHEL5ONE samba]# rpm -ql samba-winbind-32bit-3.0.25-ctdb.16
/lib/libnss_winbind.so
/lib/libnss_winbind.so.2
/lib/libnss_wins.so
/lib/libnss_wins.so.2
/lib/security/pam_winbind.so
[root at RHEL5ONE samba]# ls -lasp /lib | grep libnss
40 -rwxr-xr-x 1 root root 36340 Jul 5 2007 libnss_compat-2.5.so
4 lrwxrwxrwx 1 root root 20 May 26 08:37 libnss_compat.so.2 ->
libnss_compat-2.5.so
816 -rwxr-xr-x 1 root root 824900 Jul 13 2006 libnss_db-2.2.so
4 lrwxrwxrwx 1 root root 16 May 26 08:39 libnss_db.so.2 ->
libnss_db-2.2.so
28 -rwxr-xr-x 1 root root 21848 Jul 5 2007 libnss_dns-2.5.so
4 lrwxrwxrwx 1 root root 17 May 26 08:37 libnss_dns.so.2 ->
libnss_dns-2.5.so
52 -rwxr-xr-x 1 root root 46740 Jul 5 2007 libnss_files-2.5.so
4 lrwxrwxrwx 1 root root 19 May 26 08:37 libnss_files.so.2 ->
libnss_files-2.5.so
28 -rwxr-xr-x 1 root root 22752 Jul 5 2007 libnss_hesiod-2.5.so
4 lrwxrwxrwx 1 root root 20 May 26 08:37 libnss_hesiod.so.2 ->
libnss_hesiod-2.5.so
3036 -rwxr-xr-x 1 root root 3099444 Jul 6 2007 libnss_ldap-2.5.so
4 lrwxrwxrwx 1 root root 18 May 26 08:40 libnss_ldap.so.2 ->
libnss_ldap-2.5.so
48 -rwxr-xr-x 1 root root 42368 Jul 5 2007 libnss_nis-2.5.so
60 -rwxr-xr-x 1 root root 51696 Jul 5 2007 libnss_nisplus-2.5.so
4 lrwxrwxrwx 1 root root 21 May 26 08:37 libnss_nisplus.so.2 ->
libnss_nisplus-2.5.so
4 lrwxrwxrwx 1 root root 17 May 26 08:37 libnss_nis.so.2 ->
libnss_nis-2.5.so
20 -rwxr-xr-x 1 root root 19408 Jan 31 10:30 libnss_winbind.so
0 lrwxrwxrwx 1 root root 17 Jun 3 18:36 libnss_winbind.so.2 ->
libnss_winbind.so
1016 -rwxr-xr-x 1 root root 1032916 Jan 31 10:30 libnss_wins.so
0 lrwxrwxrwx 1 root root 14 Jun 3 18:36 libnss_wins.so.2 ->
libnss_wins.so
-----Original Message-----
From: samba-bounces+e.koutsandreou=optusnet.com.au at lists.samba.org
[mailto:samba-bounces+e.koutsandreou=optusnet.com.au at lists.samba.org] On
Behalf Of devel at thom.fr.eu.org
Sent: Tuesday, 3 June 2008 7:28 PM
To: ml
Cc: samba at lists.samba.org
Subject: Re: [Samba] How to move a samba PDC to a diffrent box
I think there must be some migration guide in samba documentation (read
chapter 5 and 36 in Samba official howto). I think the best would be to
build up your second machine and add it in your domain as BDC, so that all
users/groups/machines/... get propagated to this new machine.
Once done, migrate all your data, then you can safely switch off the first
one and promote your new machine to PDC (changing OS level, and browsing
options domain master/prefered master)
> Hello List,
>
> 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.
>
> Can i simply:
> - Create the same users and groups with the same id on Hardy
> - Move the files and profiles over by keeping their permissions (rsync
> -avzp ...)
> - Set the samba SID to be the old orginial one (i do not know how this
> could be done and if it even works)
>
> Will i then simply be able to log back in with my Windows clients?
> Is there a HowTo explaining this scenario?
>
> Thanks,
> Mario
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>
>
> Message scanned by ClamAV engine (http://www.clamav.net)
> --------------------------------------------------------
>
--
François Legal
Message scanned by ClamAV engine (http://www.clamav.net)
--------------------------------------------------------
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list