[Freeipa-devel] [PATCH] 0022 Use ipauniqueid for the RDN of sudo commands

Petr Viktorin pviktori at redhat.com
Thu Mar 8 15:57:28 UTC 2012


Since sudo commands are case-sensitive, we can't use the CN as the RDN.
With this patch, the UUID is used instead.
It seems like a too easy fix. What am I missing?

As far as I understand, the fact that the DN has a different structure 
now shouldn't cause problems, even if there still are commands created 
by old IPA versions.
For testing, use an unpatched version to create a few of these.

The sudo commands are no longer sorted in sudocmd-find output. Doing 
that would require the ability to use an arbitrary attribute as sort 
key. Should I file an issue for that?

Tests for the case sensitivity are included.

https://fedorahosted.org/freeipa/ticket/2482

-- 
Petr³


-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0022-Use-ipauniqueid-as-the-primary-key-for-sudo-commands.patch
Type: text/x-patch
Size: 13807 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120308/92e80b61/attachment.bin>


More information about the Freeipa-devel mailing list