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

Re: Accessing cn=config



Dave Horsfall wrote:
On Fri, 17 Feb 2006, William wrote:

I usually add a database in slapd.conf file :

database config
rootdn cn=config

The rootdn already defaults to cn=config, no need to specify it explicitly.

rootpw secret

search : ldapsearch -w secret -x -D cn=config -b cn=config

Thanks - that did the trick. It doesn't show up in GQ, but that's likely to be a GQ problem.


Related question: as a test, I changed olcConnMaxPending in cn=config, and although I was able to see the change, it was not stored in slapd.d/cn=config.ldif (not even when I shut down the server). Does something else need to be done?

Make sure you started slapd without any -f option, and with -F (or with slapd.d in the default location). The cn=config tree is always present, but if you started slapd using a slapd.conf file then no changes are saved.


--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/