Samba 3 to Samba 4 Migration.

Lukasz Zalewski lukas at eecs.qmul.ac.uk
Fri Oct 29 13:23:20 MDT 2010


On 29/10/2010 13:52, William E Jojo wrote:
>
>
> ----- Original Message -----
>> From: "Lukasz Zalewski"<lukas at eecs.qmul.ac.uk>
>> To: "William E Jojo"<w.jojo at hvcc.edu>
>> Cc: "samba-technical"<samba-technical at lists.samba.org>
>> Sent: Friday, October 29, 2010 8:32:33 AM
>> Subject: Re: Samba 3 to Samba 4 Migration.
>> On 29/10/2010 13:20, Lukasz Zalewski wrote:
>>> On 29/10/2010 12:18, William E Jojo wrote:
>>>>
>>>>
>>>> ----- Original Message -----
>>>>> From: "Michael Wood"<esiotrot at gmail.com>
>>>>> To: "William E Jojo"<w.jojo at hvcc.edu>
>>>>> Cc: "samba-technical"<samba-technical at lists.samba.org>
>>>>> Sent: Friday, October 29, 2010 3:52:14 AM
>>>>> Subject: Re: Samba 3 to Samba 4 Migration.
>>>>> Here's Stefan's script with Luk's latest patch applied, since the
>>>>> list
>>>>> archives don't seem to have the attachments.
>>>>
>>>> Oh, that's nice. That's *really* nice!
>>>>
>>>> I will test this through the weekend seeing as I have some time to
>>>> play with the Python script.
>>>>
>>>> There many options to this. My impression is that one should know
>>>> the
>>>> container layout in Samba 4 and so that user, groups, trusts, etc
>>>> are
>>>> imported to the correct container. Or, is the intent to put them
>>>> into
>>>> an OU and then do further massaging in Samba 4?
>> The script by default will use OU=Imported Users, OU=Imported
>> Computers
>> and OU=Imported Groups. However you can specify different containers
>> for
>> the imported data
>>
>
>
> So I could also make it the standard containers to do a full migration into the Samba 4 AD tree? I was hoping to further test this by performing Tridge's replication example using migrated Samba 3 users into Samba 4 and then replicate to Server 2008R2 - which, of course, would be most impressive!
I believe this is possible. the script shuould allow you to import the 
account to whatever container you desire.

Luk
>
> The goal is to auth users in the new Samba 4 AD using the old Samba 3 passwords in addition to integrating 2008R2 Federated Services (longer term).
>
>
> Bill
>
>
>> Luk
>>
>>>> Thank you very much for the quick response.
>>>>
>>>>
>>>> Bill
>>>
>>> Hi Bill,
>>> please use attached script which has a small bugfix applied to it.
>>> Note,
>>> that trusts import is not implemented yet (maybe we should remove it
>>> from the list of available options). Also the script is not python
>>> 2.4
>>> friendly so please use 2.6 version
>>>
>>> Michael, all,
>>> I will send another diff file with the fix applied to it tomorrow
>>>
>>> Regards
>>>
>>> Luk



More information about the samba-technical mailing list