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

Re: viewing cn=config

On 04/01/11 17:44 +0200, E.S. Rosenberg wrote:
I have a standard Debian install of slapd that was apparently automatically
upgraded/updated from using slapd.conf to using olc.
Now I would like to view settings before editing them so I tried some simple
ldapsearch queries but all the things I try return empty results.

How do I get to see the contents of cn=config?

Things I have tried:
ldapsearch -b cn=config  -D cn=admin,dc=mydomain -W
ldapsearch -x cn=config
ldapsearch -D cn=admin,dc=mydomain -W cn=config

You're probably missing the config backend. I added this to the
end of my slapd.conf before conversion to slapd.d:

database        config
rootdn          "cn=admin,dc=example,dc=org"

See the manpage for slapd-config for details.

Dan White