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

ldapsearch for accont object class

Dear all,
Below is the "partial" content of my openldap db.
when I do:
  ldapsearch -D "cn=fratbrother,ou=People,dc=ibm,dc=com" -w password -x
everything is fine. However, when I do
ldapsearch -D "uid=sriram,ou=People,dc=ibm,dc=com" -w password -x
I get the ldap_bind: Invalid credentials (49) error.
is this related to the "account" object class?
it seems that none of the openLdap tools such as ldapsearch,ldappasswd works for "account" object class.. is the syntax different for this type of class?
p.s. in my slapd.config for ACL I have
 access to *
           by * read

# sriram, People, ibm.com
dn: uid=sriram,ou=People,dc=ibm,dc=com
uid: sriram
cn: Sriram Krishnan
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
userPassword:: e2NyeXB0fSQxJC82bGVIazhGJEY3bHpuS1d2bi5UWmQuZ2o1TUhqLy4=
shadowLastChange: 13923
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 503
gidNumber: 503
homeDirectory: /export/home/sriram
gecos: Sriram Krishnan,SDSC,8585555555,8586666666

# fratbrother, People, ibm.com
dn: cn=fratbrother,ou=People,dc=ibm,dc=com
cn: fratbrother
sn: fratbrother
objectClass: top
objectClass: person
userPassword:: e1NTSEF9aXVxUkw1MlAvaS9XUkRkNHhuN0lEbUl3VnhhekRzV2s=

Looking for last minute shopping deals? Find them fast with Yahoo! Search.