[Freeipa-devel] [PATCH] 570 enforce max username length

Rob Crittenden rcritten at redhat.com
Wed Oct 13 17:01:43 UTC 2010


Pavel Zuna wrote:
> On 10/13/2010 03:46 PM, Rob Crittenden wrote:
>> Pavel Zuna wrote:
>>> On 10/11/2010 05:19 PM, Rob Crittenden wrote:
>>>> Enforce the configurable max username length from cn=ipaconfig.
>>>>
>>>> rob
>>>>
>>>
>>> This will raise an exception if the ipaMaxUsernameLength attribute isn't
>>> present in the config entry. I know it's not very likely, but it would
>>> be better to retrieve the attribute first and only do the length check
>>> if it is set.
>>>
>>> Pavel
>>
>> Ok, new patch attached. get_ipa_config() always returns a dict (unless
>> things really go south in which case missing this attribute is the least
>> of our problems).
>>
>> rob
>
> ACK.
>
> Pavel

pushed to master




More information about the Freeipa-devel mailing list