Re: Migration from FC3 to Centos4.4 gives problems with Samba

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



Fabian Arrotin wrote:
On Sun, 2007-04-15 at 22:31 +0200, Theo Band wrote:
  
Hi

I have updated one of my servers from Fedora Core 3 to Centos. All
services run fine except Samba. The Centos installation is fresh and I
setup Samba in a similar way as I did before with Fedora. I copied the
samba password file from the Fedora installation and also all
user+machine accounts to the /etc/passwd|shadow etc.

Problem I now have is that clients cannot find their server profiles
when they try to logon (bath owner rights, or profile is unavailable).
After some trial I found out that I can solve this issue by removing the
XP client computer form the domain and then adding the client computer
again. So it looks to me that the client machine is not seen properly by
Samba. Is there a way to copy information from the old installation to
the new Centos installation so that I don't have to re-join every
individual computer to the domain again? Or is there a way I can do this
with Samba?

    

It seems you're using flat files and not openldap as backend. Is this
machine a PDC ? It seems so because you've copied machines/users
accounts on the newer box. But i don't see in your migration that you've
copied the secrets.tdb file. This one is really important because it
contains the domain SID . So if you've only copied smbpasswd (in old
format or the newer one in tdb format but that doesn't matter), that
means you're running a new domain controller for a new domain ...
usually i copy the whole /etc/samba dir from one machine to the newer
one in such migration ...
  
Yes flat files, no openldap. The machine is a PDC. So I can just copy the secrets.tdb from the old to new installation?

Theo
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux