[nzlug] Bootstrapping LDAP

Daniel Pittman daniel at rimspace.net
Thu Jan 4 13:25:31 NZDT 2007


"Glen Ogilvie" <glen.ogilvie at gmail.com> writes:

G'day Glen.

> I think you need to add the initial records using slapadd, rather than
> ldapadd.  slapd should be stopped when you do this.

No -- the Debian install process creates a suitable account for
authenticating, typically 'cn=admin,dc=rimspace,dc=net' -- except for
your network. ;)

You can then use ldapadd or any other tool to add whatever records you
wish.

slapadd is useful but risky -- it doesn't do any integrity checks on the
data, allowing you to make a small typo and create disconnected records
and an entirely disrupted tree.

I advise against using that tool if you can avoid it.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/




More information about the NZLUG mailing list