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

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

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to