[SSSD] [PATCHES] Handle case-sensitivity issues

Stephen Gallagher sgallagh at redhat.com
Tue Nov 17 14:58:01 UTC 2009


New patches attached.

0001: Make the sysdb case-sensitive

0002: Upgrade existing databases for case-sensitivity.

0003: Add force_lowercase_names option

0004: Add tests for force_lowercase_names


On 11/16/2009 03:41 PM, Simo Sorce wrote:
> On Mon, 2009-11-16 at 11:42 -0500, Stephen Gallagher wrote:
>> Patch 0001: Make the sysdb user and group names case-sensitive
>> POSIX requires that usernames be case-sensitive. This will make the
>> sysdb and cache compliant.
> 
> Nack, I don't see code to upgrade an existing database.
> 
>> Patch 0002: Add force_lowercase_names option for domains
>>
>> Since POSIX usernames must be case-sensitive, but remote servers do
>> not,
>> it is possible for entries on the server to have different
>> capitalization in different uses. For those systems where this is the
>> case, SSSD will now offer an option to force all user and group names
>> to
>> lowercase, which should eliminate inconsistencies.
>>
>> p.s. Don't be frightened by the size of Patch 0002. Most of the patch
>> consists of new tests for this functionality.
> 
> Can you please split the tests patch into a separate third one so that I
> can review them more easily ?
> 
> Simo.
> 
> 


-- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Make-the-sysdb-user-and-group-names-case-sensitive.patch
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091117/1854bbf6/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Upgrade-cache-and-local-databases-to-case-sensitive.patch
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091117/1854bbf6/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-Add-force_lowercase_names-option-for-domains.patch
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091117/1854bbf6/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-Add-tests-for-force_lowercase_names.patch
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091117/1854bbf6/attachment-0003.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091117/1854bbf6/attachment.sig>


More information about the sssd-devel mailing list