summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-03-29 15:13:51 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-03-30 09:20:39 -0400
commit11f42ffa09d15417929b397fb756f00691cd9d31 (patch)
tree3d40d72989449bb54d812f5e3484aa3c8ec26686 /src/providers/ldap/sdap.h
parent1a881a1b5997494ef3228cf35ae0f2c7381d14ff (diff)
downloadsssd-11f42ffa09d15417929b397fb756f00691cd9d31.tar.gz
sssd-11f42ffa09d15417929b397fb756f00691cd9d31.tar.xz
sssd-11f42ffa09d15417929b397fb756f00691cd9d31.zip
Fall back to cn if gecos is not available
We were not fully compliant with section 5.3 of RFC 2307 which states: An account's GECOS field is preferably determined by a value of the gecos attribute. If no gecos attribute exists, the value of the cn attribute MUST be used. (The existence of the gecos attribute allows information embedded in the GECOS field, such as a user's telephone number, to be returned to the client without overloading the cn attribute. It also accommodates directories where the common name does not contain the user's full name.)
Diffstat (limited to 'src/providers/ldap/sdap.h')
0 files changed, 0 insertions, 0 deletions