[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Understanding dynamic configuration
- To: openldap-technical@openldap.org
- Subject: Understanding dynamic configuration
- From: Ori Bani <oribani@gmail.com>
- Date: Sun, 20 Jan 2013 10:59:34 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=gxiaWG/68Bcleb/Kar5mTc+XdCRUDfZvz5PxhGkqgks=; b=IeiqBV8LisU41d9d/6HkCJJ3KKy4Tl2rwrGl+wATSl7NRTYYlGhzWzeGiZiRxATORW NSdqHD1Y63TDv0GR4K+RMRKMD4VywZ48gaRRNPVQ4Z8UZ13HaiNK0jJoQsTLkavm9RX7 i0MLKDnz/knaA7oLcMVMBgLg0qMKePv0LWOejkQU4AlgCD3OK5bmO63Rxk8EztuAS5UP UzjMpn7rTnAG2xKBEwxcplQQ3ffbib+/ZrpdszWQlkUecZ2Wa+6d8K+UCMM/iY5P/t+Y fdo+b6coToqOIN7KYToQB7mPQ3yajn+J8fk7Rig7q1I/H92z9xDpynYJFITYrIEUU4co OVHQ==
Hello,
I'm struggling a little with understanding the dynamic configuration
system (sorry, but wanted to say my vote is for file-based config; the
way some of this config has been put into LDAP feels forced and
unnecessarily convoluted). Specifically, I'm having a hard time
getting my mind around how to manage and secure the configuration
database.
What's tripping me up is how to reconcile the separate ldif files that
contain global server-level configuation settings and config database
level settings with what I understand to be the recommended way to
manage those things -- using OpenLDAP client tools.
When starting a fresh server (CentOS6.3, installed from yum if that
matters here), it's not clear to me how I can bind using ldapadd in
order to modify global server settings. Right now, I suspect the
trouble is that the default databases have been created without a
olcRootPw. Do I have to violate best practices just long enough to
add that setting to the cn=config/olcDatabase={0}config.ldif file?
After that, do I bind to "cn=config" in order to change global
configuration settings using the base DN "cn=config"? (The olcRootDN
is in the config database ldif file is "cn=config")
To modify settings for the configuration database itself, do I also
use the same bind ("cn=config") but use a base DN of
"olcDatabase={0}config.ldif,cn=config"?
I'm also curious, many of the examples I see for things like
cn=Modules don't use the full DN, which I think is
cn=Modules,cn=config. Why is this?
I've read the website docs, the man pages, but I don't see any
information that addresses how to initially bind to and start
configuring the server in the Right Way. The quick start guide would
be a good place for that, but it still talks about slapd.conf.
Thanks for the help and for the good software