that fixed it! thanks for the pointer. what exactly do the pres,eq,approx and sub mean? well, sub you said was substring. eq, i'm sure is equal. approx sounds easy, but i couldn't seem to get ldapsearch to find any approximated names. and pres? thanks again. --mk "Peterman, Timothy P" wrote: > Mark, > > I experienced a similar problem once. I think I resolved > it by reindexing the database. > > Check your slapd.conf file to see if you are indexing > the attributes you want to search on, and that "sub" > (substring) is one of the indexes. For example, > > index sn,gn,cn,uid pres,eq,approx,sub > > Try re-indexing the database. See the following for > further information about indexing: > http://www.openldap.org/faq/data/cache/136.html > > Mark Krischer wrote: > > > > i've got a problem with ldapseach. it seems to find things only some of the time. > > > > for example, if i have an entry cn=Mark Krischer and do: > > > > ldapsearch 'cn=Mark*' > > > > i might get no entries returned. but if i do: > > > > ldapsearch 'cn=M*' > > > > this is by no mean standard for all my entries. some will work and some won't. > > > > i'll get the entry for cn=Mark Krischer > > > > this causes problems when doing a search in netscape address book. > > > > i also have this problem search for uid--i'm using pam_ldap for cyrus_sasl/imap. again, for certain users: > > > > ldapsearch 'uid=userid' > > > > works and for some it doesn't. and for those it doesn't > > > > ldapsearch 'uid=u*' > > > > does work! > > > > any help will be greatly appreciated. > > > > --mk > > -- > Tim Peterman - Unix & Web Server Administration > Lockheed Martin NE&SS-M/EIS, Moorestown, NJ
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature