[SSSD] GECOS mapping for 'cn' attribute in SSSD.

Gowrishankar Rajaiyan grajaiya at redhat.com
Wed Oct 27 12:48:58 UTC 2010


Hi All,

When SSSD is configured for proxy id_provider and a user is enumerated, 
GECOS field is populated with the ldap server's "cn" attribute.

# getent -s sss passwd puser1
puser1:*:1001:1001:Posix User1:/export/puser1:/bin/bash

However, if SSSD is configured for ldap id_provider and the same user is 
enumerated, the GECOS field remains empty.

# getent -s sss passwd puser1
puser1:*:1001:1001::/export/puser1:/bin/bash

It looks like nss_ldap switched to defaulting to using 'cn' for the 
gecos mapping. Perhaps SSSD should do the same?

Best regards,
Shanks




More information about the sssd-devel mailing list