[Freeipa-devel] [PATCH] 0186 Change DNA magic value to -1 to make UID 999 usable

Petr Viktorin pviktori at redhat.com
Fri Feb 22 11:16:06 UTC 2013


On 02/22/2013 11:16 AM, Petr Viktorin wrote:
> https://fedorahosted.org/freeipa/ticket/2886
>
> This changes the DNA magic value to -1, and the corresponding IPA's
> parameters (gidnumber, uidnumber) to be optional (instead of autofill).
>
> Since the old clients still say "999" when they mean "pick one I don't
> care", we need to detect them and change 999 to -1. For that there's a
> new capability, optional_uid_params.
>
>
> Behavior summary:
>
> With --uid 999:
>    old client, old server: sends 999, creates random UID
>    old client, new server: sends 999, creates random UID
>    new client, old server: incompatible
>    new client, new server: sends 999, creates UID 999
>
> Without --uid:
>    old client, old server: sends 999, creates random UID
>    old client, new server: sends 999, creates random UID
>    new client, old server: incompatible
>    new client, new server: doesn't send UID, creates random UID
>
> Upgrade should work fine.
>
> I didn't test winsync as I don't have a Windows machine.
>

The patch is here

-- 
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0186-Change-DNA-magic-value-to-1-to-make-UID-999-usable.patch
Type: text/x-patch
Size: 21619 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130222/34bf73cf/attachment.bin>


More information about the Freeipa-devel mailing list