[Samba] Profile migration again

John H Terpstra jht at samba.org
Wed Jan 15 08:26:00 GMT 2003


On Wed, 15 Jan 2003, Erwin Zierler wrote:

> John H Terpstra jht at samba.org writes:
>
> > You see the NTUser.DAT file is keyed to the user's SID and the Domain SID
> > of the NT4 environment in which they were created. You need to either use
> > the NT4 procedure as documented in the resource kit for migrating the
> > profile, something that Microsoft only supports within the one domain
> > anyhow, or else use the profile editting tool that Richard Sharpe has
> > provided and that is part of samba-3.0.0 that will appear in the next
> > alpha. Meanwhile you could download the source from the CVS tree and
> > compile it yourself. It is called profiles.c. It would be best to build
> > samba-3.0.0 from the CVS tree as this tool is build automatically when you
> > do it this way.
>
> I just compiled the latest snapshot but I can't figure out which program
> is the one that I would want to use for editing profiles.
> In source/profile/ I see profile.c and after the build I get only an object
> file (profile.o) - so tried to grep all documents and sourcefiles for
> something that gives me more info - but no luck.

Did you download the samba-3.0.0 CVS Code?

If so, you will find the executable (once you have done the 'make
bin/profiles') in ~samba/source/utils. It will be called 'profiles' and
will have been built from the profiles.c in that directory.

You will need to look at the documentation inside the profiles.c file
until we can get man pages into the code tree.

> I must have missed it I guess, doesn't help that it's 5am either :-(

I guess I could have been clearer with my advice. :(

> Anyway, migrating 20 w2k workstations from an old NT 4.0 server to
> samba 2.2.7a has cost me like 24 hours altogether now. I dont even
> need the PDC functionality, I just dont want to reinstall all those
> applications and settings on all those client machines ;-)

And I am sure you would like both legs amputated without anaesthetic!
Right? :(

> I wonder if I really have to buy the MS Resource Kit to get the info that
> is needed to successfully migrate those silly profiles. I figured what
> I am trying to do is something that other samba admins have faced before?!

No, it is too late for you to benefit from the resource kit if you have
already changed to the samba server.

No, you are NOT the first to have to deal with profile migration issues,
that's why there is a migration tool now.

> Has anyone on this list done it? If yes, I'd really appreciate if you can
> drop me a line.

If you really need a phone call email me your phone number to
<jht at samba.org> I'll call you to help.

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



More information about the samba mailing list