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

Re: Installation openLDAP in Debian

Olivier wrote:
Hi Howard,

The directory structure under slapd.d is private/internal to slapd.
Forget it is even there. As far as you're concerned, it does not even exist.

Could you please concretly explain how you let say tune or add
rootdse operational attributes imediatly after having installed
a fresh openldap2.4 distribution without editing files ?

On a fresh installation that has not yet been configured:

slapadd -n0
dn: cn=config
cn: config
objectclass: olcglobal
olcRootDSE: /some/text/file

more simple : How you define or change the rootpw still without
editing files ?

slapadd -n0
dn: cn=config
objectClass: olcGlobal
cn: config

dn: olcDatabase={0}config,cn=config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcRootPW: MySecretPassword

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