[Freeipa-devel] [PATCH] Fix reporting of errors when validating parameters.

Pavel Zuna pzuna at redhat.com
Tue Dec 21 17:13:25 UTC 2010


Print the attribute CLI name instead of its 'real' name. The real name is 
usually the name of the corresponding LDAP attribute, which is confusing to the 
user.
 
                              This way we get:

Invalid 'login': blablabla

instead of:

Invalid 'uid': blablabla


Another example:

Invalid 'hostname': blablabla

instead of:

Invalid 'fqdn': blablabla


Ticket #435

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pzuna-freeipa-0047-validerrors.patch
Type: text/x-patch
Size: 2406 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101221/40b7696e/attachment.bin>


More information about the Freeipa-devel mailing list