[Patch] myldap-pub.py

Lukasz Zalewski lukas at dcs.qmul.ac.uk
Tue Sep 14 10:53:37 MDT 2010


On 09/14/2010 03:07 PM, Lukasz Zalewski wrote:
> On 09/10/2010 01:33 PM, Stefan (metze) Metzmacher wrote:
>> Am 10.09.2010 11:57, schrieb Lukasz Zalewski:
>>> On 09/09/2010 05:52 PM, Lukasz Zalewski wrote:
>>>> On 09/09/2010 05:43 PM, Matthias Dieter Wallnöfer wrote:
>>>>> Hi Lukasz,
>>>>>
>>>>> yeah - now it's fine.
>>>>>
>>>>> Btw: Luke, metze, should we include this in our source tree?
>>>>>
>>>>> Matthias
>>>>>
>>>> Matthias,
>>>> I'm fine with it, but its really metzes call :). There are few
>>>> things to
>>>> clean up, and few things marked TODO (such as domain trusts import).
>>>> I have another version of that script (with the ability to remove
>>>> attributes after they have been processed).
>>>>
>>>> P.S. I will be using this script to do our ldap -> s4 migration very
>>>> soon
>>>>
>>>> Regards
>>>>
>>>> Luk
>>>
>>> Matthias, all
>>> Attached is patch 3. I have added the ability to remove some of the
>>> attributes before they get processed (input ones) and after (output).
>>> This should be useful in trimming down the data and making the import
>>> easier when ldap backed is littered or broken
>>> AFAICR metze wanted to have torture test that goes with this, so i'm not
>>> sure if it should be added just yet
>>
>> I'll continue working on that stuff on October (and will likely
>> integrate your changes).
>>
>> I'm busy with other stuff current and don't have time to look at it
>> right now.
>>
>> metze
>>
>
> Hi Metze, all
> yet another patch ;)
> This patch changes slightly the behaviour of how machines are added:
> Now the cn and sAMAccountName become upercased and have $ character
> removed from the end. This seems to be closer to the default way windows
> (only tested on 7 though) that windows joins the domain
> Given bug 7441 (https://bugzilla.samba.org/show_bug.cgi?id=7441) this
> might be the better way to use default join mechanism with imported
> accounts
>
> Regards
>
> Luk

Ah realised that sAMAccountName does indeed require $ at the end. 
Attached new patch

Luk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: myldap-pub-5.diff
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100914/14e8bc36/attachment.ksh>


More information about the samba-technical mailing list