LDAP search without "gecos" attribute

Hi all,

I have 2 users. One of them shows "gecos" attribute during ldapsearch but the other one is not showing the attribute.

bash-3.00# ldapsearch -h 10.26.73.2 -D "cn=directory manager" -w xxxx -b "uid=user01,ou=people,dc=xx,dc=xx,dc=xx,dc=com,dc=xx" objectclass=* 
version: 1
dn: uid=user01,ou=xx,dc=xx,dc=xx,dc=xx,dc=xx,dc=xx
objectClass: account
objectClass: shadowAccount
objectClass: posixAccount
objectClass: top
uid: user01
uidNumber: 1101
cn: user01
gidNumber: 205
gecos: Carlos Santana
homeDirectory: /home/user01
loginShell: /usr/bin/tcsh
userPassword: {SSHA}S0tK/E7R424Op1PbkPjO1P4kuu3tK9NMjxFhXw==
bash-3.00# 
bash-3.00# 
bash-3.00# 
bash-3.00# 
bash-3.00# ldapsearch -h 10.26.73.2 -D "cn=directory manager" -w xxxx -b "uid=user02,ou=people,dc=xx,dc=xx,dc=xx,dc=xx,dc=xx" objectclass=* 
version: 1
dn: uid=user02,ou=xx,dc=xx,dc=xx,dc=xx,dc=xx,dc=xx
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: account
objectClass: shadowAccount
objectClass: posixAccount
uid: user02
uidNumber: 2024
cn:: PGNuPg==
gidNumber: 205
homeDirectory: /home/user02
loginShell: /usr/bin/tcsh
givenName:: PGdpdmVOYW1lPiA=
sn:: PHNuPg==
mail:: PG1haWw+
description: Usuario de Prueba
userPassword: {SSHA}rJ9JlUqZYdgVUE8m/vUX04CtgMu2X0Afmh5+Og==
bash-3.00# 

Do you know why gecos attribute is showed only with user01 ?

Do you know how can I add "gecos" attribute on the user02 ?

I hope you can help me
Thanks a lot

Because only user1 has this attribute set.

ldapmodify -h 10.26.73.2 -D "cn=directory manager" -w xxxx <<%
dn: uid=user02,ou=xx,dc=xx,dc=xx,dc=xx,dc=xx,dc=xx
changetype modify
add: gecos
gecos: Michael Jackson
%