Pavel Zuna wrote:
On 10/11/2010 05:19 PM, Rob Crittenden wrote:
Enforce the configurable max username length from cn=ipaconfig.


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.


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


Attachment: freeipa-570-2-length.patch
Description: application/mbox

Freeipa-devel mailing list

Reply via email to