Samba 3 to Samba 4 Migration.

Lukasz Zalewski lukas at
Fri Oct 29 06:32:33 MDT 2010

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>
>>> To: "William E Jojo"<w.jojo at>
>>> Cc: "samba-technical"<samba-technical at>
>>> 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


>> 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