Thursday, March 24, 2022

[389-users] Re: 389ds for Dummies: How to get started with an empty 389ds server?

Hi Viktor,

thanks for the fast reply!

On 24.03.22 at 09:57 Viktor Ashirov wrote:

>> Question: How do I get content into the server initially? It seems I have an
>> empty server, but I found no documentation on what to do at this point.
> You have to create a backend and suffix first, because they are not
> created by default:
> dsconf localhost backend create --suffix="dc=example,dc=com" \
> --be-name userRoot --create-suffix --create-entries

OK, so this commands seems to work:

> 389server-6fff4cb6d8-kjjd4:/ # dsconf slapd-localhost backend create --suffix="dc=ojkastl,dc=de" --be-name userRoot --create-suffix
> The database was sucessfully created
> 389server-6fff4cb6d8-kjjd4:/ #

Now I get a result when searching with ldapsearch, it seems the "base" object
was created (using objectclasses top and domain).

And it seems like I can add entries using ldapadd. Hooray!

> Sorry about the missing docs. I'm working on a howto doc for running
> DS in OpenShift, hope to publish it soon.

That would be really great!

Kind Regards,

Johannes Kastl
Linux Consultant & Trainer
Tel.: +49 (0) 151 2372 5802

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg
GF: Ralph Dehner
Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

No comments:

Post a Comment