[Date Prev][Date Next]
»Ø¸´: ldapsearch only works when binding as root after upgrade to 2.0.7
I suggest you first delete all the ACLs in slapd.conf, and test your
ldapsearch, then add the ACL one by one, may be you can find the real
problem , and you can add a ACL like below just try to test:
access to *
by self write
by * read
lucky :P) by China, X.D.Chen
·¢¼þÈË: Ian Macdonald <email@example.com>
ÊÕ¼þÈË: openldap-software@OpenLDAP.org <openldap-software@OpenLDAP.org>
ÈÕÆÚ: 2001Äê4ÔÂ10ÈÕ 14:52
Ö÷Ìâ: ldapsearch only works when binding as root after upgrade to 2.0.7
>After upgrading a production system today from OpenLDAP 1.2.9 to
>2.0.7, I discovered that I could no longer produce results from a
>simple ldapsearch as I could previously.
>For some reason, I now needed to bind as root to be able to view any
>entries in any capacity whatsoever, whereas I had previously only
>needed to do this to view privileged attributes. Attempting to bind
>anonymously would succeed, but my query would produce no results.
>I checked all my ACLs, but all was as it had been before. Even adding
>an explicit 'defaultaccess read' to slapd.conf didn't
>help. Downgrading back to 1.2.9, however, fixed the problem.
>Obviously, I'm missing something, but what? What kind of things should
>I be checking here?
>Ian Macdonald | Madness takes its toll.
>Senior System Administrator |
>Linuxcare, Inc. |
>Support for the Revolution |