s4: "findprovisionusnranges" helper

Matthias Dieter Wallnöfer mdw at samba.org
Sat Oct 1 01:21:56 MDT 2011


Matthieu Patou wrote:
> On 30/09/2011 08:39, Matthias Dieter Wallnöfer wrote:
>> Hi ekacnet,
>>
>> after looking at bug report #8504 
>> (https://bugzilla.samba.org/show_bug.cgi?id=8504) I stumbled over 
>> "scripting/bin/findprovisionusnranges" which acts as helper for 
>> several other python scripts ("provision", "upgradeprovision", 
>> "samba-tool dbcheck") but at the moment doesn't get installed.
>> To fix this for "samba-tool dbcheck" which should be runnable after 
>> installation we could patch like this: 
>> http://gitweb.samba.org/samba.git/?p=mdw/samba.git;a=commitdiff;h=937ad0021266b156c72d842d81447b2d322bff26 
>> or, as Jelmer proposed on the patch review, convert it to a python 
>> module. What's your opinion?
>>
>> Cheers,
>> Matthias
> Sure a module would be nicer. Please feel free to rewrite it as a 
> module in the upgrade_helpers.
I don't know if I am able to do this since I'm not really expert in 
python. But do you think it is okay for now to install 
"findprovisionusnranges" under s4's "sbin" directory?

Matthias


More information about the samba-technical mailing list