[Samba] Question on migrating NT4 shares to Samba 3 (Mandrake)

John H Terpstra jht at samba.org
Fri Nov 14 01:32:00 GMT 2003


On Thu, 13 Nov 2003, John Little wrote:

> Hi all,
>
> A quick question on migrating some shares so that they retain proper
> user and group permissions from NT4 to Samba 3.
>
> I plan on using ch 31 Migration from NT4 PDC to Samba-3 PDC
> (http://de.samba.org/samba/docs/man/NT4Migration.html) as a guide to
> perform the migration.  User authentication is by winbind.  This is
> already up and running with the machine joined to the domain.

You will need to unjoin the domain before running the migration process.

> The Samba machine will be a member server rather than a domain
> controller.  I have already made a trial run at just moving the
> directories/files via rsync which went well.

So rsync the directories, the leave the domain, then migrate your users.

> Since the machine will not be a domain controller, is there any part of
> those instructions that I should not perform or additional instruction
> listed elsewhere that I should know about?  One that comes to mind is
> should I migrate the users since the net rpc vampire command is for use
> on a bdc?

You need to configure Samba as a Samba BDC. The run the net rpc vampire
process.

I would suggest you migrate to tdbsam. Then, if you want to use LDAP at
the backend, migrate tdbsam to LDAP using:

	pdbedit -i tdbsam -e ldapsam
	pdbedit -g -i tdbsam -e ldapsam

Of course, while migrating tdbsam to ldapsam:
	passdb backend = tdbsam ldapsam

Then remove tdbsam from the above entry after the transfer from tdbsam to
LDAP is complete.

Cheers,
John T.

> Thanks for any insight.
>
> Regards to all,
> John Little
>
> =====
> Happiness is understanding how things work.
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list