[Samba] samba migration woes

Helmut Hullen Hullen at t-online.de
Tue Sep 16 06:51:00 GMT 2008


Hallo, g,

Du (myitguru) meintest am 15.09.08:

> I am trying to migrate samba from a box with Mandrake 10.1 with Samba
> 3.0.10 to a new box running CentOS 5.2 with Samba 3.0.28.  The two
> versions of samba are too differnet to simply copy the config and tdb
> files over to the new box and the Mandrake box won't upgrade past
> 3.0.10. I could really use some suggestions. Thanks

Where's the problem?
If you take the old "samba.cnf" for the new samba version then samba  
will tell you which parameters are not allowed ("obsolete").

        testparm -s >/dev/null

If your passwd file lies in "/etc/samba/private" then you have to copy  
the complete directory contents to the new machine (especially a file  
"secrets.tdb" with the "local SID").

You don't need to copy the tdb files in "/var/lock/samba" - they are  
created new if they don't exist on the new system.

Perhaps you need to put every client out of the domain, restart the  
client and put it into the domain again.

Viele Gruesse!
Helmut


More information about the samba mailing list