[Date Prev][Date Next] [Chronological] [Thread] [Top]

about ldapsearch



Hai. I have a few question.

# ldapsearch -x -b'dc=yusril,dc=com' uid=oracle 

dn: uid=oracle,ou=People,dc=yusril,dc=com
uid: oracle
cn: oracle
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword:: e2NyeXB0fSQxJGIybXQ5MWE4JDJ0SVZ1M2dtaXhPc25GN1Q3a3JZWi8=
shadowLastChange: 11708
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 508
gidNumber: 508

#ldapsearch -x -b'dc=yusril,dc=com' uid=abu

dn: uid=abu,ou=People,dc=yusril,dc=com
uid: abu
cn: Abu H
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword:: e2NyeXB0fSQxJOp4dEpIxur8JG1rUU52bkRYY2FQSGJlRUJlYTlhby4=
shadowLastChange: 11705
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 500
gidNumber: 500
homeDirectory: /mnt/abu
gecos: Abu H


There are 2 diff result using ldapsearch, i want display gecos attribut
although gecos is empty. (gecos:<empty>,
or
how to display all attribute from objectclass using ldapsearch?

thanks.
~abu~
ldapnewbie