[Freeipa-devel] [PATCH] 763 use full name for gecos
Stephen Gallagher
sgallagh at redhat.com
Mon Apr 4 13:58:44 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/01/2011 06:14 PM, Rich Megginson wrote:
> On 04/01/2011 02:17 PM, Rob Crittenden wrote:
>> Stephen Gallagher wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On 04/01/2011 03:55 PM, Rob Crittenden wrote:
>>>> Use fullname for gecos instead of uid.
>>>>
>>>> ticket 1146
>>>
>>>
>>> While it probably doesn't actually matter for these tests, I should note
>>> that the GECOS attribute in LDAP is IA5String, not UTF8.
>>>
>>> Otherwise, Ack.
>>
>> It is defined using Directory String syntax by 389-ds. According to
>> rfc 2307 it should be an IA5String, not sure why it isn't but we
>> inherit this schema.
> It is defined in the original rfc 2307 as Directory String, but 2307bis
> redefined it to IA5String.
Actually, I just looked at both RFC 2307 and RFC 2307bis. It's defined
as IA5String in both.
- From http://www.ietf.org/rfc/rfc2307.txt:
3. Attribute definitions
This section contains attribute definitions to be implemented by DUAs
supporting this schema.
...
( nisSchema.1.2 NAME 'gecos'
DESC 'The GECOS field; the common name'
EQUALITY caseIgnoreIA5Match
SUBSTRINGS caseIgnoreIA5SubstringsMatch
SYNTAX 'IA5String' SINGLE-VALUE )
And from http://www.padl.com/~lukeh/rfc2307bis.txt
3. Attribute definitions
This section contains attribute definitions to be implemented by
DUAs supporting this schema.
...
( 1.3.6.1.1.1.1.2 NAME 'gecos'
DESC 'The GECOS field; the common name'
EQUALITY caseIgnoreIA5Match
SUBSTRINGS caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
- --
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk2ZzpQACgkQeiVVYja6o6NBBgCghFzG3FyVhAJV54TfytAad2K5
auwAnRqIrpk08cwTMdmGNep0tCndi5NM
=ZxMd
-----END PGP SIGNATURE-----
More information about the Freeipa-devel
mailing list