[Freeipa-devel] [PATCH] fix user.getValue()
Kevin McCarthy
kmccarth at redhat.com
Fri Aug 10 23:58:04 UTC 2007
Pete Rowley wrote:
> Kevin McCarthy wrote:
>> This raises a point about whether we should allow empty strings into
>> LDAP. Pete had some points about this, but I'll allow him to state them
>> (since I'm not sure I understood them).
>>
> RFC 4517 says this:
>
> "The Telephone Number syntax corresponds to the following ASN.1 type
> from [X.520]:
>
> PrintableString (SIZE(1..ub-telephone-number))"
>
>
> So there needs to be at least one character or the server should return an
> error.
So Rob, the next question is whether the web gui should strip
zero-length fields, or the funcs.py server code should?
In either case, I think the patch is still good.
-Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070810/3267a05b/attachment.bin>
More information about the Freeipa-devel
mailing list