[Freeipa-devel] [PATCH 0401] ipa-adtrust-install: Allow dash in the NETBIOS name

Tomas Babej tbabej at redhat.com
Mon Feb 29 13:59:07 UTC 2016



On 02/29/2016 02:04 PM, Martin Babinsky wrote:
> On 02/25/2016 02:13 PM, Tomas Babej wrote:
>> Hi,
>>
>> Dash should be one of the allowed characters in the netbios names,
>> so relax the too strict validation.
>>
>> Note: the set of allowed characters might expand in the future
>>
>> https://fedorahosted.org/freeipa/ticket/5286
>>
>> Tomas
>>
>>
>>
> 
> NACK, since this patch breaks the interactive installation of adtrust,
> see the following log: http://fpaste.org/331088/56750906/
> 
> Keep in mind that the argument of any is first instantiated and then
> each element is tested. Since during interactive installation there is a
> possibility in the current code that check_netbios_name receives None as
> argument. You will have to correct this somehow.
> 

Good catch. My original patch indeed breaks the interactive installation
on a clean machine where no netbios name has been specified explicitly.

Fixed, attaching patches for both branches.

Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0401-ipa-adtrust-install-Allow-dash-in-the-NETBIOS-name.patch
Type: text/x-patch
Size: 2621 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160229/9a080351/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-4-2-tbabej-0401-ipa-adtrust-install-Allow-dash-in-the-NETBIOS-name.patch
Type: text/x-patch
Size: 3142 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160229/9a080351/attachment-0001.bin>


More information about the Freeipa-devel mailing list